Hi, I tried to build current Linux kernels on Trustix 2.2 (current version). Unfortunately, the build always fails. I tried different configurations (including the default one brought with the kernel sources) and Kernels 2.4.29 and 2.6.10. The final error messages are always similar. I include a selection from the output of an unsuccessfull build of 2.4.29.
The full log can be found at http://plastictree.net/tmp/tsl-linux-2.4.29-log-20050202.gz [...] gcc -D__KERNEL__ -I/home/users/kernel/linux-2.4.29/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -nostdinc -iwithprefix include -DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c rm -f lib.a ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o make[2]: Leaving directory `/home/users/kernel/linux-2.4.29/arch/i386/lib' make[1]: Leaving directory `/home/users/kernel/linux-2.4.29/arch/i386/lib' ld -m elf_i386 -T /home/users/kernel/linux-2.4.29/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \ --start-group \ arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \ drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \ net/network.o \ /home/users/kernel/linux-2.4.29/arch/i386/lib/lib.a /home/users/kernel/linux-2.4.29/lib/lib.a /home/users/kernel/linux-2.4.29/arch/i386/lib/lib.a \ --end-group \ -o vmlinux init/do_mounts.o(.text.init+0x3c2): In function `create_dev': : undefined reference to `__guard' init/do_mounts.o(.text.init+0x3ea): In function `create_dev': : undefined reference to `__guard' init/do_mounts.o(.text.init+0x3fa): In function `create_dev': : undefined reference to `__stack_smash_handler' init/do_mounts.o(.text.init+0x425): In function `change_floppy': : undefined reference to `__guard' init/do_mounts.o(.text.init+0x545): In function `change_floppy': : undefined reference to `__guard' init/do_mounts.o(.text.init+0x558): In function `change_floppy': : undefined reference to `__stack_smash_handler' arch/i386/kernel/kernel.o(.text+0x3999): In function `parse_hex_value': : undefined reference to `__guard' arch/i386/kernel/kernel.o(.text+0x39d5): In function `parse_hex_value': : undefined reference to `__guard' arch/i386/kernel/kernel.o(.text+0x39eb): In function `parse_hex_value': : undefined reference to `__stack_smash_handler' arch/i386/kernel/kernel.o(.text+0x3b2a): In function `register_irq_proc': : undefined reference to `__guard' arch/i386/kernel/kernel.o(.text+0x3b6a): In function `register_irq_proc': : undefined reference to `__stack_smash_handler' [...] [ ... about 1700 more lines like that ... ] net/network.o(.text.init+0x8c1): In function `inet_initpeers': : undefined reference to `__guard' net/network.o(.text.init+0x94a): In function `inet_initpeers': : undefined reference to `__guard' net/network.o(.text.init+0x95a): In function `inet_initpeers': : undefined reference to `__stack_smash_handler' /home/users/kernel/linux-2.4.29/lib/lib.a(vsprintf.o)(.text+0x259): In function `number': : undefined reference to `__guard' /home/users/kernel/linux-2.4.29/lib/lib.a(vsprintf.o)(.text+0x451): In function `number': : undefined reference to `__guard' /home/users/kernel/linux-2.4.29/lib/lib.a(vsprintf.o)(.text+0x469): In function `number': : undefined reference to `__stack_smash_handler' make: *** [vmlinux] Error 1 -- Lasse Kliemann private homepage: http://plastictree.net NO software patents: http://swpat.ffii.org do NOT use M$ products: http://plastictree.net/articles/noms
pgpCdfQhWnGGF.pgp
Description: PGP signature
_______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
