forgot to mention, the __alloca_proble_16 linking error only occurs with kerenl 
drivers.
 
ring3 builds just fine.

--- On Thu, 8/26/10, Huihong Luo <[email protected]> wrote:


From: Huihong Luo <[email protected]>
Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)
To: [email protected], "Frank Mehnert" <[email protected]>
Date: Thursday, August 26, 2010, 6:03 PM







I spent the whole day trying to figure out, but the error still exists. I 
installed your version of DDK and windows SDK. So it seems must be my VC++ 
version, vs 2005 is somehow different from yours. I am using the VS2005 team 
suite.
 
I noted that when a windows kernel driver is compiled, the standard vc include 
path are still used, e.g. see below
 
not sure if this has anything to do with it. 
 
this file contains _alloca_probe_16, but not available on kernel driver library.
 
C:\Program Files\Microsoft Visual Studio 8\VC\crt\src\intel\alloca16.asm

@ C:/PROGRA~1/MICROS~2/VC/bin/cl.exe -c -TP -c -nologo -O2 -Zi -Zl -GR- -EHs- 
-GF -Gz -W3 -GS- -wd4996 -Zc:wchar_t- -O2
-GS- -Oy- -IC:/virtualbox-dev/vbox-latest/src/VBox/Runtime 
-IC:/virtualbox-dev/vbox-latest/src/VBox/Runtime/include -IC:
/WinDDK/3790.1830/inc/ddk -IC:/WinDDK/3790.1830/inc/ddk/wnet 
-IC:/WinDDK/3790.1830/inc/wnet -IC:/WinDDK/3790.1830/inc/dd
k/wdm/wnet -IC:/PROGRA~1/MIC977~1/Include 
-IC:/virtualbox-dev/vbox-latest/include -IC:/virtualbox-dev/vbox-latest/out/wi
n.x86/release -IC:/PROGRA~1/MICROS~2/VC/include 
-IC:/PROGRA~1/MICROS~2/VC/atlmfc/include -DVBOX -DVBOX_WITH_DEBUGGER -DV
BOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_X86 
-D__X86__ -D__WIN32__ -D_X86_ -DIN_RING0 -DIN
_RT_R0 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -DIN_RT_R0 -DRT_WITH_VBOX 
-DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -
DIN_SUP_R0 -D_X86_ 
-FdC:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/RuntimeR0Drv/common/string/stringalloc-obj.p
db -FD 
-FoC:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/RuntimeR0Drv/common/string/stringalloc.obj
 C:\\virtualbo
x-dev\\vbox-latest\\src\\VBox\\Runtime\\common\\string\\stringalloc.cpp

--- On Thu, 8/26/10, Frank Mehnert <[email protected]> wrote:


From: Frank Mehnert <[email protected]>
Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)
To: [email protected]
Date: Thursday, August 26, 2010, 1:06 PM


On Thursday 26 August 2010, Frank Mehnert wrote:
> On Thursday 26 August 2010, Huihong Luo wrote:
> > 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,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:[email protected]

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
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

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


_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to