[Avila] Problem Compiling snapgear-3.3.0-avila.tar...
Tim Harvey
tim_harvey at yahoo.com
Mon Feb 5 13:46:18 EST 2007
Fawad,
I have no experience with uClibc but in the case of glibc you cannot build
snapgear with a 'recent' gcc version (ie 3.4.4 as in your case) - see my post a
week or so ago about this. Your uClibc issue may be the same issue.
For glibc at least, you'll need the arm-linux-tools-20031127 version thats on
snapgear's download site as well as the Gateworks BSP. The issue here is that
snapgear includes its own very old glibc (v2.2.5). I would love to figure out
how to build snapgear with an external glibc (ie, use the toolchains glibc) but
have not figured this out yet. You can select no libc but then you can't build
any userland apps.
Tim
--- Fawad Nazir <fawad.nazir at gmail.com> wrote:
> Hi All,
>
> I am having problem while trying to compile snapgear-3.3.0-avila.tar.
>
> My build env is:
>
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$ uname -a
> Linux fawad-desktop 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC
> 2006 i686 GNU/Linux
>
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$ arm-linux-gcc -v
> Reading specs from /usr/local/lib/gcc/arm-linux/3.4.4/specs
> Configured with: ../configure --target=arm-linux --disable-shared
> --prefix=/usr/local
> --with-headers=/home/gerg/new-wave.ixdp425/linux-2.4.x/include
> --with-gnu-as --with-gnu-ld --enable-multilib
> Thread model: posix
> gcc version 3.4.4
>
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$ arm-linux-ld -v
> GNU ld version 2.16
>
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$ xscale-elf-gcc -v
> Reading specs from
>
/home/fawad/Levo/GW15002_Rev_0.6/Source/H-i686-pc-linux-gnulibc2.2/bin/../lib/gcc-lib/xscale-elf/RedHat-3.3/specs
> Configured with:
> /es/build/intel-xscale/xscale-030422/i686-pc-linux-gnulibc2.2/src/configure
> -v --host=i686-pc-linux-gnulibc2.2 --build=i686-pc-linux-gnulibc2.2
> --prefix=/opt/redhat/xscale-030422
> --exec-prefix=/opt/redhat/xscale-030422/H-i686-pc-linux-gnulibc2.2
> --target=xscale-elf --enable-languages=c,c++
> Thread model: single
> gcc version RedHat-3.3 20021213
>
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$ xscale-elf-ld -v
> GNU ld version 2.13-xscale-030422 20021214
> fawad at fawad-desktop:~/Levo/GW15002_Rev_0.6/Source$
>
> I tried to compile snapgear-3.3.0-avila.tar using both glibc and
> uClibc but in both the cases i get different errors.
>
> In the case of uClibc, the following is the error:
>
> make[2]: Leaving directory `/usr/src/snapgear/lib'
> make[2]: Entering directory `/usr/src/snapgear/lib/libg'
> for i in gtermcap ; do make -C $i || exit gtermcap ; done
> make[3]: Entering directory `/usr/src/snapgear/lib/libg/gtermcap'
> ucfront-gcc arm-linux-gcc -mbig-endian -O1 -fno-common -fno-builtin
> -Wall -Dlinux -D__linux__ -Dunix -DEMBED -c -o termcap.o termcap.c
> In file included from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/types.h:30:24: bits/types.h: No
> such file or directory
> In file included from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/types.h:34: error: parse error
> before "u_char"
> /usr/src/snapgear/uClibc/include/sys/types.h:35: error: parse error
> before "u_short"
> /usr/src/snapgear/uClibc/include/sys/types.h:36: error: parse error
> before "u_int"
> /usr/src/snapgear/uClibc/include/sys/types.h:37: error: parse error
> before "u_long"
> /usr/src/snapgear/uClibc/include/sys/types.h:38: error: parse error
> before "quad_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:39: error: parse error
> before "u_quad_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:40: error: parse error
> before "fsid_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:45: error: parse error
> before "loff_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:49: error: parse error
> before "ino_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:61: error: parse error
> before "dev_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:66: error: parse error
> before "gid_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:71: error: parse error
> before "mode_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:76: error: parse error
> before "nlink_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:81: error: parse error
> before "uid_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:87: error: parse error
> before "off_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:99: error: parse error
> before "pid_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:104: error: parse error
> before "id_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:109: error: parse error
> before "ssize_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:115: error: parse error
> before "daddr_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:116: error: parse error
> before "caddr_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:122: error: parse error
> before "key_t"
> In file included from /usr/src/snapgear/uClibc/include/sys/types.h:132,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/time.h:76: error: parse error before
> "time_t"
> /usr/src/snapgear/uClibc/include/time.h:92: error: parse error before
> "clockid_t"
> /usr/src/snapgear/uClibc/include/time.h:104: error: parse error before
> "timer_t"
> In file included from /usr/src/snapgear/uClibc/include/sys/types.h:212,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/endian.h:37:25: bits/endian.h: No
> such file or directory
> In file included from /usr/src/snapgear/uClibc/include/sys/types.h:215,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/select.h:31:25: bits/select.h: No
> such file or directory
> /usr/src/snapgear/uClibc/include/sys/select.h:34:25: bits/sigset.h: No
> such file or directory
> In file included from /usr/src/snapgear/uClibc/include/sys/types.h:215,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/select.h:38: error: parse error
> before "sigset_t"
> In file included from /usr/src/snapgear/uClibc/include/sys/select.h:43,
> from /usr/src/snapgear/uClibc/include/sys/types.h:215,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/time.h:120: error: parse error before
> "__time_t"
> /usr/src/snapgear/uClibc/include/time.h:122: error: parse error before '}'
> token
> /usr/src/snapgear/uClibc/include/sys/select.h:45:23: bits/time.h: No
> such file or directory
> In file included from /usr/src/snapgear/uClibc/include/sys/types.h:215,
> from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/select.h:65: error:
> `__FD_SETSIZE' undeclared here (not in a function)
> In file included from /usr/src/snapgear/uClibc/include/stdlib.h:317,
> from termcap.c:36:
> /usr/src/snapgear/uClibc/include/sys/types.h:230: error: parse error
> before "blkcnt_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:234: error: parse error
> before "fsblkcnt_t"
> /usr/src/snapgear/uClibc/include/sys/types.h:238: error: parse error
> before "fsfilcnt_t"
> In file included from termcap.c:45:
> /usr/src/snapgear/uClibc/include/unistd.h:175:28: bits/posix_opt.h: No
> such file or directory
> In file included from termcap.c:45:
> /usr/src/snapgear/uClibc/include/unistd.h:240: error: parse error
> before "intptr_t"
> /usr/src/snapgear/uClibc/include/unistd.h:247: error: parse error
> before "socklen_t"
> /usr/src/snapgear/uClibc/include/unistd.h:284: error: parse error before
> "lseek"
> /usr/src/snapgear/uClibc/include/unistd.h:284: error: parse error
> before "__off_t"
> /usr/src/snapgear/uClibc/include/unistd.h:304: error: parse error before
> "read"
> /usr/src/snapgear/uClibc/include/unistd.h:307: error: parse error before
> "write"
> /usr/src/snapgear/uClibc/include/unistd.h:372: error: parse error
> before "ualarm"
> /usr/src/snapgear/uClibc/include/unistd.h:372: error: parse error
> before "__value"
> /usr/src/snapgear/uClibc/include/unistd.h:377: error: parse error
> before "__useconds"
> /usr/src/snapgear/uClibc/include/unistd.h:387: error: parse error
> before "__uid_t"
> /usr/src/snapgear/uClibc/include/unistd.h:392: error: parse error
> before "__uid_t"
> /usr/src/snapgear/uClibc/include/unistd.h:397: error: parse error
> before "__uid_t"
> /usr/src/snapgear/uClibc/include/unistd.h:478:27: bits/confname.h: No
> such file or directory
> /usr/src/snapgear/uClibc/include/unistd.h:496: error: parse error
> before "getpid"
> /usr/src/snapgear/uClibc/include/unistd.h:499: error: parse error
> before "getppid"
> /usr/src/snapgear/uClibc/include/unistd.h:504: error: parse error
> before "getpgrp"
> /usr/src/snapgear/uClibc/include/unistd.h:514: error: parse error
> before "__getpgid"
> /usr/src/snapgear/uClibc/include/unistd.h:514: error: parse error before
> "__pid"
> /usr/src/snapgear/uClibc/include/unistd.h:523: error: parse error before
> "__pid"
> /usr/src/snapgear/uClibc/include/unistd.h:558: error: parse error
> before "setsid"
> /usr/src/snapgear/uClibc/include/unistd.h:566: error: parse error
> before "getuid"
> /usr/src/snapgear/uClibc/include/unistd.h:569: error: parse error
> before "geteuid"
> /usr/src/snapgear/uClibc/include/unistd.h:572: error: parse error
> before "getgid"
> /usr/src/snapgear/uClibc/include/unistd.h:575: error: parse error
> before "getegid"
> /usr/src/snapgear/uClibc/include/unistd.h:580: error: parse error
> before "__gid_t"
> /usr/src/snapgear/uClibc/include/unistd.h:586: error: parse error before
> "__uid"
> /usr/src/snapgear/uClibc/include/unistd.h:591: error: parse error
> before "__ruid"
> /usr/src/snapgear/uClibc/include/unistd.h:596: error: parse error before
> "__uid"
> /usr/src/snapgear/uClibc/include/unistd.h:603: error: parse error before
> "__gid"
> /usr/src/snapgear/uClibc/include/unistd.h:608: error: parse error
> before "__rgid"
> /usr/src/snapgear/uClibc/include/unistd.h:613: error: parse error before
> "__gid"
> /usr/src/snapgear/uClibc/include/unistd.h:638: error: parse error before
> "fork"
> /usr/src/snapgear/uClibc/include/unistd.h:645: error: parse error before
> "vfork"
> /usr/src/snapgear/uClibc/include/unistd.h:685: error: parse error
> before "tcgetpgrp"
> /usr/src/snapgear/uClibc/include/unistd.h:688: error: parse error
> before "__pid_t"
> /usr/src/snapgear/uClibc/include/unistd.h:707:26: bits/getopt.h: No
> such file or directory
> /usr/src/snapgear/uClibc/include/unistd.h:795: error: parse error
> before "__off_t"
> /usr/src/snapgear/uClibc/include/unistd.h:811: error: parse error
> before "__off_t"
> /usr/src/snapgear/uClibc/include/unistd.h:842: error: parse error
> before "__delta"
> /usr/src/snapgear/uClibc/include/unistd.h:877: error: parse error
> before "__off_t"
> In file included from termcap.c:48:
> /usr/src/snapgear/uClibc/include/fcntl.h:33:24: bits/fcntl.h: No such
> file or directory
> In file included from termcap.c:48:
> /usr/src/snapgear/uClibc/include/fcntl.h:92: error: parse error before
> "__mode_t"
> In file included from termcap.c:52:
> /usr/src/snapgear/uClibc/include/stdio.h:72:31: bits/uClibc_stdio.h:
> No such file or directory
> In file included from termcap.c:52:
> /usr/src/snapgear/uClibc/include/stdio.h:81: error: parse error before
> "fpos_t"
> /usr/src/snapgear/uClibc/include/stdio.h:131:28: bits/stdio_lim.h: No
> such file or directory
> /usr/src/snapgear/uClibc/include/stdio.h:693: error: parse error before
> "fpos_t"
> /usr/src/snapgear/uClibc/include/stdio.h:698: error: parse error
> before '*' token
> In file included from termcap.c:53:
> /usr/src/snapgear/uClibc/include/sys/ioctl.h:27:25: bits/ioctls.h: No
> such file or directory
> /usr/src/snapgear/uClibc/include/sys/ioctl.h:30:30:
> bits/ioctl-types.h: No such file or directory
> In file included from termcap.c:57:
> /usr/src/snapgear/uClibc/include/termios.h:40:26: bits/termios.h: No
> such file or directory
> In file included from termcap.c:57:
> /usr/src/snapgear/uClibc/include/termios.h:49: error: parse error
> before "cfgetospeed"
> /usr/src/snapgear/uClibc/include/termios.h:52: error: parse error
> before "cfgetispeed"
> /usr/src/snapgear/uClibc/include/termios.h:55: error: parse error
> before "speed_t"
> /usr/src/snapgear/uClibc/include/termios.h:58: error: parse error
> before "speed_t"
> /usr/src/snapgear/uClibc/include/termios.h:62: error: parse error
> before "speed_t"
> termcap.c:264: error: parse error before "ospeed"
> termcap.c:264: warning: type defaults to `int' in declaration of `ospeed'
> termcap.c:264: warning: data definition has no type or storage class
> make[3]: *** [termcap.o] Error 1
> make[3]: Leaving directory `/usr/src/snapgear/lib/libg/gtermcap'
> exit: 1: Illegal number: gtermcap
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/snapgear/lib/libg'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/snapgear/lib'
> make: *** [subdirs] Error 1
>
>
> and in the case of glibC, the following is the error.
>
> when i run make dep:
>
> fawad at fawad-desktop:/usr/src/snapgear$ make dep
> make ARCH=arm CROSS_COMPILE=arm-linux- -C linux-2.6.x dep
> make[1]: Entering directory `/usr/src/snapgear/linux-2.6.x'
> *** Warning: make dep is unnecessary now.
> make[1]: Leaving directory `/usr/src/snapgear/linux-2.6.x'
>
> when i run make i get this error:
>
> make[5]: Entering directory `/usr/src/snapgear/glibc/csu'
> arm-linux-gcc -mbig-endian ../sysdeps/unix/sysv/linux/init-first.c -c
> -DEMBED -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
> -I../include -I. -I/usr/src/snapgear/glibc/build/csu -I.. -I../libio
> -I/usr/src/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
> /usr/local/lib/gcc/arm-linux/3.4.4/include -isystem
> /usr/src/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -o
> /usr/src/snapgear/glibc/build/csu/init-first.o
> In file included from ../include/bits/string2.h:1,
> from ../string/string.h:360,
> from ../include/string.h:49,
> from ../sysdeps/generic/ldsodefs.h:28,
> from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
> from ../sysdeps/unix/sysv/linux/init-first.c:32:
> ../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
> arm-linux-gcc -mbig-endian ../sysdeps/generic/libc-start.c -c -DEMBED
> -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
> -I../include -I. -I/usr/src/snapgear/glibc/build/csu -I.. -I../libio
> -I/usr/src/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
> /usr/local/lib/gcc/arm-linux/3.4.4/include -isystem
> /usr/src/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -o
> /usr/src/snapgear/glibc/build/csu/libc-start.o
> In file included from ../include/bits/string2.h:1,
> from ../string/string.h:360,
> from ../include/string.h:49,
> from ../sysdeps/generic/ldsodefs.h:28,
> from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
> from ../sysdeps/generic/libc-start.c:21:
> ../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
> arm-linux-gcc -mbig-endian set-init.c -c -DEMBED -O2 -Wall -Winline
> -Wstrict-prototypes -Wwrite-strings -I../include -I.
> -I/usr/src/snapgear/glibc/build/csu -I.. -I../libio
> -I/usr/src/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
> /usr/local/lib/gcc/arm-linux/3.4.4/include -isystem
> /usr/src/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -o
> /usr/src/snapgear/glibc/build/csu/set-init.o
> arm-linux-gcc -mbig-endian ../sysdeps/unix/sysv/linux/arm/sysdep.S -c
> -I../include -I. -I/usr/src/snapgear/glibc/build/csu -I.. -I../libio
> -I/usr/src/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
> /usr/local/lib/gcc/arm-linux/3.4.4/include -isystem
> /usr/src/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER
> -I/usr/src/snapgear/glibc/build/csu/. -o
> /usr/src/snapgear/glibc/build/csu/sysdep.o
> arm-linux-gcc -mbig-endian version.c -c -DEMBED -O2 -Wall -Winline
> -Wstrict-prototypes -Wwrite-strings -I../include -I.
> -I/usr/src/snapgear/glibc/build/csu -I.. -I../libio
> -I/usr/src/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
> /usr/local/lib/gcc/arm-linux/3.4.4/include -isystem
> /usr/src/snapgear/linux-2.6.x/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h -DHAVE_INITFINI -o
> /usr/src/snapgear/glibc/build/csu/version.o
> In file included from version.c:32:
> /usr/src/snapgear/glibc/build/csu/version-info.h:1: error: missing
> terminating " character
> /usr/src/snapgear/glibc/build/csu/version-info.h:2: error: missing
> terminating " character
> /usr/src/snapgear/glibc/build/csu/version-info.h:3: error: missing
> terminating " character
> /usr/src/snapgear/glibc/build/csu/version-info.h:4: error: missing
> terminating " character
> version.c:36: error: parse error before string constant
> make[5]: *** [/usr/src/snapgear/glibc/build/csu/version.o] Error 1
> make[5]: Leaving directory `/usr/src/snapgear/glibc/csu'
> make[4]: *** [csu/subdir_lib] Error 2
> make[4]: Leaving directory `/usr/src/snapgear/glibc'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/src/snapgear/glibc/build'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/src/snapgear/glibc'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/src/snapgear/lib'
> make: *** [subdirs] Error 1
>
> Please let me know where i am doing wrong in this case.
> --
> Fawad Nazir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: avila-unsubscribe at lists.unixstudios.net
> For additional commands, e-mail: avila-help at lists.unixstudios.net
>
>
More information about the Avila
mailing list