[ipv6calc] compiling error

Jimmy Andelhofs jimmy at locutus.be
Wed Oct 5 18:36:01 CEST 2011


make[1]: Entering directory `/root/ipv6calc/ipv6calc'
gcc -O2 -Wall -g  -I../ -I../lib/ -c ipv6calc.c
gcc -O2 -Wall -g  -I../ -I../lib/ -c showinfo.c
showinfo.c: In function 'print_geoip':
showinfo.c:315: error: 'GEOIP_COUNTRY_EDITION_V6' undeclared (first use 
in this function)
showinfo.c:315: error: (Each undeclared identifier is reported only once
showinfo.c:315: error: for each function it appears in.)
showinfo.c:320: warning: implicit declaration of function 
'GeoIP_country_code_by_addr_v6'
showinfo.c:320: warning: assignment makes pointer from integer without a 
cast
showinfo.c:321: warning: implicit declaration of function 
'GeoIP_country_name_by_addr_v6'
showinfo.c:321: warning: assignment makes pointer from integer without a 
cast
make[1]: *** [showinfo.o] Error 1
make[1]: Leaving directory `/root/ipv6calc/ipv6calc'
make: *** [ipv6calc-make] Error 2

Compiling using: ./configure --enable-geoip

Kind regards,
Jimmy



More information about the ipv6calc mailing list