[klibc] 181 and current Linus

Jon Smirl jonsmirl at yahoo.com
Sat Oct 16 12:11:25 PDT 2004


klibc appears to build ok, some of the apps fail

gcc -Wp,-MD,.fstype.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0  -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-W -Wall -c -o fstype.o fstype.c
fstype.c: In function `romfs_image':
fstype.c:99: warning: implicit declaration of function `cpu_to_be32'
fstype.c:99: warning: comparison between signed and unsigned
fstype.c:99: warning: comparison between signed and unsigned
mkdir -p static static.g
ld  -o static/fstype ../klibc/crt0.o fstype.o libutils.a
../klibc/libc.a /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/libgcc.a
fstype.o(.text+0xd7): In function `romfs_image':
/home/dri/klibc-0.181/utils/fstype.c:99: undefined reference to
`cpu_to_be32'
fstype.o(.text+0xe5):/home/dri/klibc-0.181/utils/fstype.c:99: undefined
reference to `cpu_to_be32'
make: *** [static/fstype] Error 1
rm dd.o fstype.o chroot.o
[jonsmirl at smirl utils]$

[jonsmirl at smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
sh mkinit.sh arith.c arith_lex.c builtins.c cd.c echo.c error.c eval.c
exec.c expand.c input.c jobs.c main.c memalloc.c miscbltin.c mystring.c
nodes.c options.c parser.c redir.c show.c syntax.c trap.c output.c
var.c test.c
make: *** [init.c] Segmentation fault
[jonsmirl at smirl ash]$



=====
Jon Smirl
jonsmirl at yahoo.com


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



More information about the klibc mailing list