[syslinux] syslinux-3.71-21-gbd09a6d - build breakage

Sebastian Herbszt herbszt at gmx.de
Fri Aug 22 13:23:33 PDT 2008


Got the following trying to build git master:

gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ 
 -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -c -o chain.o chain.c
ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/lib/libcom32.a 
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgcc.a
objcopy -O binary chain.elf chain.c32
gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ 
 -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -c -o ethersel.o ethersel.c
ld -m elf_i386 -T ../../com32/lib/com32.ld -o ethersel.elf ethersel.o
ld: warning: cannot find entry symbol _start; defaulting to 0000000000101000
ethersel.o: In function `get_did':
ethersel.c:(.text+0x62): undefined reference to `strtoul'
ethersel.c:(.text+0x7a): undefined reference to `strtoul'
ethersel.c:(.text+0x98): undefined reference to `strtoul'
ethersel.c:(.text+0xbd): undefined reference to `strtoul'
ethersel.o: In function `main':
ethersel.c:(.text+0xee): undefined reference to `dev_stdcon_w'
ethersel.c:(.text+0xf3): undefined reference to `dev_null_r'
ethersel.c:(.text+0xf8): undefined reference to `openconsole'
ethersel.c:(.text+0xfd): undefined reference to `pci_scan'
ethersel.c:(.text+0x118): undefined reference to `__syslinux_config_file'
ethersel.c:(.text+0x12d): undefined reference to `fopen'
ethersel.c:(.text+0x196): undefined reference to `malloc'
ethersel.c:(.text+0x238): undefined reference to `strtoul'
ethersel.c:(.text+0x25a): undefined reference to `strtoul'
ethersel.c:(.text+0x27c): undefined reference to `strchr'
ethersel.c:(.text+0x290): undefined reference to `strchr'
ethersel.c:(.text+0x29f): undefined reference to `strdup'
ethersel.c:(.text+0x2c9): undefined reference to `fgets'
ethersel.c:(.text+0x2e1): undefined reference to `find_pci_device'
ethersel.c:(.text+0x2ed): undefined reference to `syslinux_run_command'
ethersel.c:(.text+0x2fc): undefined reference to `fputs'
make[2]: *** [ethersel.elf] Fehler 1

- Sebastian




More information about the Syslinux mailing list