This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first use in this function)
- From: Sasha Sirotkin <buildroot at browserseal dot com>
- To: crossgcc at sourceware dot org
- Date: Wed, 31 Mar 2010 10:43:03 +0300
- Subject: libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first use in this function)
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.
Attachment:
config.bz2
Description: application/bzip
--
For unsubscribe information see http://sourceware.org/lists.html#faq