I think i made it.
When i compile programs with g++ it works but when i want to "make" it give me another
error :
make
Making all in libGeoIP
make[1]: Entering directory `/root/GeoIP-1.2.1/libGeoIP'
/bin/sh ../libtool --mode=compile g++ -DPACKAGE=\"GeoIP\" -DVERSION=\"1.2.1\" -DHAVE_DLFCN_H=1 -DDEFAULT_DBDIR=\"NONE/share/GeoIP\" -I. -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -c GeoIP.c
rm -f .libs/GeoIP.lo
g++ -DPACKAGE=\"GeoIP\" -DVERSION=\"1.2.1\" -DHAVE_DLFCN_H=1 -DDEFAULT_DBDIR=\"NONE/share/GeoIP\" -I. -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -c GeoIP.c -fPIC -DPIC -o .libs/GeoIP.lo
GeoIP.c: In function `void _setup_dbfilename()':
GeoIP.c:74: error: invalid conversion from `void*' to `char**'
GeoIP.c: In function `void _setup_segments(GeoIP*)':
GeoIP.c:143: error: invalid conversion from `void*' to `unsigned int*'
GeoIP.c:147: error: invalid conversion from `void*' to `unsigned int*'
GeoIP.c:154: error: invalid conversion from `void*' to `unsigned int*'
GeoIP.c:169: error: invalid conversion from `void*' to `unsigned int*'
GeoIP.c: In function `GeoIP* GeoIP_open(const char*, int)':
GeoIP.c:296: error: invalid conversion from `void*' to `char*'
GeoIP.c: In function `char* GeoIP_database_info(GeoIP*)':
GeoIP.c:450: error: invalid conversion from `void*' to `char*'
GeoIP.c: In function `GeoIPRegion* _get_region(GeoIP*, long unsigned int)':
GeoIP.c:468: error: invalid conversion from `void*' to `GeoIPRegion*'
GeoIP.c:480: error: invalid conversion from `void*' to `char*'
GeoIP.c:496: error: invalid conversion from `void*' to `char*'
GeoIP.c:505: error: invalid conversion from `void*' to `char*'
GeoIP.c: In function `char* _get_org(GeoIP*, long unsigned int)':
GeoIP.c:573: warning: comparison between signed and unsigned integer
expressions
GeoIP.c:581: error: invalid conversion from `void*' to `char*'
GeoIP.c:584: error: invalid conversion from `unsigned char*' to `char*'
GeoIP.c:585: error: invalid conversion from `void*' to `char*'
make[1]: *** [GeoIP.lo] Error 1
make[1]: Leaving directory `/root/GeoIP-1.2.1/libGeoIP'
make: *** [all-recursive] Error 1