[uClibc]m68k elf compilation problem

David McCullough davidm at lineo.com
Wed Jun 27 22:42:51 UTC 2001


Jivin Erik Andersen lays it down ...
> On Wed Jun 27, 2001 at 05:56:41PM +0100, Ian Leonard wrote:
> > Hello,
> > 
> > I have downloaded the latest CSV for uClibc and attempted to compile it.
> > The output is below. The code has changed since the last time it was compiled.
> > I notice that the missing file (syscalls.h) is available for the arm and i386.
> > 
> > Is it absence in the m68k tree and error or am I missing something.
> 
> Yes, this file is missing for several arches at the moment.  I recently added
> it in order to get PIC code working on x86 and to further insulate the library
> from changes in kernel headers.  Basically you need to grab the file
> linux/include/asm-<arch>/unistd.h and copy it to
> uClibc/libc/sysdeps/linux/<arch>/bits/syscalls.h.  Then snip out pretty much
> everything except the _syscall[0-5] macros (just follow the example of the x86
> and arm code), and then adjust the asm code to support PIC (if any adjustment
> turns out to be needed).
> 
> Patches for not yet fixed arches gladly accepted,

Bummer,  I fixed that about a week ago and forgot to check it in :-(
It should be there now.

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (Where Open Meets Smart)
davidm at lineo.com   Fx: +61 7 3891 3630  825 Stanley St., W'gabba QLD 4102, Oz





More information about the uClibc mailing list