httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: how to get started?
Date Wed, 28 Mar 2007 14:11:49 GMT
Sam Carleton wrote:
> Ok,
> 
> I have apxs installed!!!!!!!!!!!!!!
> 
> I have created a basic project called fancy_image_handler, when I
> follow the instructions in the comment of the
> mod_fancy_image_handler.c, here is what I am getting:
> 
> D:\Temp\fancy_image_handler>apxs -c -i mod_fancy_image_handler.c
> cl  /nologo /MD /W3 /O2 /D WIN32 /D _WINDOWS /D NDEBUG
> -I"C:\Apache2.2\include"  /c /Fomod_fancy_image_handler.lo
> mod_fancy_image_handler.c

Looks good

> link kernel32.lib /nologo /subsystem:windows /dll /machine:I386
> /libpath:"C:/Apache2.2\lib" /out:mod_fancy_image_handler.so
> mod_fancy_image_handler.lo

looks bad.  There is no libhttpd.lib, libapr-1.lib or libaprutil-1.lib
in this link line.  (The libpath correctly provided the path to these
libraries though.)  Odd, can't say offhand what's up, other than this
might be an httpd-2.2 specific bug in the apxs.

> mod_fancy_image_handler.lo : error LNK2001: unresolved external symbol
> __imp__ap_hook_handler@16
> mod_fancy_image_handler.lo : error LNK2001: unresolved external symbol
> __imp__ap_rputs@8

These live in libhttpd.lib (.dll).

Mime
View raw message