[OpenBIOS] failed to build

mr.jb at gmx.de mr.jb at gmx.de
Wed Jan 3 01:25:30 CET 2018


I want to build the openbios image for use in coreboot, but it fails.
I am running a 32bit debian 8.10 vm.

$ make
Building OpenBIOS for x86
   AR    libfs.a
   CC    target/libgcc/ashldi3.o
   CC    target/libgcc/ashrdi3.o
   CC    target/libgcc/__lshrdi3.o
   CC    target/libgcc/__divdi3.o
   CC    target/libgcc/__udivdi3.o
   CC    target/libgcc/__udivmoddi4.o
   CC    target/libgcc/__umoddi3.o
   AR    libgcc.a
   LINK  openbios.multiboot
libdrivers.a(pci.o): In function `ob_pci_unmap':
/tmp/openbios/drivers/pci.c:405: undefined reference to `ofmem_unmap'
rules.mak:235: recipe for target 'openbios.multiboot' failed
make[1]: *** [openbios.multiboot] Error 1
make[1]: Leaving directory '/tmp/openbios/obj-x86'
Makefile:19: recipe for target 'build' failed
make: *** [build] Error 1

if i select amd64 on a 64bit machine it works without a problem.

What is the problem here?


More information about the OpenBIOS mailing list