[uClibc]Question concerning 'mipsel' support...
Steven J. Hill
sjhill at cotw.com
Thu Jan 31 17:59:27 UTC 2002
Erik Andersen wrote:
>
> --- uClibc-0.9.8/include/sys/syscall.h Wed Jun 27 14:22:27 2001
> +++ uClibc-0.9.8-patched/include/sys/syscall.h Mon Jan 28 14:36:22 2002
> @@ -22,7 +22,9 @@
> /* This file provides us with our own private copy of the _syscall[0-5] macros.
> * This is important, since on some arches (such as i386) the kernel's macros
> * don't handle things like PIC code, so we can't use them. */
> +#if !defined(__mips__)
> #include <bits/syscalls.h>
> +#endif
>
> Sorry, no. bits/syscalls.h is supposed to be auto generated at
> compile time. If you look at the headers target in
> uClibc/libc/sysdeps/linux/mipsel/Makefile you should see where
> this file is created. Is this routine not working for you? If
> not, lets fix that up, since that is the cause of the problem.
> The other stuff you changed were merely secondary symptoms of
> bits/syscalls.h having gone missing,
>
I did a grep through the entire tree (latest snapshot) for 'syscalls'
and found only the file 'libc/sysdeps/linux/sh/bits/syscalls.h' exists
and that none of the makefiles in any of the other architectures create
'bits/syscalls.h'. What am I missing here? The only file that gets
generated is 'bits/syscall.h'.
-Steve
--
Steven J. Hill - Embedded SW Engineer
More information about the uClibc
mailing list