Koen van der Drift wrote:
> Hi,
>
> A user reported the following error of the latest plplot (5.6.1) on  
> 10.4-transitional:
>
> ...
> gcc-3.3 -Wno-long-double -o massage massage.o  -L/sw/lib/python2.4/ 
> config -L/sw/lib -lm
> perl /sw/src/fink.build/plplot-5.6.1-2/plplot-5.6.1/bindings/octave/ 
> matwrap/matwrap -language octave -o plplot_octave.cc        -stub  
> tmp_stub \
> -cpp_ignore . -cpp_ignore plplot_octave_rej.h -cpp gcc-3.3 \
> -D__builtin_va_list=void -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++-3.3 -c -I/sw/include/octave-2.1.73 -I/sw/include/octave-2.1.73/ 
> octave -I/sw/include -g -O2 -I. -I. plplot_octave.cc -o plplot_octave.o
> g++-4.0 -bundle -bundle_loader /sw/bin/octave-2.1.73 -o  
> plplot_octave.oct plplot_octave.o -L../../src/.libs -lplplotd -L/sw/ 
> lib/python2.4/config -L/sw/lib -L/sw/lib/freetype219/lib -L/sw/lib/ 
> freetype219/lib -lfreetype -lz -L/sw/src/fink.build/plplot-5.6.1-2/ 
> plplot-5.6.1/lib/csa -L/sw/src/fink.build/plplot-5.6.1-2/plplot-5.6.1/ 
> lib/csa/.libs -lcsirocsa -L/sw/src/fink.build/plplot-5.6.1-2/ 
> plplot-5.6.1/lib/nn -L/sw/src/fink.build/plplot-5.6.1-2/plplot-5.6.1/ 
> lib/nn/.libs -lcsironn -lqhull -ldl -lm -L/sw/lib/octave-2.1.73 - 
> loctinterp -loctave -lcruft -L/sw/lib/python2.4/config -L/sw/lib - 
> framework vecLib -lfftw3 -lreadline -lncurses -ldl -lhdf5 -lz -lm -L/ 
> sw/bin/../lib/gcc-lib/powerpc-apple-darwin8/4.0.3 -lf95
> /usr/bin/ld: warning multiple definitions of symbol _xerbla_
> /sw/lib/octave-2.1.73/liboctinterp.dylib(single module) definition of  
> _xerbla_
> /sw/lib/octave-2.1.73/libcruft.dylib(single module) definition of  
> _xerbla_
> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/ 
> vecLib.framework/Versions/A/libBLAS.dylib(single module) definition  
> of _xerbla_
> /usr/bin/ld: Undefined symbols:
> std::__default_alloc_template<true, 0>::deallocate(void*, unsigned long)
> std::__default_alloc_template<true, 0>::_S_force_new
> std::__default_alloc_template<true, 0>::_S_free_list
> std::__default_alloc_template<true, 0>::_S_node_allocator_lock
> __ZNSt24__default_alloc_templateILb1ELi0EE5_LockD4Ev
> std::__default_alloc_template<true, 0>::allocate(unsigned long)
> collect2: ld returned 1 exit status
> 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 /var/tmp/tmp.1.K0StXD failed, exit code 2
> Removing build lock...
> /sw/bin/dpkg-lockwait -r fink-buildlock-plplot-5.6.1-2
> (Reading database ... 320571 files and directories currently installed.)
> Removing fink-buildlock-plplot-5.6.1-2 ...
> Failed: phase compiling: plplot-5.6.1-2 failed
>
>
> Note how g++3.3 and g++4.0 both are used. In the info file I have  
> only 3.3 defined, which is needed for the 10.4-transitional tree IIRC.
>
> Any ideas what may be going on?
>
>
> thanks,
>
> - koen.
>
>
>   

Koen:  I think it's picking up g++-4 from octave, which has SetCXX: 
g++-4.0, even in the 10.4-transitional tree.  This was necessary, since 
parts of octave are compiled with g95, which is based on gcc 4.0.3.  I 
don't know what the solution is offhand though (besides disabling 
plplot_octave, or building all of plplot with gcc 4).

Of course, this shouldn't be an issue in the 10.4 tree, but I haven't 
verified that.

-Jeff

-- 
Jeffrey S. Whitaker         Phone : (303)497-6313
NOAA/OAR/CDC  R/PSD1        FAX   : (303)497-6449
325 Broadway                Boulder, CO, USA 80305-3328



_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to