Hello,
I'm trying to build the last version of VBox OSE but I encounter a problem close from the end of compilation with the VBoxNetFlt driver for Windows.
kBuild: Linking VBoxNetFlt
Création de la bibliothèque D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.lib et de l'objet D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.exp
VBoxNetFlt-win.obj : error LNK2019: symbole externe non résolu __alloca_probe_16 référencé dans la fonction _vboxNetFltWinPtInitBind@12
D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.sys : fatal error LNK1120: 1 externes non résolus
kmk.exe[2]: *** [D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.sys] Error 1120
The failing command:
@ D:/UTILIT~1/PROGRA~1/MICROS~3/VC/bin/link.exe -nologo -machine:x86 -Driver -Subsystem:NATIVE -Incremental:NO -Align:64 -MapInfo:Exports -NoD -Debug -Entry:DriverEntry@8 /OUT:D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.sys /MAPINFO:EXPORTS /INCREMENTAL:NO /MAP:D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.map /LIBPATH:D:/WINDDK/3790~1.183/lib/wnet/i386 D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\obj\\VBoxNetFlt\\VBoxNetFlt.obj D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\obj\\VBoxNetFlt\\win\\VBoxNetFlt-win.obj D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\obj\\VBoxNetFlt\\win\\VBoxNetFltPt-win.obj D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\obj\\VBoxNetFlt\\win\\VBoxNetFlt-win.res D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\obj\\VBoxNetFlt\\win\\VBoxNetFltMp-win.obj D:\\WINDDK\\3790~1.183\\lib\\wnet\\i386\\ntoskrnl.lib D:\\WINDDK\\3790~1.183\\lib\\wnet\\i386\\hal.lib D:\\WINDDK\\3790~1.183\\lib\\wnet\\i386\\ndis.lib D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\lib\\RuntimeR0Drv.lib D:\\zBuild\\VirtualBox-3.0.2_OSE\\out\\win.x86\\release\\lib\\SUPR0IdcClient.lib
kmk.exe[2]: *** [D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.sys] Deleting file `D:/zBuild/VirtualBox-3.0.2_OSE/out/win.x86/release/obj/VBoxNetFlt/VBoxNetFlt.map'
kmk.exe[2]: Leaving directory `D:/zBuild/VirtualBox-3.0.2_OSE'
kmk.exe[1]: *** [pass_binaries_this] Error 2
kmk.exe[1]: Leaving directory `D:/zBuild/VirtualBox-3.0.2_OSE'
kmk: *** [pass_binaries_order] Error 2
It seems to be a linking error with an unresolved extern symbol (__alloca_probe_16 in _vboxNetFltWinPtInitBind@12 function).
Before to post my config files, I'd like to know if this problem has been encountered with others than me (and if they managed to fix it).
Thanks for the diff ! The build is working now. But I got a problem with the comregister command : zlib1.dll file is missing, and if I copy the one from tools\win.x86\bin\, it tells me that the "ordinal 73" is missing in the library...
Where can I find a correct version of this file ?
Rankin wrote:Thanks for the diff ! The build is working now. But I got a problem with the comregister command : zlib1.dll file is missing, and if I copy the one from tools\win.x86\bin\, it tells me that the "ordinal 73" is missing in the library...
Where can I find a correct version of this file ?
I got similar problem. Check the libcurl library you are using, there should be some information about which zlib1.dll version to use. In my I copied libcurl.dll from distribution I downloaded and there was a readme file with link to zlib1.dll that should be used with given libcurl version.
Hope it will help you.