Hi, I'm trying to run the examples of http22 units in a FreeBSD 7.2 for i386, 
with Apache 2.2.11.

The examples compiles with FPC 2.2.4, but when I try to run "apachectl start", 
it crashes with this message:

httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: API 
module structure 'hello_module' in file 
/usr/local/libexec/apache22/mod_hello.so is garbled - expected signature 
41503232 but saw 00000000 - perhaps this is not an Apache module DSO, or was 
compiled for a different Apache version?

I downloaded the units to test this from 
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/httpd22

To compile them I used:

fpc -WR -XX -Xs -B -Fuhttpd22/src -Fuhttpd22/src/apr -Fuhttpd22/src/apriconv  
mod_hello.pp

Any help will be appreciated!.
Leonardo.



_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to