Date: Thu, 05 Mar 2015 09:40:27 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198302] net/ntopng: Doesn't build on -HEAD Message-ID: <bug-198302-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198302 Bug ID: 198302 Summary: net/ntopng: Doesn't build on -HEAD Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: daniel.engberg.lists@pyret.net Assignee: bofh@freebsd.org Flags: maintainer-feedback?(bofh@freebsd.org) ntopng doesn't build, build error is very similar to the one reported here and trying libzmq4 doesn't fix it. ===> Building for ntopng-1.2.1_1 gmake[2]: Entering directory '/usr/ports/net/ntopng/work/ntopng-1.2.1' /usr/bin/clang++ Ntop.o ParserInterface.o NdpiStats.o Categorization.o EthStats.o HTTPserver.o Host.o Lua.o ProtoStats.o NetworkInterface.o Flow.o StringHost.o ActivityStats.o HTTPBL.o AlertCounter.o Utils.o PcapInterface.o PF_RINGInterface.o SimpleStringHost.o PacketStats.o GenericHashEntry.o DnsStats.o Redis.o main.o StringHash.o PeriodicActivities.o AddressResolution.o HostContacts.o HistoricalInterface.o Prefs.o Mutex.o ExportInterface.o EppStats.o IpAddress.o DB.o GenericHash.o RuntimePrefs.o FlowHash.o TrafficStats.o GenericHost.o Trace.o Geolocation.o NtopGlobals.o CollectorInterface.o HostHash.o -Wall -L/usr/local/lib -lndpi -lpcap -L/usr/local/lib -lluajit-5.1 -L/usr/local/lib -lrrd /usr/local/lib/libzmq.a -L/usr/local/lib -ljson-c -lsqlite3 -lGeoIP -fstack-protector -L/usr/local/lib -lrt -lm -lpthread -o ntopng /usr/local/lib/libzmq.a(libzmq_la-ipc_listener.o): In function `zmq::ipc_listener_t::set_address(char const*)': ipc_listener.cpp:(.text+0x7d4): warning: warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_new': zmq.cpp:(.text+0x58): undefined reference to `pgm_init' zmq.cpp:(.text+0x79): undefined reference to `pgm_error_free' /usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_destroy': zmq.cpp:(.text+0x198): undefined reference to `pgm_shutdown' /usr/local/lib/libzmq.a(libzmq_la-socket_base.o): In function `zmq::socket_base_t::connect(char const*)': socket_base.cpp:(.text+0x1bcf): undefined reference to `pgm_freeaddrinfo' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::init_address(char const*, pgm_addrinfo_t**, unsigned short*)': pgm_socket.cpp:(.text+0x1d0): undefined reference to `pgm_getaddrinfo' pgm_socket.cpp:(.text+0x226): undefined reference to `pgm_error_free' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::init(bool, char const*)': pgm_socket.cpp:(.text+0x34c): undefined reference to `pgm_socket' pgm_socket.cpp:(.text+0x3d3): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x3f7): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x40d): undefined reference to `pgm_socket' pgm_socket.cpp:(.text+0x49b): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x4cd): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x4f8): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x59e): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x5c2): undefined reference to `pgm_setsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o):pgm_socket.cpp:(.text+0x5e6): more undefined references to `pgm_setsockopt' follow /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::init(bool, char const*)': pgm_socket.cpp:(.text+0x8a7): undefined reference to `pgm_gsi_create_from_data' pgm_socket.cpp:(.text+0x91c): undefined reference to `pgm_bind3' pgm_socket.cpp:(.text+0x9af): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x9de): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0x9ef): undefined reference to `pgm_freeaddrinfo' pgm_socket.cpp:(.text+0xa20): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0xa54): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0xa8b): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0xab4): undefined reference to `pgm_setsockopt' pgm_socket.cpp:(.text+0xac8): undefined reference to `pgm_connect' pgm_socket.cpp:(.text+0xc12): undefined reference to `pgm_close' pgm_socket.cpp:(.text+0xc27): undefined reference to `pgm_freeaddrinfo' pgm_socket.cpp:(.text+0xc3d): undefined reference to `pgm_error_free' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::get_max_tsdu_size()': pgm_socket.cpp:(.text+0xd4c): undefined reference to `pgm_getsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::~pgm_socket_t()': pgm_socket.cpp:(.text+0xdff): undefined reference to `pgm_close' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::get_receiver_fds(int*, int*)': pgm_socket.cpp:(.text+0xf0d): undefined reference to `pgm_getsockopt' pgm_socket.cpp:(.text+0xf3f): undefined reference to `pgm_getsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::get_sender_fds(int*, int*, int*, int*)': pgm_socket.cpp:(.text+0x10ee): undefined reference to `pgm_getsockopt' pgm_socket.cpp:(.text+0x1121): undefined reference to `pgm_getsockopt' pgm_socket.cpp:(.text+0x1154): undefined reference to `pgm_getsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o):pgm_socket.cpp:(.text+0x1187): more undefined references to `pgm_getsockopt' follow /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::send(unsigned char*, unsigned long)': pgm_socket.cpp:(.text+0x1430): undefined reference to `pgm_send' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::get_rx_timeout()': pgm_socket.cpp:(.text+0x1563): undefined reference to `pgm_getsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::get_tx_timeout()': pgm_socket.cpp:(.text+0x1602): undefined reference to `pgm_getsockopt' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::receive(void**, pgm_tsi_t const**)': pgm_socket.cpp:(.text+0x1722): undefined reference to `pgm_recvmsgv' pgm_socket.cpp:(.text+0x178e): undefined reference to `pgm_free' /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::process_upstream()': pgm_socket.cpp:(.text+0x1b2a): undefined reference to `pgm_recvmsgv' clang++: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:79: recipe for target 'ntopng' failed gmake[2]: *** [ntopng] Error 1 gmake[2]: Leaving directory '/usr/ports/net/ntopng/work/ntopng-1.2.1' *** Error code 1 Stop. make[1]: stopped in /usr/ports/net/ntopng *** Error code 1 Stop. make: stopped in /usr/ports/net/ntopng FreeBSD 11.0-CURRENT #0 r278472: Sat Feb 14 08:59:31 CET 2015 (AMD64) Ports tree is updated around the same time Best regards, Daniel -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198302-13>