This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: AW: problem with synth. target: error 38
- From: Alexander Neundorf <neundorf at kde dot org>
- To: ecos-discuss at ecos dot sourceware dot org
- Cc: "Andrew Lunn" <andrew at lunn dot ch>
- Date: Sun, 21 Nov 2004 21:19:47 +0100
- Subject: Re: AW: [ECOS] problem with synth. target: error 38
- References: <5A8A17126B73AC4C83968F6C4505E3C50155F0C4@JO-EX01.JENOPTIK.NET>
- Reply-to: neundorf at kde dot org
On Friday 19 November 2004 09:58, Neundorf, Alexander wrote:
> ...
>
> > -----Ursprüngliche Nachricht-----
> > Von: ecos-discuss-owner@ecos.sourceware.org
> > [mailto:ecos-discuss-owner@ecos.sourceware.org]Im Auftrag von Andrew
> > Lunn
> > Betreff: Re: [ECOS] problem with synth. target: error 38
> > User the source luke....
>
> Well, I did, at least I tried.
>
> > linux-2.6.9/arch/i386/kernel/sys_i386.c: sys_ipc()
> >
> > The default case for the switch returns -ENOSYS so first check you are
> > passing the correct call parameter. However, what i suspect your real
> > problem is, is that the syscall does not take one parameter as you
> > have coded, but actually 6.
> >
> > Andrew
>
> Well, glibc uses extern int __syscall_ipc(), but I didn't find the
> implementation of __syscall_ipc in the glibc sources, neither in my linux
> 2.4.22 sources, google also didn't help. Here's the link:
> http://world.std.com/~slanning/asm/syscall_list.html#note117
>
> Maybe I used the IPCOP definitions from a wrong file...
>
> Bye
> Alex
Finally I found something in uclibc, there syscall5 is used, so no sixth
argument. Seems to work now :-)
Bye
Alex
--
Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de
Home: neundorf@kde.org - http://www.kde.org
alex@neundorf.net - http://www.neundorf.net
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss