[NumPy-Tickets] [NumPy] #1642: Undefined symbols when trying to build 1.5.1rc1
NumPy Trac
numpy-tickets@scipy....
Tue Oct 19 10:37:20 CDT 2010
#1642: Undefined symbols when trying to build 1.5.1rc1
-----------------------------+----------------------------------------------
Reporter: opk | Owner: cdavid
Type: defect | Status: new
Priority: normal | Milestone: 1.5.1
Component: numpy.distutils | Version: devel
Keywords: |
-----------------------------+----------------------------------------------
I'm trying to build 1.5.1rc1 on Solaris using Sun Studio. I'm getting
messages saying undefined symbol for exp. -lm is needed for exp(). Even
the Linux man page for exp suggests linking with -lm. Error message is
below. Thank you
compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include -I/opt/csw/include/python2.6
-c'
cc: _configtest.c
/opt/SUNWspro/bin/cc _configtest.o -o _configtest
Undefined first referenced
symbol in file
exp _configtest.o
ld: fatal: Symbol referencing errors. No output written to _configtest
Undefined first referenced
symbol in file
exp _configtest.o
ld: fatal: Symbol referencing errors. No output written to _configtest
failure.
removing: _configtest.c _configtest.o
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1642>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list