[uClibc]Errors in compiling mount and some general question on compilation

Stanley stanley at alumni.com
Wed Jun 6 01:27:52 UTC 2001


There exists some errors in compiling mount, it shows the following error. I can't solve it because i don;t seem to understand what it is trying to tell.

Also why does compiling of libc uses sparc-linux-gcc while libm uses sparc-uClibc-gcc ( the wrapper from extra/gcc-uClibc) ? 

thanks
stanley
------- Errors---------
sparc-linux-strip -x -R .note -R .comment lchown.o

sparc-linux-gcc -Wall -Os -fno-builtin -nostdinc -I../../../../include -I/opt/uClinux-LEON/tools/lib/gcc-lib/sparc-linux/2.95.3/include -I. -D_LIBC -DNDEBUG -DL_lseek syscalls.c -c -o lseek.o

sparc-linux-strip -x -R .note -R .comment lseek.o

sparc-linux-gcc -Wall -Os -fno-builtin -nostdinc -I../../../../include -I/opt/uClinux-LEON/tools/lib/gcc-lib/sparc-linux/2.95.3/include -I. -D_LIBC -DNDEBUG -DL_getpid syscalls.c -c -o getpid.o

sparc-linux-strip -x -R .note -R .comment getpid.o

sparc-linux-gcc -Wall -Os -fno-builtin -nostdinc -I../../../../include -I/opt/uClinux-LEON/tools/lib/gcc-lib/sparc-linux/2.95.3/include -I. -D_LIBC -DNDEBUG -DL_mount syscalls.c -c -o mount.o

syscalls.c: In function `mount':

syscalls.c:195: matching constraint references invalid operand number

syscalls.c:195: warning: `__res' might be used uninitialized in this function

make[3]: *** [mount.o] Error 1

make[3]: Leaving directory `/opt/uClinux-LEON/uClibc/libc/sysdeps/linux/common'

make[2]: *** [_dir_common] Error 2

make[2]: Leaving directory `/opt/uClinux-LEON/uClibc/libc/sysdeps/linux'

make[1]: *** [_dir_linux] Error 2

make[1]: Leaving directory `/opt/uClinux-LEON/uClibc/libc/sysdeps'

make: *** [_dir_sysdeps] Error 2




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20010606/46be9078/attachment-0001.htm 


More information about the uClibc mailing list