locked
Problems compiling VirtualWiFi from Source (WDK 6001.18002 + SDK 6.1) RRS feed

  • Question

  • I have problems to build VirtualWiFi from sources on an xp machine with WDK 6001.18002 and SDK v6.1 installed.

    I managed to get service/* to compile and link by adding following macros to service/sources:

    USE_MSVCRT=1
    USE_STL=1
    STL_VER=70

    Driver/* needed only a warning disabling #pragma and now compiles and links, too.

    Now i'm stuck with virtualwifihelper/* . It compiles but linker says:

    errors in directory d:\virtualwifi\sources\virtualwifihelper
    link : error LNK2001: unresolved external symbol _mainCRTStartup
    d:\virtualwifi\sources\virtualwifihelper\virtualwifihelper.obj : error LNK2019:
    unresolved external symbol _printf referenced in function "unsigned long __stdcall ioctlGetSSIDFromAdapter(unsigned long,void *,unsigned long,void *,unsigned long)" (?ioctlGetSSIDFromAdapter@@YGKKPAXK0K@Z)

    d:\virtualwifi\sources\virtualwifihelper\virtualwifihelper.obj : error LNK2019:
    unresolved external symbol _exit referenced in function "void __stdcall Usage(void)" (?Usage@@YGXXZ)

    d:\virtualwifi\sources\virtualwifihelper\objfre_wxp_x86\i386\virtualwifihelper.exe : error LNK1120: 3 unresolved externals



    I'm running 'build -ceZ' in WinXP build environment and SDK_INCLUDE_PATH is properly set.

    Don't know what to do - help is very appreciated!

    Thanks in advance

    David
    Monday, November 24, 2008 3:14 PM