2019-01-22, 17:44
Hey, folks. I hardly ever compile stuff from source. I'd appreciate any advice. Compiling on Parabola GNU/Linux-libre
src/config/general.h is untouched from the git clone
Versions:
gcc = 8.2.1 20181127
binutils = 2.31.1-4
make = 4.2.1
perl = 5.28.1
xz utils = 5.2.4
liblzma = 5.2.4
mtools = 4.0.23
mkisofs (genisotools) = 1.1.11
syslinux = 6.03
src/config/general.h is untouched from the git clone
Versions:
gcc = 8.2.1 20181127
binutils = 2.31.1-4
make = 4.2.1
perl = 5.28.1
xz utils = 5.2.4
liblzma = 5.2.4
mtools = 4.0.23
mkisofs (genisotools) = 1.1.11
syslinux = 6.03
Code:
[root@pxe000 src]# pwd
/root/dev/ipxe/src
[root@pxe000 src]# git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
script.ipxe
nothing added to commit but untracked files present (use "git add" to track)
[root@pxe000 src]# cat script.ipxe
#!ipxe
:init
dhcp || goto failure
set server_ipv4 192.168.215.16
chain http://${server_ipv4}/ipxe/current/x86/root.ipxe || goto failure
:failure
shell
[root@pxe000 src]# make bin/ipxecustom008.usb EMBED=script.ipxe
[DEPS] image/embedded.c
[BUILD] bin/embedded.o
[AR] bin/blib.a
ar: creating bin/blib.a
[BIN] bin/usbdisk.bin
[VERSION] bin/version.ipxecustom008.hd.o
[LD] bin/ipxecustom008.hd.tmp
ld:--defsym:2: undefined symbol `obj_ipxecustom008' referenced in expression
make: *** [Makefile.housekeeping:1188: bin/ipxecustom008.hd.tmp] Error 1
rm bin/version.ipxecustom008.hd.o bin/usbdisk.bin
[root@pxe000 src]#
[root@pxe000 src]# # Why?
[root@pxe000 src]#