libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first use in this function)
Sasha Sirotkin
buildroot@browserseal.com
Wed Mar 31 07:43:00 GMT 2010
I'm trying to compile crosstoll-ng for ARM and I'm getting the following
compilation error
[ALL ] CC libc/sysdeps/linux/arm/syscall.os
[ALL ] libc/sysdeps/linux/arm/syscall.c: In function 'syscall':
[ERROR] libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall'
undeclared (first use in this function)
[ERROR] libc/sysdeps/linux/arm/syscall.c:28: error: (Each undeclared
identifier is reported only once
[ERROR] libc/sysdeps/linux/arm/syscall.c:28: error: for each function
it appears in.)
[ERROR] make[1]: *** [libc/sysdeps/linux/arm/syscall.os] Error 1
[ALL ] make[1]: *** Waiting for unfinished jobs....
[ALL ] make[1]: Leaving directory
`/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-uclibcgnueabi/build/build-libc'
[ERROR] Build failed in step 'Installing C library'
[ERROR] Error happened in
'/unpackaged/crosstool-ng-1.6.1/scripts/functions' in function
'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from
'/unpackaged/crosstool-ng-1.6.1/scripts/build/libc/uClibc.sh' at line #
127 in function 'do_libc'
[ERROR] called from
'/unpackaged/crosstool-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562
in function 'main'
[ERROR] Look at
'/unpackaged/x-tools/arm-unknown-linux-uclibcgnueabi/build.log' for more
info on this error.
[ERROR] (elapsed: 14:30.73)
make: *** [build] Error 2
Config file attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.bz2
Type: application/x-bzip
Size: 2164 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20100331/2a359d3c/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list