[vbox-dev] VirtualBox-5.1.20a fails to compile - linux 32-bit

Frank Mehnert frank.mehnert at oracle.com
Wed Apr 26 16:35:55 GMT 2017


Hi John,

On Samstag, 22. April 2017 07:03:41 CEST John Frankish wrote:
> After adjusting src/libs/xpcom18a4/Makefile.kmk to look for libIDL-config-2, compiling vbox fails with:
> 
> kBuild: bin2c iPxeBiosBin - /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.rom => /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.c
> /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/bin2c/bin2c -min 32 -max 56 -mask 0x1ff -export NetBiosBinary /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.rom /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.c
> /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/bin2c/bin2c: size=54171 - Not aligned!
> kmk: *** [/usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.c] Error 1
> 
> Is it possible to perform this step manually with different parameters to fix things?

could you do the following:

  $ rm /usr/src/VirtualBox-5.1.20/out/linux.x86/release/obj/iPxeBiosBin/iPxeBiosBin.rom
  $ kmk KBUILD_VERBOSE=2 -j1

and post the output? The error you get shouldn't be possible because the .rom image is
512-byte-aligned by calling

  src/VBox/Devices/PC/ipxe/src/util/padimg.pl --blksize=512 --byte=0xff path_to_/iPxeBiosBin.rom

Kind regards,

Frank
-- 
Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher



More information about the vbox-dev mailing list