This is the mail archive of the crossgcc@sources.redhat.com 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] |
I would strongly suggest adding/substituting the crossgcc mailing list to your audience, since you are using crosstool. On Thu, 2004-05-20 at 16:14, Cameron Schaus wrote: > I am using crosstool-0.28-rc4 to try and build a toolchain from > solaris 2.8 for a ppc750 target. I have configured gcc 3.3.1 and > glibc 2.3.2. I have made minor modifications to the crosstool script > to accomidate the crappy solaris tools (sh, grep, egrep). > > Once I push past the 'echo' problem in my previous post, the build > dies in glibc. Initially I tried to build glibc 2.2.2 with gcc > 2.95.3, and the glibc build died in the exact same place. I thought a > newer version of glibc may help, but no dice. > > A poster indicated that gnu/lib-names.h should contain this > definition, but the version generated is essentially empty. > > gnu/lib-names.h > -------------------- > /* This file is automatically generated. > It defines macros to allow user program to find the shared > library files which come as part of GNU libc. */ > #ifndef __GNU_LIB_NAMES_H > #define __GNU_LIB_NAMES_H 1 > > > #endif /* gnu/lib-names.h */ > -------------------- > > http://sources.redhat.com/ml/glibc-linux/2001-q2/msg00017.html > indicates that some 'tools may be broken', but I'm not sure what tools > are being referred to, and what they are supposed to do. > > http://www.geocrawler.com/archives/3/360/1998/1/0/1999655/ > mentions some other hints, but I was unable to track down the problem. > > Has anyone see this before, or know how to solve this problem? > > > Full build output can be posted upon request. > > make -C nss subdir_lib > make[1]: Entering directory `/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/glibc-2.3.2/nss' > powerpc-750-linux-gnu-gcc nsswitch.c -c -std=gnu99 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wa,-mppc -mpowerpc -mnew-mnemonics -I../include -I. -I/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/nss -I.. -I../libio -I/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc -I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../linuxthreads/sysdeps/unix/sysv/linux/powerpc -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/powerpc/powerpc32 -I../linuxthreads/sysdeps/powerpc -I../sysdeps/unix/sysv/linux/powerpc/powerpc32 -I../sysdeps/unix/sysv/linux/powerpc -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/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc32/fpu -I../sysdeps/powerpc/powerpc32 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /cc/bts/base/home/crosstool-0.28-rc4/results2/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/lib/gcc-lib/powerpc-750-linux-gnu/3.3.1/include -isystem /cc/bts/base/home/crosstool-0.28-rc4/results2/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/powerpc-750-linux-gnu/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/nss/nsswitch.o > nsswitch.c:77: error: `LIBNSS_FILES_SO' undeclared here (not in a function) > make[1]: *** [/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/build-glibc/nss/nsswitch.o] Error 1 > make[1]: Leaving directory `/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/glibc-2.3.2/nss' > make: *** [nss/subdir_lib] Error 2 > make: Leaving directory `/cc/bts/base/home/crosstool-0.28-rc4/build/powerpc-750-linux-gnu/gcc-3.3.1-glibc-2.3.2/glibc-2.3.2' > _______________________________________________ > etux mailing list > etux@embeddedtux.org > http://www.embeddedtux.org/mailman/listinfo/etux ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |