[fpc-devel] Apache 2.2 modules for FreeBSD

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Jul 24 09:52:15 CEST 2009


On 24 Jul 2009, at 02:59, Leonardo M. Ramé wrote:

> 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?

Creating dynamic libraries with FPC does not work under FreeBSD at  
this time.


Jonas


More information about the fpc-devel mailing list