Thread: >>> Geoip >>>
View Single Post
Old 10-19-2003, 07:09 PM  
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
>>> Geoip >>>

anyone get this installed without errors?

root@srv01 [/tmp/mod_geoip_1.2.3]# apxs -cia -I/usr/local/include -L/usr/local/lib -lGeoIP mod_geoip.c
/usr/lib/httpd/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/kerberos/include -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNO_DBM_REWRITEMAP -I/usr/include/httpd -I/usr/local/include -c -o mod_geoip.lo mod_geoip.c && touch mod_geoip.slo
mod_geoip.c:108: parse error before "geoip_module"
mod_geoip.c:108: warning: data definition has no type or storage class
mod_geoip.c:110: parse error before "proxy_add_uri_module"
mod_geoip.c:110: warning: data definition has no type or storage class
mod_geoip.c:121: parse error before '*' token
mod_geoip.c: In function `geoip_server_config':
mod_geoip.c:122: `p' undeclared (first use in this function)
mod_geoip.c:122: (Each undeclared identifier is reported only once
mod_geoip.c:122: for each function it appears in.)
mod_geoip.c:122: warning: initialization makes pointer from integer without a cast
mod_geoip.c: In function `geoip_enable':
mod_geoip.c:138: request for member `module_index' in something not a structure or union
mod_geoip.c: In function `geoip_set_filename':
mod_geoip.c:146: request for member `module_index' in something not a structure or union
mod_geoip.c: In function `geoip_set_output':
mod_geoip.c:164: request for member `module_index' in something not a structure or union
mod_geoip.c:176: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:176: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c: In function `geoip_set_flags':
mod_geoip.c:184: request for member `module_index' in something not a structure or union
mod_geoip.c: At top level:
mod_geoip.c:192: warning: initialization from incompatible pointer type
mod_geoip.c:194: warning: initialization from incompatible pointer type
mod_geoip.c:196: warning: initialization from incompatible pointer type
mod_geoip.c:198: warning: initialization from incompatible pointer type
mod_geoip.c: In function `geoip_post_read_request':
mod_geoip.c:204: request for member `module_index' in something not a structure or union
mod_geoip.c:229: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:229: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c:237: warning: passing arg 4 of `ap_log_error' makes integer from pointer without a cast
mod_geoip.c:237: warning: passing arg 5 of `ap_log_error' from incompatible pointer type
mod_geoip.c:237: too few arguments to function `ap_log_error'
mod_geoip.c: At top level:
mod_geoip.c:331: parse error before "pool"
mod_geoip.c: In function `geoip_child_exit':
mod_geoip.c:333: `r' undeclared (first use in this function)
mod_geoip.c:333: request for member `module_index' in something not a structure or union
mod_geoip.c: At top level:
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote