This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

initgroups.c: parse error before "__FUNCTION__"


Hi all
I'm in the process of compiling the snapgear 2.4.x kernel for a IXP425
processor and I'm using a toolchain I built with crosstool-0.42.
Previous to this I had a problem with "short-load-bytes" which I fixed
by simply changing -mshort-load-bytes in the Makefile to
-malignment-traps and that seemed to have worked. Now however I have
the following problem, I doubt they're related but I mentioned it just
in case:


make[4]: Entering directory `/home/satvika/stareast/snapgear/snapgear/glibc/grp' arm-linux-gcc -mbig-endian initgroups.c -c -DEMBED -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -I../include -I. -I/home/satvika/stareast/snapgear/snapgear/glibc/build/grp -I.. -I../libio -I/home/satvika/stareast/snapgear/snapgear/glibc/build -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../ncurses/sysdeps/unix/sysv/linux -I../ncurses/sysdeps/unix/sysv -I../ncurses/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /opt/crosstool/gcc-3.4.4-glibc-2.3.3/arm-linux/lib/gcc/arm-linux/3.4.4//include -isystem /home/satvika/stareast/snapgear/snapgear/linux-2.4.x/include -isystem /home/satvika/stareast/snapgear/snapgear -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/satvika/stareast/snapgear/snapgear/glibc/build/grp/initgroups.o In file included from ../include/bits/string2.h:1, from ../string/string.h:360, from ../include/string.h:49, from initgroups.c:24: ../string/bits/string2.h:80: warning: `packed' attribute ignored ../string/bits/string2.h:81: warning: `packed' attribute ignored ../string/bits/string2.h:82: warning: `packed' attribute ignored ../string/bits/string2.h:83: warning: `packed' attribute ignored ../string/bits/string2.h:84: warning: `packed' attribute ignored ../string/bits/string2.h:85: warning: `packed' attribute ignored ../string/bits/string2.h:86: warning: `packed' attribute ignored initgroups.c: In function `internal_getgrouplist': initgroups.c:179: error: parse error before "__FUNCTION__" make[4]: *** [/home/satvika/stareast/snapgear/snapgear/glibc/build/grp/initgroups.o] Error 1 make[4]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/glibc/grp' make[3]: *** [grp/subdir_lib] Error 2 make[3]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/glibc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/glibc/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/satvika/stareast/snapgear/snapgear/lib' make: *** [subdirs] Error 1

The toolchain I built was GCC-3.4.4 and glibc-2.3.3, could the above
error be related??
Thanks in advance


-------------------------------------------------------------------------------------------------------------------------------------------- When you say 'I wrote a program that crashed Windows', people just stare at you blankly and say 'Hey, I got those with the system, *for free*'. (L. Torvalds) --------------------------------------------------------------------------------------------------------------------------------------------

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]