[SciPy-user] Failed build w/ mingw

Travis Brady travis.brady at gmail.com
Tue Jan 17 16:46:37 CST 2006


With SVN updated 5 minutes ago I receive (with win2k, msys, mingw and Python
2.4):

building 'scipy.montecarlo.intsampler' extension
compiling C sources
gcc options: '-O2 -Wall -Wstrict-prototypes'
compile options: '-IC:\Python24\lib\site-packages\numpy\core\include
-IC:\Python
24\lib\site-packages\numpy\core\include -IC:\Python24\include
-IC:\Python24\PC -
c'
g++ -shared build\temp.win32-
2.4\Release\lib\montecarlo\src\intsamplermodule.o b
uild\temp.win32-2.4\Release\lib\montecarlo\src\sampler5tbl.o-LC:\Python24\libs
-LC:\Python24\PCBuild -Lbuild\temp.win32-2.4 -lpython24 -lmsvcr71 -o
build\lib.w
in32-2.4\scipy\montecarlo\intsampler.pyd
build\temp.win32-2.4\Release\lib\montecarlo\src\intsamplermodule.o
(.text+0x255):
intsamplermodule.c: undefined reference to `srand48'
build\temp.win32-2.4\Release\lib\montecarlo\src\sampler5tbl.o
(.text+0x104):sampl
er5tbl.c: undefined reference to `srand48'
build\temp.win32-2.4\Release\lib\montecarlo\src\sampler5tbl.o
(.text+0x109):sampl
er5tbl.c: undefined reference to `lrand48'
error: Command "g++ -shared build\temp.win32-
2.4\Release\lib\montecarlo\src\ints
amplermodule.o build\temp.win32-2.4\Release\lib\montecarlo\src\sampler5tbl.o-LC
:\Python24\libs -LC:\Python24\PCBuild -Lbuild\temp.win32-2.4 -lpython24
-lmsvcr7
1 -o build\lib.win32-2.4\scipy\montecarlo\intsampler.pyd" failed with exit
status 1
removed Lib\__svn_version__.py
removed Lib\__svn_version__.pyc

I think I don't currently need (and haven't heard of) this monte carlo
package, is there an easy switch to turn off its build?

thank you
Travis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20060117/4bb3d9d2/attachment.htm


More information about the SciPy-user mailing list