This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu 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]

glibc-2.1.1 with LinuxPPC.



I tried compiling glibc-2.1.1 with and egcs-1.1.2 powerpc-linux
cross-compiler.  The kernel headers are from the linux-2.2.5 kernel.

It barfed during the crypt build becuase it couldn't find libc-lock.h.
I did a 'find' and saw that there are 3 versions of this file in the
glibc source tree.  Which one is it looking for and how do I fix the
bug.

Should I be using an earlier version of glibc for LinuxPPC 2.2.x kernels
?  Maybe a 2.0 version ?

Thanks,
Brendan Simon.

Here is the tail of the error log.

make  -C shadow others
make[2]: Nothing to be done for `others'.
make  -C md5-crypt others
powerpc-linux-gcc ../crypt/sysdeps/unix/crypt_util.c -c -O -Wall
-Winline -Wstrict-prototypes -Wwrite-strings -g      -I../include -I.
-I/usr/local/src/gnu-tools/build-powerpc-linux-glibc-2.1.1/md5-crypt
-I.. -I../libio
-I/usr/local/src/gnu-tools/build-powerpc-linux-glibc-2.1.1
-I../sysdeps/powerpc/elf -I../crypt/sysdeps/unix
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc
-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
-I../sysdeps/posix -I../sysdeps/powerpc -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic  -nostdinc -isystem
/usr/local/egcs/lib/gcc-lib/powerpc-linux/egcs-2.91.66/include -isystem
/usr/local/src/Linux/embedded-linux-2.2.5/include -D_LIBC_REENTRANT
-include ../include/libc-symbols.h     -o
/usr/local/src/gnu-tools/build-powerpc-linux-glibc-2.1.1/md5-crypt/crypt_util.o

../crypt/sysdeps/unix/crypt_util.c:268: libc-lock.h: No such file or
directory
make[2]: ***
[/usr/local/src/gnu-tools/build-powerpc-linux-glibc-2.1.1/md5-crypt/crypt_util.o]
Error 1
make[1]: *** [md5-crypt/others] Error 2
make: *** [all] Error 2




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