The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Build Problems --defsym:2: undefined symbol `obj_ipxecustom008'
2019-01-22, 17:44 (This post was last modified: 2019-01-22 18:15 by James_Epp.)
Post: #1
Brick [SOLVED] Build Problems --defsym:2: undefined symbol `obj_ipxecustom008'
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

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]#
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[SOLVED] Build Problems --defsym:2: undefined symbol `obj_ipxecustom008' - James_Epp - 2019-01-22 17:44



User(s) browsing this thread: 1 Guest(s)