Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problems installing mod_evasive

Discussion in 'General Discussion' started by BigBirdy, Aug 3, 2007.

  1. BigBirdy

    BigBirdy Active Member

    Joined:
    Jun 10, 2007
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    151
    I am running the latest cpanel/whm with apache 1.3.37 and I downloaded the latest mod_evasive 1.10.1, untarred to a temp folder, entered that folder and ran "/usr/sbin/apxs -iac mod_evasive.c" but below is the output. Any suggestions?


    /mnt/Downloads/mod_evasive# /usr/sbin/apxs -iac mod_evasive.c
    /bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o mod_evasive.lo mod_evasive.c && touch mod_evasive.slo
    mod_evasive.c:43: error: syntax error before "evasive_module"
    mod_evasive.c:43: warning: data definition has no type or storage class
    mod_evasive.c:116: error: syntax error before "pool"
    mod_evasive.c: In function `check_access':
    mod_evasive.c:128: error: request for member `sin_addr' in something not a structure or union
    mod_evasive.c:129: error: request for member `sin_addr' in something not a structure or union
    mod_evasive.c:146: error: `FORBIDDEN' undeclared (first use in this function)
    mod_evasive.c:146: error: (Each undeclared identifier is reported only once
    mod_evasive.c:146: error: for each function it appears in.)
    mod_evasive.c:245: warning: passing arg 4 of `ap_log_rerror' makes integer from pointer without a cast
    mod_evasive.c:245: warning: passing arg 5 of `ap_log_rerror' from incompatible pointer type
    mod_evasive.c: At top level:
    mod_evasive.c:251: error: syntax error before "pool"
    mod_evasive.c:655: warning: initialization from incompatible pointer type
    mod_evasive.c:658: warning: initialization from incompatible pointer type
    mod_evasive.c:661: warning: initialization from incompatible pointer type
    mod_evasive.c:664: warning: initialization from incompatible pointer type
    mod_evasive.c:667: warning: initialization from incompatible pointer type
    mod_evasive.c:670: warning: initialization from incompatible pointer type
    mod_evasive.c:673: warning: initialization from incompatible pointer type
    mod_evasive.c:676: warning: initialization from incompatible pointer type
    mod_evasive.c:679: warning: initialization from incompatible pointer type
    mod_evasive.c:682: warning: initialization from incompatible pointer type
    mod_evasive.c:688: error: syntax error before "evasive_module"
    mod_evasive.c:689: error: `this_module_needs_to_be_ported_to_apache_2_0' undeclared here (not in a function)
    mod_evasive.c:689: error: initializer element is not constant
    mod_evasive.c:689: error: (near initialization for `evasive_module')
    mod_evasive.c:690: warning: excess elements in scalar initializer
    mod_evasive.c:690: warning: (near initialization for `evasive_module')
    mod_evasive.c:691: warning: excess elements in scalar initializer
    mod_evasive.c:691: warning: (near initialization for `evasive_module')
    mod_evasive.c:692: warning: excess elements in scalar initializer
    mod_evasive.c:692: warning: (near initialization for `evasive_module')
    mod_evasive.c:693: warning: excess elements in scalar initializer
    mod_evasive.c:693: warning: (near initialization for `evasive_module')
    mod_evasive.c:694: warning: excess elements in scalar initializer
    mod_evasive.c:694: warning: (near initialization for `evasive_module')
    mod_evasive.c:695: warning: excess elements in scalar initializer
    mod_evasive.c:695: warning: (near initialization for `evasive_module')
    mod_evasive.c:696: warning: excess elements in scalar initializer
    mod_evasive.c:696: warning: (near initialization for `evasive_module')
    mod_evasive.c:697: warning: excess elements in scalar initializer
    mod_evasive.c:697: warning: (near initialization for `evasive_module')
    mod_evasive.c:698: warning: excess elements in scalar initializer
    mod_evasive.c:698: warning: (near initialization for `evasive_module')
    mod_evasive.c:699: warning: excess elements in scalar initializer
    mod_evasive.c:699: warning: (near initialization for `evasive_module')
    mod_evasive.c:700: warning: excess elements in scalar initializer
    mod_evasive.c:700: warning: (near initialization for `evasive_module')
    mod_evasive.c:701: warning: excess elements in scalar initializer
    mod_evasive.c:701: warning: (near initialization for `evasive_module')
    mod_evasive.c:702: warning: excess elements in scalar initializer
    mod_evasive.c:702: warning: (near initialization for `evasive_module')
    mod_evasive.c:703: warning: excess elements in scalar initializer
    mod_evasive.c:703: warning: (near initialization for `evasive_module')
    mod_evasive.c:704: warning: excess elements in scalar initializer
    mod_evasive.c:704: warning: (near initialization for `evasive_module')
    mod_evasive.c:705: warning: excess elements in scalar initializer
    mod_evasive.c:705: warning: (near initialization for `evasive_module')
    mod_evasive.c:706: warning: excess elements in scalar initializer
    mod_evasive.c:706: warning: (near initialization for `evasive_module')
    mod_evasive.c:708: warning: excess elements in scalar initializer
    mod_evasive.c:708: warning: (near initialization for `evasive_module')
    mod_evasive.c:708: warning: data definition has no type or storage class
    apxs:Error: Command failed with rc=65536
     
  2. grabyourhosting

    grabyourhosting Well-Known Member

    Joined:
    Jan 18, 2007
    Messages:
    71
    Likes Received:
    3
    Trophy Points:
    158
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice