Bugs item #3467441, was opened at 2011-12-30 02:36 Message generated for change (Comment added) made by joerg_wunsch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425407&aid=3467441&group_id=39505
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: jescombe (jescombe) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to build on Fedora x64 without -ldl Initial Comment: Building on Fedora 16 x64 results in the following error; g++ -g -O2 -o avarice crc16.o devdescr.o ioreg.o jtag2bp.o jtag2io.o jtag2misc.o jtag2prog.o jtag2run.o jtag2rw.o jtag2usb.o jtagbp.o jtaggeneric.o jtagio.o jtagmisc.o jtagprog.o jtagrun.o jtagrw.o main.o remote.o utils.o gnu_getopt.o gnu_getopt1.o -lusb -lbfd -liberty -lz /usr/lib64/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x3bb): undefined reference to `dlopen' /usr/lib64/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x3da): undefined reference to `dlsym' /usr/lib64/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x47b): undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [avarice] Error 1 So it appears that libbfd on Fedora also requires libdl, adding LIBS="$LIBS -ldl" to the configure script results in a successful build. ---------------------------------------------------------------------- >Comment By: Joerg Wunsch (joerg_wunsch) Date: 2011-12-30 06:22 Message: The problem is that we cannot simply add -ldl globally. There are systems that simply don't have this library (FreeBSD, probably also Cygwin and MacOS X). So we have to extend configure.ac to autodetect this situation. Are you able to pick up a snapshot from SVN, run ./Bootstrap and then configure and compile it? If so, I'll try crafting such a test, and then ask you to give it a try. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=425407&aid=3467441&group_id=39505 ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ avarice-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avarice-user
