[OpenSIPS-Devel] Error compiling Compiling mmgeoip.c (trunk version)

Iñaki Baz Castillo ibc at aliax.net
Tue Mar 24 10:51:54 CET 2009


make[3]: se ingresa al directorio
`/usr/src/opensips-trunk/sources/modules/mmgeoip'
Compiling mmgeoip.c
gcc -fPIC -DPIC -Wall -g -O2 -Wcast-align -DMOD_NAME='"mmgeoip"'
-DNAME='"opensips"' -DVERSION='"1.6.0dev0-notls"' -DARCH='"x86_64"'
-DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64 -D__OS_linux
-D__SMP_yes -DCFG_DIR='"/etc/opensips/"' -DPKG_MALLOC -DSHM_MEM
-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DSVNREVISION='"2:5533"'  -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
-DHAVE_SELECT -I/usr/local/include -c mmgeoip.c -o mmgeoip.o
mmgeoip.c: In function ‘mod_init’:
mmgeoip.c:56: error: ‘GEOIP_MMAP_CACHE’ undeclared (first use in this function)
mmgeoip.c:56: error: (Each undeclared identifier is reported only once
mmgeoip.c:56: error: for each function it appears in.)
mmgeoip.c: In function ‘mmg_lookup_cmd’:
mmgeoip.c:202: warning: implicit declaration of function
‘GeoIP_region_name_by_code’
mmgeoip.c:202: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’
mmgeoip.c:202: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’
mmgeoip.c:206: warning: implicit declaration of function
‘GeoIP_time_zone_by_country_and_region’
mmgeoip.c:206: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’
mmgeoip.c:206: warning: format ‘%s’ expects type ‘char *’, but
argument 4 has type ‘int’
make[3]: *** [mmgeoip.o] Error 1

Note: I do "make deb-etch"

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the Devel mailing list