Problem bei Installation von mod_cband

Apache, Lighttpd, nginx, Cherokee
sven-reichelt
Posts: 92
Joined: 2003-04-25 15:08

Problem bei Installation von mod_cband

Post by sven-reichelt »

Hallo!

Ich habe gerade versucht mod_cband zu installieren.
Jedoch bin ich beim kompilieren auf folgende Warnungen gestoßen:
server:~/mod-cband-0.9.7.4 # ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for apr_palloc in -laprutil... no
checking for an ANSI C-conforming const... yes
checking for apxs... no
checking for apxs2... apxs2
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
configure: creating ./config.status
config.status: creating Makefile
server:~/mod-cband-0.9.7.4 # make

apxs2 -Wc,-Wall -Wc,-DDST_CLASS=3 -c src/mod_cband.c
/usr/share/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -fno-strict-aliasing -D_LARGEFILE_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_DEBUG -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread -I/usr/include/apache2 -I/usr/include/apache2 -I/usr/include/apache2 -Wall -DDST_CLASS=3 -c -o src/mod_cband.lo src/mod_cband.c && touch src/mod_cband.slo
In file included from src/mod_cband.h:44,
from src/mod_cband.c:61:
src/libpatricia.c:24: warning: function declaration isnât a prototype
In file included from src/mod_cband.h:44,
from src/mod_cband.c:61:
src/libpatricia.c:129: warning: no previous prototype for âprefix_tocharâ
src/libpatricia.c:138: warning: no previous prototype for âcomp_with_maskâ
src/libpatricia.c:190: warning: no previous prototype for âmy_inet_ptonâ
src/libpatricia.c:235: warning: no previous prototype for âNew_Prefix2â
src/libpatricia.c:280: warning: no previous prototype for âNew_Prefixâ
src/libpatricia.c:358: warning: no previous prototype for âRef_Prefixâ
src/libpatricia.c:372: warning: no previous prototype for âDeref_Prefixâ
src/mod_cband.c:73: warning: type qualifiers ignored on function return type
src/mod_cband.c:81: warning: no previous prototype for âmod_cband_shmem_seg_newâ
src/mod_cband.c:108: warning: no previous prototype for âmod_cband_shmem_initâ
src/mod_cband.c:127: warning: no previous prototype for âmod_cband_shmem_removeâ
src/mod_cband.c:132: warning: no previous prototype for âmod_cband_sem_initâ
src/mod_cband.c:148: warning: no previous prototype for âmod_cband_sem_removeâ
src/mod_cband.c:156: warning: no previous prototype for âmod_cband_sem_downâ
src/mod_cband.c:167: warning: no previous prototype for âmod_cband_sem_upâ
src/mod_cband.c:178: warning: no previous prototype for âmod_cband_remote_hosts_initâ
src/mod_cband.c:209: warning: no previous prototype for âmod_cband_get_virtualhost_entry_â
src/mod_cband.c:261: warning: no previous prototype for âmod_cband_get_virtualhost_entryâ
src/mod_cband.c:280: warning: no previous prototype for âmod_cband_get_user_entryâ
src/mod_cband.c:332: warning: no previous prototype for âmod_cband_get_class_entryâ
src/mod_cband.c:377: warning: no previous prototype for âmod_cband_check_duplicateâ
src/mod_cband.c:391: warning: no previous prototype for âmod_cband_check_virtualhost_commandâ
src/mod_cband.c:401: warning: no previous prototype for âmod_cband_check_virtualhost_class_commandâ
src/mod_cband.c:414: warning: no previous prototype for âmod_cband_check_user_commandâ
src/mod_cband.c:540: warning: no previous prototype for âmod_cband_get_next_charâ
src/mod_cband.c:556: warning: no previous prototype for âmod_cband_get_next_notcharâ
src/mod_cband.c:787: warning: no previous prototype for âmod_cband_check_IPâ
src/mod_cband.c:1015: warning: no previous prototype for âmod_cband_create_timeâ
src/mod_cband.c:1037: warning: no previous prototype for âmod_cband_create_traffic_sizeâ
src/mod_cband.c:1072: warning: no previous prototype for âmod_cband_create_periodâ
src/mod_cband.c:1314: warning: no previous prototype for âmod_cband_get_dstâ
src/mod_cband.c:1345: warning: no previous prototype for âmod_cband_get_remote_hostâ
src/mod_cband.c:1400: warning: no previous prototype for âmod_cband_safe_changeâ
src/mod_cband.c:1411: warning: no previous prototype for âmod_cband_change_remote_connections_lockâ
src/mod_cband.c:1428: warning: no previous prototype for âmod_cband_set_remote_request_timeâ
src/mod_cband.c:1441: warning: no previous prototype for âmod_cband_set_remote_current_speedâ
src/mod_cband.c:1454: warning: no previous prototype for âmod_cband_set_remote_max_connectionsâ
src/mod_cband.c:1467: warning: no previous prototype for âmod_cband_set_remote_last_refreshâ
src/mod_cband.c:1480: warning: no previous prototype for âmod_cband_set_remote_total_connectionsâ
src/mod_cband.c:1493: warning: no previous prototype for âmod_cband_get_remote_total_connectionsâ
src/mod_cband.c:1501: warning: no previous prototype for âmod_cband_get_remote_connections_speed_lockâ
src/mod_cband.c:1523: warning: no previous prototype for âmod_cband_change_remote_total_connections_lockâ
src/mod_cband.c:1540: warning: no previous prototype for âmod_cband_get_remote_connection_timeâ
src/mod_cband.c:1551: warning: no previous prototype for âmod_cband_get_remote_connectionsâ
src/mod_cband.c:1562: warning: no previous prototype for âmod_cband_remove_remote_hostâ
src/mod_cband.c:1572: warning: no previous prototype for âmod_cband_get_dst_speed_lockâ
src/mod_cband.c:1659: warning: no previous prototype for âmod_cband_get_scoreâ
src/mod_cband.c:1675: warning: no previous prototype for âmod_cband_get_score_allâ
src/mod_cband.c:1696: warning: no previous prototype for âmod_cband_save_scoreâ
src/mod_cband.c:1722: warning: no previous prototype for âmod_cband_flush_score_lockâ
src/mod_cband.c:1745: warning: no previous prototype for âmod_cband_update_scoreâ
src/mod_cband.c:1757: warning: no previous prototype for âmod_cband_clear_score_lockâ
src/mod_cband.c:1772: warning: no previous prototype for âmod_cband_update_score_cacheâ
src/mod_cband.c:1794: warning: no previous prototype for âmod_cband_save_score_cacheâ
src/mod_cband.c:1816: warning: no previous prototype for âmod_cband_get_start_timeâ
src/mod_cband.c:1824: warning: no previous prototype for âmod_cband_set_start_timeâ
src/mod_cband.c:1837: warning: no previous prototype for âmod_cband_get_speed_lockâ
src/mod_cband.c:1867: warning: no previous prototype for âmod_cband_get_real_speedâ
src/mod_cband.c:1884: warning: no previous prototype for âmod_cband_update_speedâ
src/mod_cband.c:1932: warning: no previous prototype for âmod_cband_update_speed_lockâ
src/mod_cband.c:1943: warning: no previous prototype for âmod_cband_set_overlimit_speedâ
src/mod_cband.c:1957: warning: no previous prototype for âmod_cband_set_overlimit_speed_lockâ
src/mod_cband.c:1971: warning: no previous prototype for âmod_cband_set_normal_speedâ
src/mod_cband.c:1985: warning: no previous prototype for âmod_cband_set_normal_speed_lockâ
src/mod_cband.c:1999: warning: no previous prototype for âmod_cband_check_virtualhost_refreshâ
src/mod_cband.c:2018: warning: no previous prototype for âmod_cband_check_user_refreshâ
src/mod_cband.c:2037: warning: no previous prototype for âmod_cband_resetâ
src/mod_cband.c:2049: warning: no previous prototype for âmod_cband_reset_virtualhostâ
src/mod_cband.c:2079: warning: no previous prototype for âmod_cband_reset_userâ
src/mod_cband.c:2106: warning: no previous prototype for âmod_cband_get_slice_limitâ
src/mod_cband.c:2125: warning: no previous prototype for âmod_cband_status_print_limitâ
src/mod_cband.c:2171: warning: no previous prototype for âmod_cband_status_print_speedâ
src/mod_cband.c:2214: warning: no previous prototype for âmod_cband_status_print_connectionsâ
src/mod_cband.c:2257: warning: no previous prototype for âmod_cband_status_print_virtualhost_rowâ
src/mod_cband.c:2299: warning: no previous prototype for âmod_cband_status_print_user_rowâ
src/mod_cband.c:2334: warning: no previous prototype for âmod_cband_status_print_virtualhost_XML_rowâ
src/mod_cband.c:2404: warning: no previous prototype for âmod_cband_status_print_user_XML_rowâ
src/mod_cband.c:2938: warning: no previous prototype for âmod_cband_check_connections_speedâ
src/mod_cband.c:3080: warning: no previous prototype for âmod_cband_check_limitâ
src/mod_cband.c:3104: warning: no previous prototype for âmod_cband_get_virtualhost_limitsâ
src/mod_cband.c:3129: warning: no previous prototype for âmod_cband_get_virtualhost_usagesâ
src/mod_cband.c:3142: warning: no previous prototype for âmod_cband_get_user_limitsâ
src/mod_cband.c:3167: warning: no previous prototype for âmod_cband_get_user_usagesâ
src/mod_cband.c:3180: warning: no previous prototype for âmod_cband_check_limitsâ
src/mod_cband.c:3264: warning: no previous prototype for âmod_cband_get_shared_speed_lockâ
src/mod_cband.c:3303: warning: no previous prototype for âmod_cband_log_bucketâ
src/mod_cband.c:3333: warning: no previous prototype for âmod_cband_change_total_connections_lockâ
src/mod_cband.c:3348: warning: no previous prototype for âmod_cband_change_shared_connections_lockâ
src/mod_cband.c:3363: warning: no previous prototype for âmod_cband_change_shared_speed_lockâ
/usr/share/apache2/build/libtool --silent --mode=link gcc -o src/mod_cband.la -rpath /usr/lib64/apache2 -module -avoid-version src/mod_cband.lo

write "make install" to install module
Ich verwende SuSE 10.0 OSS 64-Bit zusammen mit AMD Opteron 152.

Weiß jemand damit was anzufangen? Mir sagt "no previous prototype" nix!

MfG
Sven Reichelt
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53

Re: Problem bei Installation von mod_cband

Post by Roger Wilco »

Das sind keine Fehlermeldungen, sondern nur Warnungen über den Programmierstil.