I am trying to recompile some modules from Apache 2.0 to use under 2.2.0,
and get the following:
In file included from /usr/local/apache2/include/ap_config.h:25,
from /usr/local/apache2/include/httpd.h:43,
from mod_rexx.h:72,
from mod_rexx.c:25:
/usr/local/apache2/include/apr.h:270: error: syntax error before 'r_off_t'
/usr/local/apache2/include/apr.h:270: warning: type defaults to '' in
declaration of 'apr_off_t'
/usr/local/apache2/include/apr.h:270: warning: data definition has no type=
or storage class
In file included from /usr/local/apache2/include/apr_file_io.h:29,
from /usr/local/apache2/include/apr_network_io.h:26,
from /usr/local/apache2/include/httpd.h:53,
from mod_rexx.h:72,
from mod_rexx.c:25:
/usr/local/apache2/include/apr_file_info.h:204: error: syntax error before
'apr_off_t'
/usr/local/apache2/include/apr_file_info.h:204: warning: no semicolon at end
of struct or union
/usr/local/apache2/include/apr_file_info.h:206: warning: type defaults to
'' in declaration
of 'csize'
.... and so on
This appears to be caused by a missing typedef for off64_t and others, but I
have run out of ideas on how to fix it. Any suggestions?
don
support (at) microtechniques.com