[plug] Kernel compilation too short.

Oliver White ojw at iinet.net.au
Mon Apr 26 12:11:10 WST 1999


David Campbell wrote:

>
> You might need to "make zImage |tee log.txt" (I wonder how many
> people use tee?) and post the last 20 lines.

Here you go, hope this helps. :-)
-------------- next part --------------
	net/network.a \
	drivers/block/block.a drivers/char/char.a drivers/misc/misc.a drivers/net/net.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/video/video.a \
	/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/i386/lib/lib.a \
	--end-group \
	-o vmlinux
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aU] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[1]: Entering directory `/usr/src/linux/arch/i386/boot'
make[2]: Entering directory `/usr/src/linux/arch/i386/boot/compressed'
tmppiggy=_tmp_$$piggy; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk; \
objcopy -O binary -R .note -R .comment -S /usr/src/linux/vmlinux $tmppiggy; \
gzip -f -9 < $tmppiggy > $tmppiggy.gz; \
echo "SECTIONS { .data : { input_len = .; LONG(input_data_end - input_data) input_data = .; *(.data) input_data_end = .; }}" > $tmppiggy.lnk; \
ld -m elf_i386 -m elf_i386 -r -o piggy.o -b binary $tmppiggy.gz -b elf32-i386 -T $tmppiggy.lnk; \
rm -f $tmppiggy $tmppiggy.gz $tmppiggy.lnk
ld -m elf_i386 -Ttext 0x1000 -e startup_32 -o vmlinux head.o misc.o piggy.o
make[2]: Leaving directory `/usr/src/linux/arch/i386/boot/compressed'
objcopy -O binary -R .note -R .comment -S compressed/vmlinux compressed/vmlinux.out
tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage
make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'


More information about the plug mailing list