On 03.08.2011 09:48, Tony Abo wrote:
>> From: Henrik Strand [mailto:henrik.str...@axis.com]
>> Sent: Wednesday, 3 August 2011 5:10 PM
>> To: modules-dev@httpd.apache.org
>> Subject: mod_proxy_fdpass + httpd-2.2.19
>>
>> Hi,
>>
>> I'm trying to back-port Apache Module mod_proxy_fdpass to httpd-2.2.19,
>> and building from source, but are getting the following error message
>> when starting apachectl:
>>
>> httpd: Module "(null)" is not compatible with this version of Apache
>> (found 0, need 20051115). Please contact the vendor for the correct
>> version.
>>
>>
>> I've been googling an answer but only found that I should contact the
>> module vendor, which in this case would be me?! =)
>>
>> How can I fix this?
>>
>>
>> Thanks in advance.
>>
>> Best Regards,
>> Henrik
>>
> 
> Does the module data that you pass to ap_get_module_config() have the 
> constants MODULE_MAGIC_NUMBER_MAJOR and MODULE_MAGIC_NUMBER_MINOR in the 
> first two elements? I think that is where the 20051115 should be coming from. 
> The module name should be in that structure too. Maybe you are using compiler 
> switches that are making int be 32 bit instead of 64 bit--thus confusing the 
> data in the structure?

Trunk uses

...

AP_DECLARE_MODULE(proxy_fdpass) = {
    STANDARD20_MODULE_STUFF,
...

The 2.2. branch uses:


module AP_MODULE_DECLARE_DATA proxy_connect_module = {
    STANDARD20_MODULE_STUFF,

The change for trunk was necessary to support per module log levels.

Although the page is meant for upgrading and not for backporting,

http://httpd.apache.org/docs/trunk/en/developer/new_api_2_4.html

might be useful for you.

Regards,

Rainer

Reply via email to