Steve
I did commit the change. Other than that is everything working? 

Luca

On Jun 25, 2013, at 5:20 PM, Steve Clark <[email protected]> wrote:

> Hi Luca,
> 
> I am not using geoip.
> 
> I had to add the following to Lua.cpp to get it to compile.
> 
>   lua_push_str_table_entry(vm, "version.luajit", (char*)LUAJIT_VERSION);
> #ifdef HAVE_GEOIP
>   lua_push_str_table_entry(vm, "version.geoip", (char*)GeoIP_lib_version());
> #endif
>   
> 
> 
> $ svn update
> At revision 6519.
> Tue Jun 25 11:15:44 EDT 2013
> 
> $ gmake
> g++  AddressResolution.o  Categorization.o  CollectorInterface.o  EthStats.o  
> Flow.o  FlowHash.o  GenericHash.o  GenericHashEntry.o  Geolocation.o  Host.o  
> HostHash.o  HTTPserver.o  IpAddress.o  Lua.o  main.o  Mutex.o  NdpiStats.o  
> NetworkInterface.o  Ntop.o  NtopGlobals.o  ntop_win32.o  patricia.o  
> PcapInterface.o  PeriodicActivities.o  PF_RINGInterface.o  Prefs.o  
> ProtoStats.o  Redis.o  Trace.o  TrafficStats.o  Utils.o 
> third-party/credis-0.2.3/credis.o -Wall -L/usr/local/lib -L/opt/local/lib 
> /var/lib/pgsql/PF_RING/userland/lib/libpfring.a 
> ./nDPI/src/lib/.libs/libndpi.a  -lpcap 
> ./third-party/LuaJIT-2.0.1/src/libluajit.a 
> third-party/rrdtool-1.4.7/src/.libs/librrd_th.a 
> ./third-party/zeromq-3.2.3/src/.libs/libzmq.a  -lxml2    -lm -ldl -lpthread 
> -lrt -o ntopng
> NtopGlobals.o: In function `NtopGlobals':
> /var/lib/pgsql/ntopng/NtopGlobals.cpp:34: warning: the use of `tmpnam' is 
> dangerous, better use `mkstemp'
> ./third-party/zeromq-3.2.3/src/.libs/libzmq.a(libzmq_la-ipc_listener.o): In 
> function `zmq::ipc_listener_t::set_address(char const*)':
> /var/lib/pgsql/ntopng/third-party/zeromq-3.2.3/src/ipc_listener.cpp:124: 
> warning: the use of `tempnam' is dangerous, better use `mkstemp'
> Lua.o: In function `ntop_get_info':
> /var/lib/pgsql/ntopng/Lua.cpp:863: undefined reference to `GeoIP_lib_version'
> collect2: ld returned 1 exit status
> gmake: *** [ntopng] Error 1
> 
> -- 
> Stephen Clark
> NetWolves
> Director of Technology
> Phone: 813-579-3200
> Fax: 813-882-0209
> Email: [email protected]
> http://www.netwolves.com
> _______________________________________________
> Ntop-dev mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-dev

_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to