[ipxe-devel] [gPXE] gPXE help

Michael Brown mbrown at fensystems.co.uk
Tue Feb 14 17:03:07 UTC 2012


On Tuesday 14 Feb 2012 16:08:04 Jonathan Smith wrote:
> I am upgrading to iPXE with a view to using scripting.
> 
> I have downloaded iPXE and am trying to build it by using 'cd ipxe/src' and
> 'make', as per the instructions on the website. However, when I do this I
> get the following errors (I have only included the first few lines):
> 
> [DEPS] arch/i386/prefix/unnrv2b16.S
> [DEPS] arch/i386/prefix/unnrv2b16.S
> [BUILD] bin/unnrv2b16.o
> arch/i386/prefix/unnrv2b16.S:9:21: error: unnrv2b.S: No such file or
> directory [AR] bin/blib.a
> ar: creating bin/blib.a
> [LD] bin/ipxe.dsk.tmp
> bin/blib.a(dskprefix.o): In function `start_runtime':(.prefix+0x206):
> undefined reference to '_estack16' bin/blib.a(dskprefix.o):(.text16+0x8):
> undefined reference to `prot_call' bin/blib.a(libprefix.o): In function
> `install_block':(.prefix.lib+0x139): undefined reference to `decompress16'
> bin/blib.a(libprefix.o): In function
> `install_prealloc':(.prefix.lib+0x1d5): undefined reference to
> `access_highmem' bin/blib.a(libprefix.o): In function
> `init_librm_vector':(.data16+0x0): undefined reference to `init_librm'
> bin/blib.a(libprefix.o): In function `prot_call_vector':(.data16+0x4):
> undefined reference to `prot_call'
> 
> I have checked and the arch/i386/prefix/unnrv2b16.S file exists. I have
> also checked that gcc, binutils, make and perl are installed. I am using
> Gentoo linux.

It looks as though either your build environment is seriously broken, or you 
are missing large parts of the iPXE source tree.

Are you able to compile any other software on your Gentoo system?

What happens if you try to build a single object, such as:

  make bin/unnrv2b.o

Michael



More information about the ipxe-devel mailing list