From: Koen v. d. D. <kvd...@ea...> - 2004-01-13 04:08:34
|
On Jan 10, 2004, at 7:48 PM, Alan W. Irwin wrote: > So once the new cvs snapshot tarball is made next week with the fortran > fixes, you should have everything (with a small workaround for g77 > problems) > for your fink packages except tk (which builds okay, but you should > disable > it since it does not run okay), the issue with libqhull linking (which > I > think is an internal Mac OS X linker issue), and the ongoing issue with > octave. Even if you have to turn off octave as well, that is an > excellent > result which will make life a lot easier for those using PLplot on Mac > OS X. > I might have a solution for the octave problem (I solved the qhull problem). What I think that happens is that the compiler looks for libcsirocsa and libcsironn before they are actually created. Here's the output: ... g++ -bundle -bundle_loader /sw/bin/octave-2.1.50 -o plplot_octave.oct plplot_octave.o -L../../src/.libs -lplplotd -L/sw/lib/octave-2.1.50 -loctave -lcruft -loctinterp -framework vecLib -L/sw/lib -ldfftw ld: warning -prebind has no effect with -bundle ld: warning can't open dynamic library: /sw/lib/libcsirocsa.0.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning can't open dynamic library: /sw/lib/libcsironn.0.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2) ld: warning multiple definitions of symbol _round /sw/bin/octave-2.1.50 definition of _round /usr/lib/libSystem.dylib(rndint.o) definition of _round ld: Undefined symbols: _csa_addpoints referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_approximate_points referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_calculatespline referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_create referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _csa_destroy referenced from libplplotd expected to be defined in /sw/lib/libcsirocsa.0.dylib _lpi_interpolate_points referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib _nn_rule referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib _nnpi_interpolate_points referenced from libplplotd expected to be defined in /sw/lib/libcsironn.0.dylib make[4]: *** [plplot_octave.oct] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of (export failed, exit code 2 Failed: compiling plplot-5.2.1.cvs.20040104-11 failed From the Fink mailing list I got the suggestion to "add -lcsirocsa -lcsironn to your libraries" and to "make sure they come after the -L../../src/.libs -lplplotd". It was also suggested that I "need to get them added at the correct point in the build, probably in one of the Makefile.in files." What would be the best place to make this change, and what could be the change? thanks, - Koen. |