Hey Guys,
Throwing this out there in case anyone has any ideas. I'm following the
current Cross LFS instructions (generally) to attempt to build multilib
on a PowerPC G5 running Mac OS X. (I added a patch for ppc multilib just
now to the patches repo for that.) I can get up to the glibc-headers
section before hitting an error.
First of all, I altered slightly the glibc headers instructions to use
with ppc multilib. After 'cd ../glibc-build', you need to add:
echo "libc_cv_ppc_machine=yes" >> config.cache
And then add '--cache-file=config.cache" to the configure line.
Configure runs successfully, but then during make I get the following:
=======================================================================
make[1]: Entering directory `/mnt/lfs/sources/glibc-20050926'
{ echo '#include "posix/bits/posix1_lim.h"'; \
echo '#define _LIBC 1'; \
echo '#include "misc/sys/uio.h"'; } | \
gcc -E -dM -MD -MP -MF /mnt/lfs/sources/glibc-build/bits/stdio_lim.dT
-MT '/mnt/lfs/sources/glibc-build/bits/stdio_lim.h
/mnt/lfs/sources/glibc-build/bits/st
-Iinclude -I. -I/mnt/lfs/sources/glibc-build -Ilibio
-I/mnt/lfs/sources/glibc-build -Isysdeps/powerpc/powerpc64/elf
-Isysdeps/powerpc/elf -Isysdeps/u
In file included from posix/sys/types.h:31,
from include/sys/types.h:1,
from misc/sys/uio.h:24,
from <stdin>:3:
sysdeps/generic/bits/types.h:31:20: No include path in which to find
stddef.h
In file included from include/sys/types.h:1,
from misc/sys/uio.h:24,
from <stdin>:3:
posix/sys/types.h:147:20: No include path in which to find stddef.h
make[1]: *** [/mnt/lfs/sources/glibc-build/bits/stdio_lim.st] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/glibc-20050926'
make: *** [install-headers] Error 2
=========================================================================
It *seems* like the --with-headers flag isn't working the way it should.
Anyone have any ideas?
--
JH
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page