Userauth Module Help Please! (remote includes)

These are old archives. They are kept for historic purposes only.
Post Reply
r3mbr4ndt
Posts: 29
Joined: Wed Mar 16, 2005 2:15 pm

Userauth Module Help Please! (remote includes)

Post by r3mbr4ndt »

I can compile this module just fine without libcurl support. My friend can compile this just fine with libcurl support on linux. I noticed Stealth has some experience with windows so I am begging for your assistance :) When I try to compile it with libcurl support I get the following errors:

Code: Select all

C:\dev\Unreal3.2>nmake -f makefile.win32 USE_REMOTEINC=1 LIBCURL_INC_DIR="C:\dev\curl-7.13.2_ssl\include" LIBCURL_LIB_DIR="C:\dev\curl-7.13.2_ssl\lib\Debug" USE_ZIPLINKS=1 ZLIB_INC_DIR="c:\dev\zlib-1.2.2" ZLIB_LIB_DIR="c:\dev\zlib-1.2.2" USE_SSL=1 OPENSSL_INC_DIR="C:\dev\openssl-0.9.7f\inc32" OPENSSL_LIB_DIR="C:\dev\openssl-0.9.7f\out32dll.dbg" custommodule MODULEFILE=userauth

Microsoft (R) Program Maintenance Utility Version 7.00.9955
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl /LD /MD /D USE_SSL /D ZIP_LINKS /D ZLIB_DLL /D USE_LIBCURL /J /Fesrc/
modules/  /Fosrc/modules/ /nologo /I "C:\dev\curl-7.13.2_ssl\include" /I "c:\dev
\zlib-1.2.2" /I "C:\dev\openssl-0.9.7f\inc32" /I ./INCLUDE /D  DYNAMIC_LINKING /
D NOSPOOF /D MODULE_COMPILE src/modules/userauth.c /link /def:src/modules/module
.def wircd.lib /LIBPATH:"C:\dev\openssl-0.9.7f\out32dll.dbg" ssleay32.lib libeay
32.lib  /LIBPATH:"c:\dev\zlib-1.2.2" zlibwapi.lib /LIBPATH:"C:\dev\curl-7.13.2_s
sl\lib\Debug" libcurl.lib  /OUT:src/modules/userauth.dll
userauth.c
src\modules\userauth.c(228) : warning C4113: 'iFP' differs in parameter lists from 'int (__cdecl *)(aClient *,int)'
   Creating library src/modules/userauth.lib and object src/modules/userauth.exp

userauth.obj : error LNK2019: unresolved external symbol _url_getfilename referenced in function _cb_test
userauth.obj : error LNK2019: unresolved external symbol _url_is_valid referenced in function _cb_test
userauth.obj : error LNK2019: unresolved external symbol _download_file_async referenced in function _download_authfile
userauth.obj : error LNK2019: unresolved external symbol _download_file referenced in function _download_authfile
src/modules/userauth.dll : fatal error LNK1120: 4 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
This module is awesome but I need libcurl support to share the userfile with other servers. :?

P.S. I have tried compiling it with the libs provided by the Unreal team with the same results. It pretty unusual that it compiles fine for linux but not for windows only when remote includes are turned on. Any help would be appreciated.
Defunct...
Updated Win32 libs, binaries and easy to
use compile script for Visual Studio .NET
http://unreal.hates.tv
Post Reply