Bugs item #3165230, was opened at 2011-01-25 11:55 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=611248&aid=3165230&group_id=95403
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michael Scherer () Assigned to: Nobody/Anonymous (nobody) Summary: Linking problem when using --no-undefined Initial Comment: Latest stable release ( 2.3.1 ) and also latest head do not compile if the option --no-undefined is for ld. The option warn if there is a missing object file at link time : .libs/libvdesnmp.o: In function `mgmt_init': /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:106: undefined reference to `vdemgmt_open' /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:119: undefined reference to `vdemgmt_sendcmd' .libs/libvdesnmp.o: In function `counters_parse': /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:225: undefined reference to `vdemgmt_sendcmd' .libs/libvdesnmp.o: In function `vde_snmp_init': /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:363: undefined reference to `vdemgmt_asyncreg' .libs/libvdesnmp.o: In function `vde_snmp_getfd': /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:420: undefined reference to `vdemgmt_getfd' .libs/libvdesnmp.o: In function `vde_snmp_event': /mnt/video/mgarepo/vde2/BUILD/vde2-2.3.1/src/lib/libvdesnmp.c:425: undefined reference to `vdemgmt_asyncrecv' collect2: ld returned 1 exit status make[2]: *** [libvdesnmp.la] Erreur 1 The following patch ( from Funda Wang, fu...@mandriva.org , ported by me to 2.3.1 ) fix the issue. It is against stable release, but should be trivial to port on trunk ( if needed ). You can compile with LDFLAGS="-Wl,--as-needed -Wl,--no-undefined" to see the issue. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=611248&aid=3165230&group_id=95403 ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ vde-users mailing list vde-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vde-users