[ipxe-devel] EFI SNPonly failing...

Michael Brown mcb30 at ipxe.org
Tue Jan 5 17:27:33 UTC 2016


On 05/01/16 13:13, Matthew Helton wrote:
> Starting about 23/11/2015 the snponly.efi build in my iPXE build
> environment started to fail...
>
> [LD] bin-x86_64-efi/snponly.efi.tmp
> bin-x86_64-efi/blib.a(memmap_settings.o): In function
> `memmap_settings_fetch':
> ipxe/src/core/memmap_settings.c:158: undefined reference to `get_memmap'
> bin-x86_64-efi/blib.a(config.o): In function `__requiring_symbol__':
> config.c:(.tbl.requiring_symbols+0x0): undefined reference to
> `obj_guestinfo'
> ld: bin-x86_64-efi/snponly.efi.tmp: hidden symbol `get_memmap' isn't defined
> ld: final link failed: Bad value
>
> Any thoughts as to why this is occurring? As far as I can tell, it
> occures only in the snponly.efi build process.

You appear to have MEMMAP_SETTINGS and VMWARE_SETTINGS enabled in 
config/settings.h.

MEMMAP_SETTINGS relies on the BIOS e820 memory map and so is not 
available under UEFI.  The equivalent functionality to retrieve the UEFI 
memory map is not implemented.

VMWARE_SETTINGS is currently i386-only, but I can't see any good reason 
for this.  I don't have a 64-bit UEFI VMware VM to test with, but I've 
pushed an experimental branch to

   http://git.ipxe.org/people/mcb30/ipxe.git/shortlog/refs/heads/vmware

Could you try this branch in a 64-bit UEFI VMware VM with 
VMWARE_SETTINGS and/or CONSOLE_VMWARE enabled, and let me know if the 
features work as expected?

Thanks,

Michael



More information about the ipxe-devel mailing list