Hi Joe,

Did you install all the required dependencies (autoconf automake libtool
wget pkgconf rrdtool gmake redis git bash mysql-connector-c) ?

If it still fails, try to:
- compile with bsd 'make'
- use the ZMQ library shipped with ntopng sources

Simone



On Fri, Dec 4, 2015 at 3:20 PM, Joe Rizzo <[email protected]> wrote:

> Hi -
> I am trying to compile ntopng v2.2 on FreeBSD 10.1.  I am stuck on the
> following error.  Any help or guidance is greatly appreciated.
>
> root@:~/build/ntopng # gmake
> g++  src/Ntop.o  src/DnsStats.o  src/Prefs.o  src/HTTPBL.o
>  src/Categorization.o  src/EthStats.o  src/main.o  src/HTTPStats.o
>  src/ProtoStats.o  src/PacketDumperTuntap.o  src/AddressResolution.o
>  src/Lua.o  src/HTTPserver.o  src/NetworkStats.o
>  src/NetworkInterfaceView.o  src/VirtualHostHash.o  src/Mutex.o
>  src/NetworkInterface.o  src/TrafficStats.o  src/ExportInterface.o
>  src/Redis.o  src/Flow.o  src/Host.o  src/VirtualHost.o  src/IpAddress.o
>  src/PacketStats.o  src/DB.o  src/GenericHash.o  src/RuntimePrefs.o
>  src/ActivityStats.o  src/PacketDumper.o  src/LocalTrafficStats.o
>  src/HostHash.o  src/Trace.o  src/PeriodicActivities.o  src/FlowsManager.o
>  src/GenericHost.o  src/AlertCounter.o  src/FlowHash.o  src/Geolocation.o
>  src/NtopGlobals.o  src/Utils.o  src/PcapInterface.o  src/nDPIStats.o
>  src/PF_RINGInterface.o  src/ParserInterface.o  src/CollectorInterface.o
>  src/MySQLDB.o  src/AddressTree.o  src/StatsManager.o
>  src/GenericHashEntry.o  -Wall ../nDPI/src/lib/.libs/libndpi.a -lpcap
> /root/build/ntopng/third-party/LuaJIT-2.0.3/src/libluajit.a
> /root/build/ntopng/third-party/rrdtool-1.4.8/src/.libs/librrd_th.a -lm
> -lgobject-2.0 -lgmodule-2.0 -lglib-2.0       /usr/local/lib/libzmq.a
> /root/build/ntopng/third-party/json-c/.libs/libjson-c.a  -lsqlite3
> -L/usr/local/lib/mysql  -lmysqlclient  -pthread -lm    -L/usr/local/lib
> -lrt -lcurl  -lm -lpthread -o ntopng
> /usr/local/bin/ld: /usr/local/lib/libzmq.a(libzmq_la-tcp_address.o):
> undefined reference to symbol '_ZNSt3__18ios_base5clearEj'
> //usr/lib/libc++.so.1: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> Makefile:134: recipe for target 'ntopng' failed
> gmake: *** [ntopng] Error 1
>
> Thanks,
> Joe
>
>
> _______________________________________________
> Ntop mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to