[SciPy-dev] newscipy sandbox

Stephen Walton stephen.walton at csun.edu
Fri Oct 7 00:17:49 CDT 2005


Travis Oliphant wrote:

>Pearu Peterson wrote:
>
>  
>
>>I am not quite finished with implementing what's behind in add_library 
>>method,
>>    
>>
>Well,  it worked enough to get scipy.special working in current newscipy 
>SVN.
>  
>
With all due respect, and with knowledge I'm probably doing something 
wrong, I don't see how.  The last few lines of the output of "setup.py 
build" in newscipy on my system (svn revision 1297) are:

gcc -pthread -shared 
build/temp.linux-i686-2.4/Lib/special/_cephesmodule.o 
build/temp.linux-i686-2.4/Lib/special/amos_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/specfun_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/toms_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/cdf_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/ufunc_extras.o 
-Lbuild/temp.linux-i686-2.4 -lamos -ltoms -lc_misc -lcephes -lmach -lcdf 
-lspecfun -o build/lib.linux-i686-2.4/scipy/special/_cephes.so
/usr/bin/ld: cannot find -lamos
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lamos
collect2: ld returned 1 exit status
error: Command "gcc -pthread -shared 
build/temp.linux-i686-2.4/Lib/special/_cephesmodule.o 
build/temp.linux-i686-2.4/Lib/special/amos_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/specfun_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/toms_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/cdf_wrappers.o 
build/temp.linux-i686-2.4/Lib/special/ufunc_extras.o 
-Lbuild/temp.linux-i686-2.4 -lamos -ltoms -lc_misc -lcephes -lmach -lcdf 
-lspecfun -o build/lib.linux-i686-2.4/scipy/special/_cephes.so" failed 
with exit status 1
removed Lib/__svn_version__.py

because there is no file called libamos.a, only 
libamos__OF__scipy.special.a.




More information about the Scipy-dev mailing list