2.4.23-ck1 w/grsec patch build fails

From: Ryan Reich
Date: Sat Dec 06 2003 - 19:58:30 EST


I get the following linking error when I build this:

ld -m elf_i386 -T /usr/src/structural/system/linux-2.4.23/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/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/ieee1394/ieee1394drv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o crypto/crypto.o
\
net/network.o \
grsecurity/grsec.o \
/usr/src/structural/system/linux-2.4.23/arch/i386/lib/lib.a
/usr/src/structural/system/linux-2.4.23/lib/lib.a
/usr/src/structural/system/linux-2.4.23/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
grsecurity/grsec.o: In function `gr_acl_handle_psacct':
grsecurity/grsec.o(.text+0xfc80): undefined reference to `__udivdi3'
make: *** [vmlinux] Error 1

I have the grsec-fix patch also, not that it should matter since it only changes
one line in the chroot module. Compiler is gcc-3.2.1.

Ryan Reich
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/