Koen van der Drift wrote:

Hi,

I am the maintainer of plplot, and a fink build of an upcoming release gave me the following error:

...
Making all in octave
Making all in PLplot
Making all in support
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in demos
make[4]: Nothing to be done for `all'.
Making all in misc
make[4]: Nothing to be done for `all'.
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I/sw/include -Wno-long-double -MT massage.o -MD -MP -MF ".deps/massage.Tpo" -c -o massage.o massage.c; \
then mv -f ".deps/massage.Tpo" ".deps/massage.Po"; else rm -f ".deps/massage.Tpo"; exit 1; fi
/bin/sh ../../libtool --mode=link gcc -Wno-long-double -L/sw/lib -o massage massage.o -lm
mkdir .libs
gcc -Wno-long-double -o massage massage.o -L/sw/lib -lm
perl /Volumes/MoreStuff/.src/plplot-5.3.1.cvs.20041028-1/plplot -5.3.1.cvs.20041028/bindings/octave/matwrap/matwrap -language octave -o plplot_octave.cc -stub tmp_stub \
-cpp_ignore . -cpp_ignore plplot_octave_rej.h -cpp gcc \
-E -I. -C plplot_octave.h
mv -f plplot_octave.cc tmp_plplot_octave.cc
sed 's/ string / std::string /' tmp_plplot_octave.cc > plplot_octave.cc
LD_RUN_PATH=../../src/.libs:../../lib/csa/.libs:../../lib/nn/.libs \
mkoctfile -v -I. -I. plplot_octave.cc -L../../src/.libs -lplplotd `../../scripts/get-dependency-libs.sh ../../src/.libs/libplplotd.la`
g++ -c -I/sw/include -I/sw/include/octave-2.1.57 -I/sw/include/octave-2.1.57/octave -I/sw/include -g -O2 -I. -I. plplot_octave.cc -o plplot_octave.o
g++ -bundle -bundle_loader /sw/bin/octave-2.1.57 -o plplot_octave.oct plplot_octave.o -L../../src/.libs -lplplotd -L/sw/lib -L/Volumes/MoreStuff/.src/plplot-5.3.1.cvs.20041028-1/plplot -5.3.1.cvs.20041028/lib/csa -L/Volumes/MoreStuff/.src/plplot-5.3.1.cvs.20041028-1/plplot -5.3.1.cvs.20041028/lib/csa/.libs -lcsirocsa -L/Volumes/MoreStuff/.src/plplot-5.3.1.cvs.20041028-1/plplot -5.3.1.cvs.20041028/lib/nn -L/Volumes/MoreStuff/.src/plplot-5.3.1.cvs.20041028-1/plplot -5.3.1.cvs.20041028/lib/nn/.libs -lcsironn -lqhull -ldl -lm -L/sw/lib/octave-2.1.57 -loctinterp -loctave -lcruft -L/sw/lib -framework vecLib -lfftw3 -lreadline -lncurses -lhdf5 -lz -lm -L/sw/lib -lg2c
ld: warning -prebind has no effect with -bundle
ld: warning multiple definitions of symbol _xerbla_
/sw/lib/octave-2.1.57/liboctinterp.dylib(single module) definition of _xerbla_
/sw/lib/octave-2.1.57/libcruft.dylib(single module) definition of _xerbla_
ld: warning multiple definitions of symbol _round
/sw/lib/octave-2.1.57/liboctave.dylib(single module) definition of _round
/usr/lib/libdl.dylib(rndint.o) definition of _round
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ vecLib.framework/Versions/A/libBLAS.dylib(single module) definition of _xerbla_
ld: Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress
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 make failed, exit code 2
Failed: compiling plplot-5.3.1.cvs.20041028-1 failed



Also in the configure phase I get:

checking for octave... yes
checking Octave version... dyld: octave Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress

checking Octave prefix... dyld: octave Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress

checking Octave m dir... dyld: octave Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress
/sw/
checking Octave oct dir... dyld: octave Undefined symbols:
_SZ_BufftoBuffCompress
_SZ_BufftoBuffDecompress


I then tried to rebuild the current version in fink, and I got the same error. Of course this is new, because otherwise the current version in fink would not have been submitted. Anyone have a clue what might be the problem? I have installed Xcode 1.5 between submitting the current version and now, but am using the older cc1plus as suggested on the website.



thanks,

- Koen.


Koen: You need to add -lsz after the -lhdf5 (the new version of hdf5 uses the szip library). The link options may be coming from octave, so I may need to update the octave package.

-Jeff

--
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/CDC1        FAX   : (303)497-6449
325 Broadway                Web   : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to