On 2012-08-20 22:07+0100 Andrew Ross wrote: > Classes from QtGui and QtSvg are not explictly mentioned in qt.cpp, but > derived classes (QtPLWidget etc from plplotqtd) are mentioned. On Linux > at least "ldd -u qt.so" shows these libraries as unused dependencies, but > "nm --demangle --undefined-only qt.so" contains references to functions > in these libraries. I don't quite understand why, but I think to be safe > we need to link with them, even if it causes warnings about linking > with unused dependencies.
Hi Andrew: My experience is also that ldd -u often produces invalid complaints about unused direct dependencies. So I think it is a bug in ldd -u that should be reported. But until that bug (or bugs) is fixed, ldd -u appears to still be useful as an indication of a possible problem with overlinking, but you have to rely on "nm" (as you have done this time) to confirm each case where there is such an "nm -u" indication. I was also very glad to hear that your latest effort was a success, and Jerry is on the air again with our qt devices. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel