[syslinux] extlinux installer build failed

Gene Cumm gene.cumm at gmail.com
Sun Feb 8 18:49:37 PST 2015


On Sun, Feb 8, 2015 at 9:07 PM, Jonathan Boeing via Syslinux
<syslinux at zytor.com> wrote:
> On Sun, 8 Feb 2015 20:21:58 -0500
> Gene Cumm via Syslinux <syslinux at zytor.com> wrote:
>
>> On Sun, Feb 8, 2015 at 7:49 PM, Alexey Orishko via Syslinux
>> <syslinux at zytor.com> wrote:
>> > Hi guys,
>> >
>> > I'm have a pure 64-bit system (Intel based). Due to that I can't
>> > use 32-bit ELF extlinux binary provided in the syslinux-6.03
>> > package.
>> >
>> > Unfortunately building extlinux installer failed...
>> >
>> > See error below after these command:
>> > make bios clean
>> > make bios  (failed)
>> >
>> > ...
>> > ar cq liblpxelinux.a rawcon.o pxeboot.o pxelinux-c.o
>> > fs/pxe/dhcp_option.o fs/pxe/pxe.o fs/pxe/tftp.o fs/pxe/urlparse.o
>> > fs/pxe/bios.o lwip/src/netif/slipif.o lwip/src/netif/undiif.o
>> > lwip/src/netif/ethernetif.o lwip/src/netif/ppp/ppp_oe.o
>> > lwip/src/netif/ppp/ppp.o lwip/src/netif/ppp/magic.o
>> > lwip/src/netif/ppp/lcp.o lwip/src/netif/ppp/pap.o
>> > lwip/src/netif/ppp/chpms.o lwip/src/netif/ppp/randm.o
>> > lwip/src/netif/ppp/vj.o lwip/src/netif/ppp/ipcp.o
>> > lwip/src/netif/ppp/chap.o lwip/src/netif/ppp/fsm.o
>> > lwip/src/netif/ppp/md5.o lwip/src/netif/ppp/auth.o
>> > lwip/src/netif/etharp.o lwip/src/core/tcp.o lwip/src/core/init.o
>> > lwip/src/core/ipv4/autoip.o lwip/src/core/ipv4/icmp.o
>> > lwip/src/core/ipv4/ip_frag.o lwip/src/core/ipv4/ip_addr.o
>> > lwip/src/core/ipv4/inet.o lwip/src/core/ipv4/ip.o
>> > lwip/src/core/ipv4/inet_chksum.o lwip/src/core/ipv4/igmp.o
>> > lwip/src/core/raw.o lwip/src/core/dhcp.o lwip/src/core/tcp_in.o
>> > lwip/src/core/stats.o lwip/src/core/netif.o lwip/src/core/timers.o
>> > lwip/src/core/mem.o lwip/src/core/def.o lwip/src/core/memp.o
>> > lwip/src/core/udp.o lwip/src/core/dns.o lwip/src/core/tcp_out.o
>> > lwip/src/core/snmp/msg_in.o lwip/src/core/snmp/msg_out.o
>> > lwip/src/core/snmp/mib_structs.o lwip/src/core/snmp/mib2.o
>> > lwip/src/core/snmp/asn1_dec.o lwip/src/core/snmp/asn1_enc.o
>> > lwip/src/core/pbuf.o lwip/src/core/sys.o lwip/src/api/netdb.o
>> > lwip/src/api/tcpip.o lwip/src/api/sockets.o lwip/src/api/netbuf.o
>> > lwip/src/api/netifapi.o lwip/src/api/err.o lwip/src/api/api_msg.o
>> > lwip/src/api/api_lib.o lwip/src/arch/sys_arch.o fs/pxe/core.o
>> > fs/pxe/dnsresolv.o fs/pxe/ftp.o fs/pxe/ftp_readdir.o
>> > fs/pxe/gpxeurl.o fs/pxe/http.o fs/pxe/http_readdir.o fs/pxe/idle.o
>> > fs/pxe/isr.o fs/pxe/tcp.o
>> > ranlib liblpxelinux.a
>> >
>> > nasm -f elf -Ox  -g -F dwarf -DDATE_STR="''" \
>> >     -DHEXDATE="0x54d7efa1" \
>> >     -Di386 \
>> >     -I/sources/syslinux-6.03/core/ \
>> >     -l ldlinux.lsr -o ldlinux.o -MP -MD ./.ldlinux.o.d
>> > /sources/syslinux-6.03/core/ldlinux.asm
>> > diskstart.inc:438: error: symbol references not supported in
>> > preprocess-only mode
>> > diskstart.inc:438: error: non-constant value given to `%if'
>> > diskstart.inc:439: error: symbol references not supported in
>> > preprocess-only mode
>> > diskstart.inc:439: error: non-constant value given to `%assign'
>> > /sources/syslinux-6.03/core/ldlinux.asm:26: fatal: unable to open
>> > include file `head.inc'
>> > /sources/syslinux-6.03/core/Makefile:156: recipe for target
>> > 'ldlinux.o' failed make[3]: *** [ldlinux.o] Error 1
>> > make[3]: Leaving directory '/sources/syslinux-6.03/bios/core'
>> > /sources/syslinux-6.03/Makefile:285: recipe for target 'core' failed
>> > make[2]: *** [core] Error 2
>> > make[2]: Leaving directory '/sources/syslinux-6.03/bios'
>> > /sources/syslinux-6.03/Makefile:254: recipe for target 'bios' failed
>> > make[1]: *** [bios] Error 2
>> > make[1]: Leaving directory '/sources/syslinux-6.03'
>> > Makefile:103: recipe for target 'bios' failed
>> > make: *** [bios] Error 2
>> >
>> > Is it possible to compile extlinux with nasm-2.11.06 (get a patch) ?
>>
>> If I recall correctly, 2.11.05 works.  These messages should help
>> determine a solution.  Thank you.
>>
>
> I had the same failure with 2.11.06, but the latest snapshot is working
> correctly for me.
>
> See http://sourceforge.net/p/nasm/mailman/message/33074214/

Thanks Jonathan.

-- 
-Gene


More information about the Syslinux mailing list