On 2007-09-11 09:51-0400 Scott Hall wrote: > [...]So I simply ignored the GD, TCL > and pdf issue by disabling them or not initializing them. However when I go > to test the examples I am still recieving linker errors. I tried this for > both a static and dynamic build and the same errors are produced. Please > see the error message below.
[...] > ----- > ----- DYNAMIC BUILD EXAMPLES RESULTS > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > [EMAIL PROTECTED](/tmp/examples) - 290: make > target=`echo all`; \ > list='c c++ f77 f95 tk java'; for subdir in $list; do \ > if test -d "$subdir"; then \ > echo "Making $target in $subdir"; \ > (cd $subdir && make $target); \ > fi; \ > done > Making all in c > make[1]: Entering directory `/tmp/examples/c' > /usw/ude/SunOS/bin/gcc x01c.c -o x01c -Wl,-rpath > -Wl,/home/hall000s/SunOS/plplot_dyn/lib > `PKG_CONFIG_PATH=/home/hall000s/SunOS/plplot_dyn/lib/pkgconfig pkg-config > --cflags --libs plplotd` > ld: fatal: option -dn and -P are incompatible > ld: fatal: Flags processing errors > collect2: ld returned 1 exit status > make[1]: *** [x01c] Error 1 > make[1]: Leaving directory `/tmp/examples/c' Above I am emphasizing information from your solaris build of C examples using the dynamic libraries because that is the simplest case I am familiar with on Linux. What are the actual results of running PKG_CONFIG_PATH=/home/hall000s/SunOS/plplot_dyn/lib/pkgconfig \ pkg-config --cflags --libs plplotd ? That should be the same information that cmake has configured and installed in /home/hall000s/SunOS/plplot_dyn/lib/pkgconfig/plplotd.pc. Could you post that file (as an attachment) in your reply? A temporary workaround is to edit that file to get rid of the linker flags that solaris does not like. That should be enough to get you moving forward again, but the interesting question from my perspective is why plplotd.pc is configured incorrectly with wrong information in the solaris shared libraries case. cmake should simply copy what it does for applications in the build tree, and from your reports that build tree linking is working fine. Could you also send the complete make.out (as an attachment) from your dynamic build so I can compare the working solaris build in that case with the non-working one for the install tree? Thanks in advance for the additional requested information. 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); PLplot scientific plotting software package (plplot.org); 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 __________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general