Thanks Nick.

I found WHAT I was searching:
http://httpd.apache.org/docs/2.2/dso.html
step 4

Seems that instructions in http://threebit.net/tutorials/apache2_modules/tut1/tutorial1.html are outdated for Apache 2.2 module developing.

http://httpd.apache.org/docs/2.2/developer/ maybe a good resource for familiarized people, but not for the crowd. I miss some official "Build your first module"; kind of "Hello world module" with the very updated instructions and references. If we don't take care for noob developers, Microsoft will do.

Samuel




Nick Kew wrote:
On Sun, 30 Mar 2008 06:43:39 +0200
Samuel Gómez <[EMAIL PROTECTED]> wrote:

My problem comes on building the module. Specifically on "make", I
get this output:

Are you using make without apxs?

Use the apxs for your apache, and it will ensure you have all the
right DEFINEs for your system.  That applies to all apache versions.

In file included from /home/...../apache2/include/apr_strings.h:48,
from mod_brokenlink.c:4:
/home/...../apache2/include/apr.h:273: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘apr_off_t’

That'll be because you've got largefile (>2Gb) support enabled
on 2.2 (where it's a default).

Reply via email to