[Scilab-Dev] Porting Scilab 5.1.1 on Mac OS X 10.4 PPC.

Sylvestre Ledru sylvestre.ledru at scilab.org
Wed Jul 29 17:45:26 CEST 2009


> ...
> /usr/bin/ld: multiple definitions of symbol _xerbla_
> .libs/xerbla.o definition of _xerbla_ in section (__TEXT,__text)
> ../../libs/blas/.libs/libsciblas.dylib(single module) definition of  
> _xerbla_
> /usr/bin/ld: multiple definitions of symbol _lsame_
> .libs/lsame.o definition of _lsame_ in section (__TEXT,__text)
> ../../libs/blas/.libs/libsciblas.dylib(single module) definition of  
> _lsame_
> collect2: ld returned 1 exit status
> make[2]: *** [libscilapack.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
Hmm, unusual problem ;)

I would say that you can try three things here:
* disable the error in the linker (LDFLAGS) when having a multiple
definition.
* echo "" > libs/lapack/xerbla.f
* comment the compilation of xerbla.f in libs/lapack/Makefile.am
and relaunch the autotools (automake && ./configure <your options>)

Hope this helps,
Sylvestre


> Thanks for giving some help.
> 
> Regards, Pascal Pignard.
> http://blady.pagesperso-orange.fr
> 
> 
> 
> 
> 
> 




More information about the dev mailing list