httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucho" <>
Subject Linking error on win
Date Sat, 03 Nov 2007 19:15:19 GMT
Hi guy, i tried to compile a module for apache but can't solve this problem:

--------------------Configuration: mod_xsendfile - Win32 
   Creating library Debug/mod_xsendfile.lib and object 
mod_xsendfile.obj : error LNK2001: unresolved external symbol 
mod_xsendfile.obj : error LNK2001: unresolved external symbol 
Debug/mod_xsendfile.dll : fatal error LNK1120: 28 unresolved externals
Error executing link.exe.

mod_xsendfile.dll - 29 error(s), 0 warning(s)

i think that need some extra flag, but really don't know, the manual for 
this module say  "compile and install apxs2 -cia mod_xsendfile.c" but i 
couldn't found it, in fact, exists many reference on google but no link to 
it at least for win32.

i'm download apr-1.2.11, apr-iconv-1.2.0, apr-util-1.2.10 compile and all be 
great, but in fact, this libraries exists on my apache/lib installation, 
isn't it?.

This is the parameter for VC6++:

# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D 
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D 

i was found in some place the flags, DWITH_APACHE2, DSHARED_MODULE, but 
nothing works.

What can i do?

Thk U in advance. 

View raw message