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] |
Hi, I am trying to cross-build to powerpc glibc (tried 2.2.2 and 2.2.4) using a gnu 2.95.3 powerpc 'bootstrap' compiler on Solaris 2.6. Al scripts I tried resulted in problems. The current problem I have is this one: nsswitch.c:76: `LIBNSS_FILES_SO' undeclared here (not in a function) nsswitch.c:76: initializer element is not constant make[2]: *** [/home/jjboor/compiler/bill-build/build-glibc/nss/nsswitch.o] Error 1 make[2]: Leaving directory `/home/jjboor/compiler/bill-build/glibc-2.2.2/nss' make[1]: *** [nss/subdir_lib] Error 2 make[1]: Leaving directory `/home/jjboor/compiler/bill-build/glibc-2.2.2' make: *** [all] Error 2 This is a result of this code in nsswitch.c: #if !defined DO_STATIC_NSS || defined SHARED /* String with revision number of the shared object files. */ static const char *const __nss_shlib_revision = LIBNSS_FILES_SO + 15; #endif DO_STATIC_NSS is not defined, SHARED is defined by configure configuring with these options: CC=powerpc-linux-gcc AR=powerpc-linux-ar RANLIB=powerpc-linux-ranlib ../glibc-2.2.2/configure --host=powerpc-linux --prefix=/home/jjboor/local --enable-add-ons=linuxthreads --with-headers=/home/jjboor/local/powerpc-linux/include I saw in the cross FAQ more people had this problem but couldn't find an answer. Does somebody know how to circumvent this Or what LIBNSS_FILES_SO should be?? When I set it to 'libnss_files.a' make comnplains in the end it doens't know how to build libnss_files.a thanks for any answer jj ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |