Error in compilation.

Haim Stotsky (stotsl@elbit.co.il)
Mon, 18 Mar 96 19:46:53 IST


Hello ,

Linux 1.3.20
Pentium 90
16 Mega RAM

While trying to compile anyone of the last Linux version i got the same error :

objdump -k -q -o 0x100000 /usr/src/linux-1.3.75/vmlinux > $tmppiggy; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
encaps --target elf32-i386 piggy.o $tmppiggy.gz input_data input_len; \
rm -f $tmppiggy $tmppiggy.gz
ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o misc.o piggy.o
make[2]: Leaving directory `/usr/src/linux-1.3.75/arch/i386/boot/compressed'
gcc -I/usr/src/linux-1.3.75/include -D__BFD__ -o tools/build tools/build.c -I/usr/src/linux-1.3.75/include
/tmp/cca018701.o: In function `main':
/tmp/cca018701.o(.text+0x148): undefined reference to `stat'
/tmp/cca018701.o(.text+0x1cd): undefined reference to `stat'
/tmp/cca018701.o(.text+0x719): undefined reference to `fstat'
make[1]: *** [tools/build] Error 1
make[1]: Leaving directory `/usr/src/linux-1.3.75/arch/i386/boot'
make: *** [zImage] Error 2

PLEASE SEND SOME HINT'S .....

Stots