[vbox-dev] compiling error (__alloca_probe_16)

Frank Mehnert frank.mehnert at oracle.com
Wed Aug 25 20:42:32 GMT 2010


On Wednesday 25 August 2010, Huihong Luo wrote:
> I could use a newer windows wdk to compile this, but since 3790.1830 is
> required 
> kBuild: Linking VBoxDrv
>    Creating library
> C:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/VBoxDrv/VBoxDrv.lib
> and object C:/virtualbox-d
> ev/vbox-latest/out/win.x86/release/obj/VBoxDrv/VBoxDrv.exp
> RuntimeR0Drv.lib(stringalloc.obj) : error LNK2019: unresolved external
> symbol __alloca_probe_16 referenced in function _ RTStrAAppendExNVTag

This builds fine here. Perhaps you are using a combination of VCC and
WDK which does not fit together? Google shows some hits when searching
for "__alloca_probe_16 unresolved external".

You could also try to replace alloca in

  src/VBox/Runtime/common/string/stringalloc.cpp

by _alloca.

Kind regards,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:frank.mehnert at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven




More information about the vbox-dev mailing list