This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AW: problem with synth. target: error 38


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]