Date: Mon, 5 Mar 2012 18:37:20 +0100 From: Norman Khine <norman@khine.net> To: freebsd-ports@freebsd.org Subject: installing GeoIP Message-ID: <CAKgQ7UJogA3iH=XiFGz46NBLTdj-bet=Bv=CWuuQeYsr0rXeuQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I have installed the GeoIP port from ports/net/GeoIP/, using: # make all install clean but when i run the example from the website, i get this error: $ gcc -lGeoIP example.c example.c:1:19: error: GeoIP.h: No such file or directory example.c: In function 'main': example.c:3: error: 'GeoIP' undeclared (first use in this function) example.c:3: error: (Each undeclared identifier is reported only once example.c:3: error: for each function it appears in.) example.c:3: error: 'gi' undeclared (first use in this function) example.c:4: error: 'GEOIP_STANDARD' undeclared (first use in this function) example.c:5: warning: incompatible implicit declaration of built-in function 'printf' what am i missing? thanks -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKgQ7UJogA3iH=XiFGz46NBLTdj-bet=Bv=CWuuQeYsr0rXeuQ>