This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

how is gnu/lib-names.h populated?


I am hoping that one of the glibc developers can help me understand
the glibc configuration process, so that I can debug a build issue I
am experiencing.

I am trying to build glibc from a solaris 2.8 host for a ppc750
target.  I am using gcc 3.3.1 and glibc 2.3.2.

I believe I am running into
http://sources.redhat.com/bugzilla/show_bug.cgi?id=124

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.

Can someone walk me through how the glibc configuration process would
create gnu/lib-names.h.  This should help me to figure out what
'tools' are broken.


My gnu/lib-names.h file is 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 */
--------------------


which leads to:

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'
_______________________________________________


Thanks,
Cam


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