[vbox-dev] compiling error (__alloca_probe_16)

Huihong Luo huisinro at yahoo.com
Fri Aug 27 08:09:49 GMT 2010

I already replied to your question in one of my previous emails.
yes, I tried, and just did it once more time, _alloca() does not change the link error

_alloca is compiled to __alloca_probe_16() on my side, but yours must be compiled to __alloca_probe(). 
If I manually change __alloca_probe_16 to __alloca_probe in RuntimeR0Drv.lib, then linker works.
Can you post the command that compiles stringalloc.cpp? I wanted to check the include path and defines.

--- 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, 11:45 PM

On Friday 27 August 2010, Huihong Luo wrote:
> I spent the whole day trying to figure out, but the error still exists. I

Please can you answer my question? Sorry but I want to be sure about
that. I've read somewhere that _alloca is _always_ inlined.

> > > I tried to use  _alloca, still same error.
> >
> > I want to come back here. Did you really try _alloca() instead of
> > alloca() and you got an unsatisfied external reference to _alloca?
> > I've googled a bit and it seems that _alloca is the correct function
> > with Microsoft Visual ...
> See here:
>   http://msdn.microsoft.com/en-us/library/wb1s57t5.aspx

Kind regards,

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

-----Inline Attachment Follows-----

vbox-dev mailing list
vbox-dev at virtualbox.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100827/1b0add1e/attachment.html>

More information about the vbox-dev mailing list