[SciPy-dev] my long awaited FreeBSD crash report

eric eric at scipy.org
Tue Apr 2 10:00:34 CST 2002


Looks like the problem here is that the compiler is the command line compiler
name is cc and not gcc.  weave specifically checks for gcc and uses g++ if it is
found so that stdc++, etc and all the correct library paths for C++ code are
used.  cc will definitely slip through the check.

Looks like a little more sophisticated check needs to be made -- perhaps trying

    cc -v

to see if it reports that it is gcc.

Thanks for the report.  I'll look into this when scipy_base is finished.

eric


----- Original Message -----
From: "rob" <rob at pythonemproject.com>
To: <scipy-dev at scipy.net>
Sent: Tuesday, April 02, 2002 11:35 AM
Subject: [SciPy-dev] my long awaited FreeBSD crash report


> This is with the untouched, unmodified weave:  (don't see g++ in there
> anywhere)
>
> running build_ext
> building 'sc_f4c0e618f32e7fa45339f71dcafc6f0d0' extension
> cc -O -pipe -march=pentiumpro -D_THREAD_SAFE -fPIC
> -I/usr/local/lib/python2.1/site-packages/weave
> -I/usr/local/lib/python2.1/site-packages/weave/blitz-20001213
> -I/usr/local/include/python2.1 -c
> /home/rob/.python21_compiled/sc_f4c0e618f32e7fa45339f71dcafc6f0d0.cpp -o
> /tmp/python21_intermediate/sc_f4c0e618f32e7fa45339f71dcafc6f0d0.o
> skipping
> /usr/local/lib/python2.1/site-packages/weave/CXX/cxxextensions.c
> (/tmp/python21_intermediate/cxxextensions.o up-to-date)
> skipping /usr/local/lib/python2.1/site-packages/weave/CXX/cxxsupport.cxx
> (/tmp/python21_intermediate/cxxsupport.o up-to-date)
> skipping
> /usr/local/lib/python2.1/site-packages/weave/CXX/IndirectPythonInterface.cxx
> (/tmp/python21_intermediate/IndirectPythonInterface.o up-to-date)
> skipping
> /usr/local/lib/python2.1/site-packages/weave/CXX/cxx_extensions.cxx
> (/tmp/python21_intermediate/cxx_extensions.o up-to-date)
> cc -shared -pthread
> /tmp/python21_intermediate/sc_f4c0e618f32e7fa45339f71dcafc6f0d0.o
> /tmp/python21_intermediate/cxxextensions.o
> /tmp/python21_intermediate/cxxsupport.o
> /tmp/python21_intermediate/IndirectPythonInterface.o
> /tmp/python21_intermediate/cxx_extensions.o -o
> /home/rob/.python21_compiled/sc_f4c0e618f32e7fa45339f71dcafc6f0d0.so
> Traceback (most recent call last):
>   File "/home/rob/upml/UFO2blitz.py", line 666, in ?
>     blitz(field1,verbose=2)
>   File "/usr/local/lib/python2.1/site-packages/weave/blitz_tools.py",
> line 99, in blitz
>     type_factories = blitz_type_factories,
>   File "/usr/local/lib/python2.1/site-packages/weave/inline_tools.py",
> line 432, in compile_function
>     exec 'import ' + module_name
>   File "<string>", line 1, in ?
> ImportError:
> /home/rob/.python21_compiled/sc_f4c0e618f32e7fa45339f71dcafc6f0d0.so:
> Undefined symbol "cerr"
>
>
>
> --
> -----------------------------
> The Numeric Python EM Project
>
> www.pythonemproject.com
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>





More information about the Scipy-dev mailing list