[SciPy-dev] Problems with weave
Andreas Lorenz
andreas.frankfurt at gmx.de
Wed Jan 30 08:51:41 CST 2002
Hi!
I worte an inline function using weave but when I try to run it it compiles
but the I get this error:
running build_ext
building 'sc_4c24e4aef4fbfb5310eb79f279bcaaaf1' extension
gcc -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -mcpu=i486
-march=i486 -fPIC -I/usr/lib/python2.1/site-packages/weave
-I/usr/lib/python2.1/site-packages/weave/blitz-20001213
-I/usr/include/python2.1 -c
/root/.python21_compiled/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.cpp -o
/tmp/python21_intermediate/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.o
/root/.python21_compiled/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.cpp:550:
warning: `convert_to_numpy' redefined
/root/.python21_compiled/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.cpp:549:
warning: this is the location of the previous definition
skipping
/usr/lib/python2.1/site-packages/weave/CXX/IndirectPythonInterface.cxx
(/tmp/python21_intermediate/IndirectPythonInterface.o up-to-date)
skipping /usr/lib/python2.1/site-packages/weave/CXX/cxxextensions.c
(/tmp/python21_intermediate/cxxextensions.o up-to-date)
skipping /usr/lib/python2.1/site-packages/weave/CXX/cxxsupport.cxx
(/tmp/python21_intermediate/cxxsupport.o up-to-date)
skipping /usr/lib/python2.1/site-packages/weave/CXX/cxx_extensions.cxx
(/tmp/python21_intermediate/cxx_extensions.o up-to-date)
g++ -shared /tmp/python21_intermediate/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.o
/tmp/python21_intermediate/IndirectPythonInterface.o
/tmp/python21_intermediate/cxxextensions.o
/tmp/python21_intermediate/cxxsupport.o
/tmp/python21_intermediate/cxx_extensions.o -o
/root/.python21_compiled/sc_4c24e4aef4fbfb5310eb79f279bcaaaf1.so
Traceback (most recent call last):
File "MultiLayer0.1.2.py", line 1520, in ?
evolvepop(200,38,"FUTURE+1",5)
File "MultiLayer0.1.2.py", line 1473, in evolvepop
n.calcerror()
File "MultiLayer0.1.2.py", line 1070, in calcerror
verbose = 2)
File "/usr/lib/python2.1/site-packages/weave/inline_tools.py", line 331, in
inline
results = attempt_function_call(code,local_dict,global_dict)
File "/usr/lib/python2.1/site-packages/weave/inline_tools.py", line 374, in
attempt_function_call
raise ValueError, 'function with correct signature not found'
ValueError: function with correct signature not found
Anyone any idea???
Regards,
Andreas Lorenz
More information about the Scipy-dev
mailing list