Skip to contentSkip to conversation

tools: gpxe link error

DISCUSSION Christoph Egger 2 participants 3 messages Jul 19, 2010

lore
Share & tools
lore
#0 lore raw

Hi!

I get a gpxe link error:

[AR] bin/blib.a
ar: creating bin/blib.a
[LD] bin/rtl8139.rom.tmp
arch/i386/scripts/i386.lds:1: undefined symbol 'obj_romprefix' referenced in expression

Does this ring a bell to someone?

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw
Quoted 9 lines · On Monday 19 July 2010 14:38:28 Christoph Egger wrote:

Hi!

I get a gpxe link error:

[AR] bin/blib.a
ar: creating bin/blib.a
[LD] bin/rtl8139.rom.tmp
arch/i386/scripts/i386.lds:1: undefined symbol 'obj_romprefix' referenced in expression

With gmake V=1 I get:

ld -m elf_i386 -N --no-check-sections -T arch/i386/scripts/i386.lds -u obj_romprefix --defsym check_obj_romprefix=obj_romprefix -u obj_rtl8139 --defsym check_obj_rtl8139=obj_rtl8139 -u obj_config --defsym check_obj_config=obj_config --defsym pci_vendor_id=0 --defsym pci_device_id=0

bin/blib.a -o bin/rtl8139.rom.tmp \
                       -Map bin/rtl8139.rom.rmp.map

arch/i386/scripts/i386.lds:1: undefined symbol 'obj_romprefix' referenced in expression

Quoted 3 lines

Does this ring a bell to someone?

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#2 lore raw
Quoted 13 lines · Christoph Egger
Quoted 9 lines · On Monday 19 July 2010 14:38:28 Christoph Egger wrote:

Hi!

I get a gpxe link error:

[AR] bin/blib.a
ar: creating bin/blib.a
[LD] bin/rtl8139.rom.tmp
arch/i386/scripts/i386.lds:1: undefined symbol 'obj_romprefix' referenced in expression

With gmake V=1 I get:

Quoted 8 lines

ld -m elf_i386 -N --no-check-sections -T arch/i386/scripts/i386.lds -u obj_romprefix --defsym check_obj_romprefix=obj_romprefix -u obj_rtl8139 --defsym check_obj_rtl8139=obj_rtl8139 -u obj_config --defsym check_obj_config=obj_config --defsym pci_vendor_id=0 --defsym pci_device_id=0

bin/blib.a -o bin/rtl8139.rom.tmp \
                       -Map bin/rtl8139.rom.rmp.map

arch/i386/scripts/i386.lds:1: undefined symbol 'obj_romprefix' referenced in expression

No idea what that linker magic is intended to achieve. You'll be best off asking about it on the appropriate gpxe/etherboot dev list I expect. It does build for me on both my x86_32 and x86_64 GNU/Linux environments. Otherwise the best we can offer is an option to disable gpxe build, either manually or automatically for non-Linux environments. Obviously it would be nicer to fix the actual issue.

-- Keir

Quoted 3 lines
Quoted 3 lines

Does this ring a bell to someone?

Christoph