Danke Huschi
Danke Huschi,
habe den gcc4.3 (Plus Abhängigkeiten ->gcc43, cpp43 und libgcc43) installiert.
Hat auch gleich geklappt ;-)
Jetz kommt:
Diese Warnmeldungen, kann man die Ignorieren, oder was muss ich dagegen machen !?
Danke nochmals und lG. bacci
Danke Huschi,
habe den gcc4.3 (Plus Abhängigkeiten ->gcc43, cpp43 und libgcc43) installiert.
Hat auch gleich geklappt ;-)
Jetz kommt:
Code:
h1*****:/usr/local/src/mod_evasive # /usr/sbin/apxs2 -cia mod_evasive20.c
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -fPIC -Wall -fno-strict-aliasing -DLDAP_DEPRECATED -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_evasive20.lo mod_evasive20.c && touch mod_evasive20.slo
mod_evasive20.c: In function ‘access_checker’:
mod_evasive20.c:212: warning: implicit declaration of function ‘getpid’
mod_evasive20.c:212: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
mod_evasive20.c:229: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
mod_evasive20.c: In function ‘destroy_hit_list’:
mod_evasive20.c:301: warning: control reaches end of non-void function
mod_evasive20.c: In function ‘create_hit_list’:
mod_evasive20.c:118: warning: control reaches end of non-void function
/usr/lib/apr-1/build/libtool --silent --mode=link gcc -o mod_evasive20.la -rpath /usr/lib/apache2 -module -avoid-version mod_evasive20.lo
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/libtool' mod_evasive20.la /usr/lib/apache2
/usr/lib/apr-1/build/libtool --mode=install cp mod_evasive20.la /usr/lib/apache2/
cp .libs/mod_evasive20.so /usr/lib/apache2/mod_evasive20.so
cp .libs/mod_evasive20.lai /usr/lib/apache2/mod_evasive20.la
PATH="$PATH:/sbin" ldconfig -n /usr/lib/apache2
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/apache2
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 755 /usr/lib/apache2/mod_evasive20.so
activating evasive20
Diese Warnmeldungen, kann man die Ignorieren, oder was muss ich dagegen machen !?
Danke nochmals und lG. bacci