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) ? BR Alexey
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. -- -Gene
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/ Regards, Jonathan Boeing
Alexey Orishko via Syslinux <syslinux at zytor.com> writes:> 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.See http://www.syslinux.org/wiki/index.php/Doc/distrib for a shortcut. -- Feri.
> 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) >(snip)> > Is it possible to compile extlinux with nasm-2.11.06 (get a patch) ? > > BR AlexeyTwo issues: _ nasm 2.11.6 will fail for Syslinux. nasm 2.11.5 used to work for Syslinux (generally speaking, not specifically for your particular case). Use nasm 2.11.7 or newer. _ I doubt Syslinux can be successfully built in a "pure 64-bit" OS, but I could be wrong. I have always seen some form of "multilib" or "lib32-glibc" or similar as a dependency. If you succeed in building Syslinux in a "pure 64-bit" OS, please let us know. Regards, Ady.> _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux >
On Mon, Feb 9, 2015 at 11:58 AM, Ady via Syslinux <syslinux at zytor.com> wrote:> _ I doubt Syslinux can be successfully built in a "pure 64-bit" OS, but > I could be wrong. I have always seen some form of "multilib" or > "lib32-glibc" or similar as a dependency. If you succeed in building > Syslinux in a "pure 64-bit" OS, please let us know.I can confirm, I can build extlinux installer on a pure 64-bit linux system - I'm using custom built LFS without multilib support. Nasm version I was using previously was 2.11.03. While try to upgrade a system I was tried to use latest nasm version and failed. But as was stated, version 2.11.05 is still good for extlinux compilation. Regards, Alexey