[syslinux] syslinux compile fails: undefined symbol `obj_kpxeprefix'
Chris Ziomkowski
cziom at jsg.co.th
Thu Oct 16 08:44:07 PDT 2008
Dear all:
I am trying to compile syslinux on my machine. It's a Linux From Scratch
build, pure 64 x86_64 with uClibc, using kernel 2.6.26.5, gcc 4.3.2 and
binutils 2.18.0.
The compile fails at the following command:
make[1]: Entering directory `/home/lfs/src/pkgs/syslinux/syslinux-3.72/gpxe'
make -C src EMBEDDED_IMAGE=../../core/pxelinux.0 bin/undionly.kpxe
make[2]: Entering directory
`/home/lfs/src/pkgs/syslinux/syslinux-3.72/gpxe/src'
ld -m elf_i386 -N --no-check-sections -T arch/i386/scripts/i386.lds -u
obj_kpxeprefix --defsym check_obj_kpxeprefix=obj_kpxeprefix -u
obj_undionly --defsym check_obj_undionly=obj_undionly -u obj_config
--defsym check_obj_config=obj_config --defsym pci_vendor_id=0 --defsym
pci_device_id=0 bin/blib.a -o bin/undionly.kpxe.tmp \
-Map bin/undionly.kpxe.tmp.map
arch/i386/scripts/i386.lds:1: undefined symbol `obj_kpxeprefix'
referenced in expression
make[2]: *** [bin/undionly.kpxe.tmp] Error 1
Can anyone tell me where this symbol comes from and how to resolve this
situation? I tried simply ignoring it, because I don't need PXE, but it
just fails later with:
/home/lfs/src/pkgs/syslinux/syslinux-3.72/linux/syslinux.c:490:
undefined reference to `syslinux_ldlinux_len'
/home/lfs/src/pkgs/syslinux/syslinux-3.72/linux/syslinux.c:492:
undefined reference to `syslinux_ldlinux'
/home/lfs/src/pkgs/syslinux/syslinux-3.72/linux/syslinux.c:517:
undefined reference to `syslinux_ldlinux_len'
/home/lfs/src/pkgs/syslinux/syslinux-3.72/linux/syslinux.c:538:
undefined reference to `syslinux_ldlinux'
And unfortunately that I do need. Any suggestions of what is happening?
Thank you for any assistance,
Chris
More information about the Syslinux
mailing list