<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Frank,</DIV>
<DIV> </DIV>
<DIV>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.</DIV>
<DIV> </DIV>
<DIV>If I use a newer WDK, it will work if compile as Vista and above, but fails as XP.</DIV>
<DIV> </DIV>
<DIV>I also built a little HelloWorld driver, same thing, only compiles as Vista and above.</DIV>
<DIV> </DIV>
<DIV>I can easily change that function call to make it to compile, but wanted to figure out why it's failing.</DIV>
<DIV> </DIV>
<DIV>- huihong<BR><BR>--- On <B>Thu, 8/26/10, Frank Mehnert <I><frank.mehnert@oracle.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Frank Mehnert <frank.mehnert@oracle.com><BR>Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)<BR>To: vbox-dev@virtualbox.org<BR>Date: Thursday, August 26, 2010, 3:21 AM<BR><BR>
<DIV class=plainMail>AFACIS we are using <BR><BR>* Windows 2003 DDK 200503<BR>* Windows SDK 200504<BR><BR>Kind regards,<BR><BR>Frank<BR><BR>On Thursday 26 August 2010, Huihong Luo wrote:<BR>> I tried to use  _alloca, still same error. Also tried wdk version<BR>> 6001.18002, still got the error. <BR>> What is your wdk version?<BR>>  <BR>> Thanks,<BR>><BR>> --- On Wed, 8/25/10, Frank Mehnert <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=frank.mehnert@oracle.com" ymailto="mailto:frank.mehnert@oracle.com">frank.mehnert@oracle.com</A>> wrote:<BR>><BR>><BR>> From: Frank Mehnert <<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=frank.mehnert@oracle.com" ymailto="mailto:frank.mehnert@oracle.com">frank.mehnert@oracle.com</A>><BR>> Subject: Re: [vbox-dev] compiling error (__alloca_probe_16)<BR>> To: <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org"
 ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR>> Date: Wednesday, August 25, 2010, 1:42 PM<BR>><BR>> On Wednesday 25 August 2010, Huihong Luo wrote:<BR>> > I could use a newer windows wdk to compile this, but since 3790.1830 is<BR>> > required<BR>> > kBuild: Linking VBoxDrv<BR>> >    Creating library<BR>> > C:/virtualbox-dev/vbox-latest/out/win.x86/release/obj/VBoxDrv/VBoxDrv.lib<BR>> > and object C:/virtualbox-d<BR>> > ev/vbox-latest/out/win.x86/release/obj/VBoxDrv/VBoxDrv.exp<BR>> > RuntimeR0Drv.lib(stringalloc.obj) : error LNK2019: unresolved external<BR>> > symbol __alloca_probe_16 referenced in function _ RTStrAAppendExNVTag<BR>><BR>> This builds fine here. Perhaps you are using a combination of VCC and<BR>> WDK which does not fit together? Google shows some hits when searching<BR>> for "__alloca_probe_16 unresolved
 external".<BR>><BR>> You could also try to replace alloca in<BR>><BR>>   src/VBox/Runtime/common/string/stringalloc.cpp<BR>><BR>> by _alloca.<BR>><BR>> Kind regards,<BR>><BR>> Frank<BR><BR><BR><BR>-- <BR>ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert<BR>Werkstrasse 24                     Staff Engineer, VirtualBox<BR>71384 Weinstadt, Germany           mailto:<A href="http://us.mc343.mail.yahoo.com/mc/compose?to=frank.mehnert@oracle.com" ymailto="mailto:frank.mehnert@oracle.com">frank.mehnert@oracle.com</A><BR><BR>Hauptverwaltung: Riesstr. 25, D-80992 München<BR>Registergericht: Amtsgericht München, HRA 95603<BR><BR>Komplementärin: ORACLE Deutschland Verwaltung B.V.<BR>Rijnzathe 6, 3454PV De Meern, Niederlande<BR>Handelsregister der Handelskammer Midden-Niederlande, Nr.
 30143697<BR>Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven<BR><BR>_______________________________________________<BR>vbox-dev mailing list<BR><A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR><A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></td></tr></table>