[ipv6calc] compiling error

Peter Bieringer pb at bieringer.de
Wed Oct 5 20:14:58 CEST 2011


Hi,

Am 05.10.2011 18:36, schrieb Jimmy Andelhofs:
> 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

which GeoIP-devel version are you using and which underlying OS version?

Please send me also the output of
	 ./configure --enable-geoip

Perhaps I have to catch older GeoIP versions without IPv6 support.

For the meantime please use version 0.82.1, this is the version before 
enabling IPv6 in GeoIP.

Regards,
	Peter



More information about the ipv6calc mailing list