apxs:Error: Command failed with rc=65536


  • 0

    apxs -i -a -L/usr/lib64 -I/usr/include -lGeoIP -c mod_geoip.c
    /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wformat-security -fno-strict-aliasing -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -c -o mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
    In file included from /usr/include/httpd/httpd.h:43,
    from mod_geoip.c:55:
    /usr/include/httpd/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
    /usr/include/httpd/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
    In file included from mod_geoip.c:55:
    /usr/include/httpd/httpd.h:54:25: error: apr_buckets.h: No such file or directory
    /usr/include/httpd/httpd.h:755:21: error: apr_uri.h: No such file or directory
    In file included from mod_geoip.c:55:
    /usr/include/httpd/httpd.h:957: error: expected specifier-qualifier-list before ?.pr_uri_t?
    /usr/include/httpd/httpd.h:1127: error: expected specifier-qualifier-list before ?.PR_RING_ENTRY?
    /usr/include/httpd/httpd.h:1244: error: expected specifier-qualifier-list before ?.pr_bucket_brigade?
    /usr/include/httpd/httpd.h:1252: error: expected specifier-qualifier-list before ?.pr_bucket_brigade?
    In file included from mod_geoip.c:56:
    /usr/include/httpd/http_config.h:975: error: expected ?.?.before ?.nt?
    In file included from /usr/include/httpd/http_protocol.h:34,
    from mod_geoip.c:57:
    /usr/include/httpd/util_filter.h:137: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:139: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:141: error: expected declaration specifiers or ?...?.before ?.pr_read_type_e?
    /usr/include/httpd/util_filter.h:299: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:301: error: expected declaration specifiers or ?...?.before ?.pr_read_type_e?
    /usr/include/httpd/util_filter.h:313: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    In file included from /usr/include/httpd/http_protocol.h:34,
    from mod_geoip.c:57:
    /usr/include/httpd/util_filter.h:495: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:496: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:506: error: expected ?.?.before ?.?.token
    /usr/include/httpd/util_filter.h:514: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:551: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:562: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/util_filter.h:565: error: format string argument not a string type
    In file included from mod_geoip.c:57:
    /usr/include/httpd/http_protocol.h:45: error: expected ?.?.before ?.oid?
    /usr/include/httpd/http_protocol.h:77: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/http_protocol.h:567: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/http_protocol.h:599: error: expected ?.?.before ?.nt?
    /usr/include/httpd/http_protocol.h:638: error: expected specifier-qualifier-list before ?.pr_bucket_refcount?
    /usr/include/httpd/http_protocol.h:646: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?.attribute_?.before ?.p_bucket_type_error?
    /usr/include/httpd/http_protocol.h:663: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?.attribute_?.before ?.?.token
    /usr/include/httpd/http_protocol.h:674: error: expected ?.?. ?.?. ?.?. ?.sm?.or ?.attribute_?.before ?.?.token
    /usr/include/httpd/http_protocol.h:678: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/http_protocol.h:679: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/http_protocol.h:681: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    /usr/include/httpd/http_protocol.h:682: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    In file included from mod_geoip.c:58:
    /usr/include/httpd/http_log.h:350: error: expected ?.?.before ?.oid?
    In file included from mod_geoip.c:61:
    /usr/include/httpd/util_script.h:104: error: expected declaration specifiers or ?...?.before ?.pr_bucket_brigade?
    mod_geoip.c: In function ?.eoip_per_dir?.
    mod_geoip.c:325: error: ?.equest_rec?.has no member named ?.er_dir_config?
    mod_geoip.c: In function ?.eoip_register_hooks?.
    mod_geoip.c:898: warning: implicit declaration of function ?.p_hook_header_parser?
    mod_geoip.c:898: error: ?.PR_HOOK_FIRST?.undeclared (first use in this function)
    mod_geoip.c:898: error: (Each undeclared identifier is reported only once
    mod_geoip.c:898: error: for each function it appears in.)
    mod_geoip.c:903: warning: implicit declaration of function ?.p_hook_post_read_request?
    mod_geoip.c:904: error: ?.PR_HOOK_MIDDLE?.undeclared (first use in this function)
    mod_geoip.c:907: warning: implicit declaration of function ?.p_hook_child_init?
    mod_geoip.c:911: warning: implicit declaration of function ?.p_hook_post_config?
    apxs:Error: Command failed with rc=65536

    When i installed geoip for my website camisetas clubes


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.