[vbox-dev] compiling error (__alloca_probe_16)

Huihong Luo huisinro at yahoo.com
Thu Aug 26 14:02:20 GMT 2010


Frank,
 
I tried the same, but couldn't compile. Very weird. Is it possible your build system have old .obj files? if you do rebuild all, you may hit the error.
 
If I use a newer WDK, it will work if compile as Vista and above, but fails as XP.
 
I also built a little HelloWorld driver, same thing, only compiles as Vista and above.
 
I can easily change that function call to make it to compile, but wanted to figure out why it's failing.
 
- huihong

--- On Thu, 8/26/10, Frank Mehnert <frank.mehnert at oracle.com> wrote:


From: Frank Mehnert <frank.mehnert at oracle.com>
Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)
To: vbox-dev at virtualbox.org
Date: Thursday, August 26, 2010, 3:21 AM


AFACIS we are using 

* Windows 2003 DDK 200503
* Windows SDK 200504

Kind regards,

Frank

On Thursday 26 August 2010, Huihong Luo wrote:
> I tried to use  _alloca, still same error. Also tried wdk version
> 6001.18002, still got the error. 
> What is your wdk version?
>  
> Thanks,
>
> --- On Wed, 8/25/10, Frank Mehnert <frank.mehnert at oracle.com> wrote:
>
>
> From: Frank Mehnert <frank.mehnert at oracle.com>
> Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)
> To: vbox-dev at virtualbox.org
> Date: Wednesday, August 25, 2010, 1:42 PM
>
> 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

_______________________________________________
vbox-dev mailing list
vbox-dev at virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100826/c4c694cf/attachment.html>


More information about the vbox-dev mailing list