Hi, I try to link my source with libzmq 2.0 beta2 which it was build with pgm support but linking is failed because of undefined references. Please see the output snapshot bellow. As far I can see in ZeroMQ documentation there is no need to build openpgm by my own, right?
Any help is appreciated. usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-if.o): In function `parse_interface': (.text+0x2b4): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-packet.o): In function `pgm_gethostbyaddr': (.text+0x69e): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking debug-g++/CWire.o: In function `Drm::Ami::WireParms_::ByHostname(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /home/aymann/DermalogAfisMessagingInterface/src/source/CWire.cpp:173: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-if.o): In function `parse_interface': (.text+0x55f): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-pgm.o): In function `pgm_init': (.text+0x101): warning: Using 'getprotobyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-packet.o): In function `pgm_udpport_string': (.text+0x762): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-pgm_socket.o): In function `zmq::pgm_socket_t::receive(void**, pgm_tsi_t const**)': (.text+0x2a6): undefined reference to `g_error_free' /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-pgm_socket.o): In function `pgm_notify_get_fd': (.text+0x3d0): undefined reference to `g_assertion_message_expr' /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/libzmq.a(libzmq_la-pgm_socket.o): In function `pgm_notify_get_fd': (.text+0x3f0): undefined reference to `g_assertion_message_expr' Kind regards, Ayman ________________________________ DERMALOG Identification Systems GmbH * Mittelweg 120, 20148 Hamburg * www.dermalog.com Company Registration: Amtsgericht Hamburg, HRB 69547 * Gesch?ftsf?hrer/CEO: G?nther Mull
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
