Problem while installaing mod_prox_html via apxs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello !

I'm on Debian Etch with apache debian package installed, i'm trying to install mod_proxy_html with the following command:

apxs -c -I/usr/include/libxml2/libxml/ -i mod_proxy_html.c

Please have a look at my error messages:

/usr/include/apache-1.3/http_protocol.h:74: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:75: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:76: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:77: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:78: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:79: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:92: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:93: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:95: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:96: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:98: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:105: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:106: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:107: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:108: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_protocol.h:109: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:110: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_protocol.h:112: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:119: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:123: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:124: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:125: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:126: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:130: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:131: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:155: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:156: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:157: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:158: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:165: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:166: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:170: error: expected declaration specifiers before ‘CORE_EXPORT’
/usr/include/apache-1.3/http_protocol.h:175: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:177: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_protocol.h:179: error: expected declaration specifiers before ‘API_EXPORT’
In file included from mod_proxy_html.c:67:
/usr/include/apache-1.3/http_config.h:51: warning: empty declaration
/usr/include/apache-1.3/http_config.h:65: error: storage class specified for parameter ‘command_rec’
/usr/include/apache-1.3/http_config.h:112: error: expected specifier-qualifier-list before ‘configfile_t’
/usr/include/apache-1.3/http_config.h:133: error: storage class specified for parameter ‘cmd_parms’
/usr/include/apache-1.3/http_config.h:139: error: expected ‘)’ before ‘*’ token
/usr/include/apache-1.3/http_config.h:140: warning: no semicolon at end of struct or union
/usr/include/apache-1.3/http_config.h:140: error: storage class specified for parameter ‘handler_rec’
/usr/include/apache-1.3/http_config.h:182: error: expected ‘)’ before ‘*’ token
/usr/include/apache-1.3/http_config.h:183: error: expected ‘;’ before ‘void’
/usr/include/apache-1.3/http_config.h:295: error: storage class specified for parameter ‘module’
/usr/include/apache-1.3/http_config.h:319: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:320: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:329: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_config.h:330: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_config.h:331: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_config.h:332: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_config.h:339: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:343: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:344: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:345: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:346: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:347: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:348: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:349: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:350: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_config.h:353: error: expected declaration specifiers before ‘API_EXPORT’
In file included from mod_proxy_html.c:68:
/usr/include/apache-1.3/http_log.h:65: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:75: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_log.h:78: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_log.h:81: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:83: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:87: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:88: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:90: error: expected declaration specifiers before ‘API_EXPORT_NONSTD’
/usr/include/apache-1.3/http_log.h:92: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:96: error: expected specifier-qualifier-list before ‘pool’
/usr/include/apache-1.3/http_log.h:104: error: storage class specified for parameter ‘piped_log’
/usr/include/apache-1.3/http_log.h:106: error: expected declaration specifiers before ‘API_EXPORT’
/usr/include/apache-1.3/http_log.h:107: error: expected declaration specifiers before ‘API_EXPORT’
mod_proxy_html.c:69:25: error: apr_strings.h: Aucun fichier ou répertoire de ce type
mod_proxy_html.c:70:22: error: apr_hash.h: Aucun fichier ou répertoire de ce type
mod_proxy_html.c:71:23: error: apr_xlate.h: Aucun fichier ou répertoire de ce type
mod_proxy_html.c:92: error: expected declaration specifiers before ‘module’
mod_proxy_html.c:107: error: storage class specified for parameter ‘tattr’
mod_proxy_html.c:111: error: storage class specified for parameter ‘meta’
mod_proxy_html.c:116: error: storage class specified for parameter ‘rewritecond’
mod_proxy_html.c:123: error: expected specifier-qualifier-list before ‘regex_t’
mod_proxy_html.c:126: error: expected specifier-qualifier-list before ‘rewritecond’
mod_proxy_html.c:127: error: storage class specified for parameter ‘urlmap’
mod_proxy_html.c:129: error: expected specifier-qualifier-list before ‘urlmap’
mod_proxy_html.c:146: error: storage class specified for parameter ‘proxy_html_conf’
mod_proxy_html.c:148: error: expected specifier-qualifier-list before ‘apr_xlate_t’
mod_proxy_html.c:151: error: storage class specified for parameter ‘conv_t’
mod_proxy_html.c:153: error: expected specifier-qualifier-list before ‘ap_filter_t’
mod_proxy_html.c:164: error: storage class specified for parameter ‘saxctxt’
mod_proxy_html.c:170: error: storage class specified for parameter ‘sax’
mod_proxy_html.c:172: error: storage class specified for parameter ‘rewrite_t’
mod_proxy_html.c:174: error: storage class specified for parameter ‘fpi_html’
mod_proxy_html.c:174: error: parameter ‘fpi_html’ is initialized
mod_proxy_html.c:176: error: storage class specified for parameter ‘fpi_html_legacy’
mod_proxy_html.c:176: error: parameter ‘fpi_html_legacy’ is initialized
mod_proxy_html.c:178: error: storage class specified for parameter ‘fpi_xhtml’
mod_proxy_html.c:178: error: parameter ‘fpi_xhtml’ is initialized
mod_proxy_html.c:180: error: storage class specified for parameter ‘fpi_xhtml_legacy’
mod_proxy_html.c:180: error: parameter ‘fpi_xhtml_legacy’ is initialized
mod_proxy_html.c:182: error: storage class specified for parameter ‘html_etag’
mod_proxy_html.c:182: error: parameter ‘html_etag’ is initialized
mod_proxy_html.c:183: error: storage class specified for parameter ‘xhtml_etag’
mod_proxy_html.c:183: error: parameter ‘xhtml_etag’ is initialized
mod_proxy_html.c:185: error: storage class specified for parameter ‘DEFAULT_DOCTYPE’
mod_proxy_html.c:185: error: parameter ‘DEFAULT_DOCTYPE’ is initialized
mod_proxy_html.c:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:200: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:256: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:321: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:337: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:353: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:358: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:435: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:447: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:463: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:491: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
mod_proxy_html.c:763: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_proxy_html.c:764: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_proxy_html.c:765: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_proxy_html.c:767: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:856: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_proxy_html.c:910: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:946: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1005: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
mod_proxy_html.c:1050: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1198: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1208: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1267: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1314: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1349: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1373: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1385: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1394: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1403: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1421: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1431: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘proxy_html_cmds’
mod_proxy_html.c:1487: error: expected declaration specifiers before ‘;’ token
mod_proxy_html.c:1488: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1506: error: expected ‘)’ before ‘*’ token
mod_proxy_html.c:1512: error: expected declaration specifiers before ‘module’
mod_proxy_html.c:1520: error: expected declaration specifiers before ‘;’ token
mod_proxy_html.c:1520: error: old-style parameter declarations in prototyped function definition
/usr/include/apache-1.3/http_protocol.h:34: error: parameter name omitted
mod_proxy_html.c:1520: error: expected ‘{’ at end of input
apxs:Break: Command failed with rc=1


Despite i have not the first lines (the > doesnt workwith apxs), have you an idea to solve the problem ?

Thanks !
Vianney

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux