httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucho" <lucianojmmarti...@ubbi.com>
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 
Debug--------------------
Linking...
   Creating library Debug/mod_xsendfile.lib and object 
Debug/mod_xsendfile.exp
mod_xsendfile.obj : error LNK2001: unresolved external symbol 
__imp__apr_palloc@8
mod_xsendfile.obj : error LNK2001: unresolved external symbol 
__imp__ap_hook_insert_filter@16
......
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 
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "MOD_XSENDFILE_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D 
"_WINDOWS" /D "DWITH_APACHE2" /D "_MBCS" /D "_USRDLL" /D 
"MOD_XSENDFILE_EXPORTS" /YX /FD /GZ /c

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

What can i do?

Thk U in advance. 


Mime
View raw message