Jakub Jelinek wrote: > > It's a bug in kernel-headers-2.0.33, from sparclinux-2.0.33: > > you always have to include <asm/page.h> if you include <linux/elf.h>. > > But it shouldn't hurt. > > Isn't it better to fix your kernel-headers package? > 2.1.xx headers include asm/page.h already, recent 2.0.xx kernel's elf.h I > think as well (at least the one in CVS). > I will add it to SILO anyway...
In the mean time, I have solved the problem with <asm/page.h> and struct timeval not defined, by simply adding them. Now there is _another_ problem (never ending story :-)): make[1]: Entering directory `/root/silo-0.7/first' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/silo-0.7/first' make[1]: Entering directory `/root/silo-0.7/second' ld -N -Ttext 0x280000 -Bstatic -o second crt0.o decomp.o console.o printf.o malloc.o jmp.o prom.o tree.o urem.o udiv.o stringops1.o bmark.o main.o cmdline.o disk.o file.o misc.o cfg.o strtol.o ranges.o timer.o memory.o ufs.o divdi3.o mul.o rem.o sdiv.o umul.o stringops2.o -lext2fs mark.o make[1]: Leaving directory `/root/silo-0.7/second' /usr/lib/libext2fs.a(closefs.o): In function `ext2fs_flush': closefs.o(.text+0x150): undefined reference to `__bzero' /usr/lib/libext2fs.a(inode.o): In function `create_icache': inode.o(.text+0x20): undefined reference to `__bzero' /usr/lib/libext2fs.a(inode.o): In function `ext2fs_open_inode_scan': inode.o(.text+0x190): undefined reference to `__bzero' /usr/lib/libext2fs.a(inode.o): In function `get_next_blocks': inode.o(.text+0x558): undefined reference to `__bzero' /usr/lib/libext2fs.a(inode.o): In function `ext2fs_read_inode': inode.o(.text+0x9c0): undefined reference to `__bzero' /usr/lib/libext2fs.a(openfs.o)(.text+0x3c): more undefined references to `__bzero' follow make[1]: *** [second] Error 1 make: *** [all] Error 1 test# nm /usr/lib/libext2fs.a | grep __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero U __bzero Ciao -- Davide Barbieri - [EMAIL PROTECTED] - [EMAIL PROTECTED] http://www.pluto.linux.it - Leggi il Contratto Sociale del PLUTO! PGP fingerprint = CD 8D A9 1E DB 0C B0 16 F8 2F BF 63 52 49 8B A8 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]