Hi folks,
I haven't tested initramfs with klibc before and am having trouble
getting going. I tried to pull from the klibc-2.5 bk repository but
it doesn't merge with 2.6t2. Also i downloaded the .80 version and
tried to compile but got a stream of errors and warnings. It looks like
it needs to be compiled from within the kernel tree but i couldn't find any
docs about the proper setup. Any pointers on how to get started
would be appreciated.
Cheers,
Sean
I'm trying to build on RH9+ with gcc-3.3-12 and for what it's worth
here's the first
few error lines after typing make in the klibc directory:
[root@linux1 klibc]# make
make[1]: Entering directory `/downloads/klibc/klibc/klibc'
gcc -Wp,-MD,./.__static_init.d -march=i386 -Os -fomit-frame-pointer
-malign-functions=0 -malign-jumps=0 -malign-loops=0 -nostdinc
-iwithprefix
include -I../klibc -I../klibc/arch/i386/include -I../klibc/include/bits32
-DBITSIZE=32 -I../klibc/include -I../linux/include -W -Wal
l -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o
__static_init.o __static_init.c
cc1: warning: -malign-loops is obsolete, use -falign-loops
cc1: warning: -malign-jumps is obsolete, use -falign-jumps
cc1: warning: -malign-functions is obsolete, use -falign-functions
In file included from ../klibc/include/elf.h:8,
from __static_init.c:19:
../klibc/include/sys/types.h:17:31: linux/posix_types.h: No such file or
directory
../klibc/include/sys/types.h:18:23: asm/types.h: No such file or directory
In file included from ../klibc/include/elf.h:8,
from __static_init.c:19:
Sean.
s> I haven't tested initramfs with klibc before and am having trouble
s> getting going.
No surprise. The last kernel I tested against was 2.5.75, and I was
on vacation for a few weeks. I'm merging up to 2.6.0-test2 right now;
thanks for the pointer.
s> I tried to pull from the klibc-2.5 bk repository but
s> it doesn't merge with 2.6t2. Also i downloaded the .80 version and
s> tried to compile but got a stream of errors and warnings.
Forget about that - .80 doesn't compile against anything more recent
than 2.5.6x.
I'll try to get everything sane again today.
<b