[Numpy-discussion] Error installing numpy 1.7.1

Francesco Pacchiani fpacchiani at hotmail.com
Sat May 4 01:05:29 EDT 2013


Hello,


I want to install numpy 1.7.1 for use with python 3.2.1 and have
 been blocked by an error during the build process. My OS is Mandriva 
2001. I'm installing numpy from source because python2.7 is already 
installed and seems to be the default, the rpm's don't install 
anything in python3.2/site-packages.

The command used is "python3 setup.py build" and below I have posted
 the end of the outptut which contains the error message. I understand 
it is the compilation of _capi.c that posses problems, but have not been
 able to solve it. The fenv.h file is installed in different directories


/usr/include

/usr/local/src/numpy-1.7.1/numpy/core/include/numpy/fenv/fenv.h and 

/usr/local/src/numpy-1.7.1/build/py3k/numpy/core/include/numpy/fenv/fenv.h


Using strace, one realizes that there is a call for 
"build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so" that 
generates a "No such file or directory". The end of the output of 
"strace python3 setup.py build"  command is posted below as well. Indeed
 no such library exists, should it?


Does anybody understand the problem or have a hint to give. Thanks.

Francesco



Output after executing:  python3 setup.py build


creating build/temp.linux-x86_64-3.2/numpy/lib

creating build/temp.linux-x86_64-3.2/numpy/lib/src

compile options: '-Inumpy/core/include 
-Ibuild/src.linux-x86_64-3.2/numpy/core/include/numpy 
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core 
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray 
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include 
-I/usr/include/python3.2mu 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/multiarray 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/umath -c'

gcc: numpy/lib/src/_compiled_base.c

gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro
 -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags 
build/temp.linux-x86_64-3.2/numpy/lib/src/_compiled_base.o -L/usr/lib64 
-Lbuild/temp.linux-x86_64-3.2 -lpython3.2mu -o 
build/lib.linux-x86_64-3.2/numpy/lib/_compiled_base.cpython-32mu.so

building 'numpy.numarray._capi' extension

compiling C sources

C compiler: gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG 
-O2 -g -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector 
--param=ssp-buffer-size=4 -fPIC -g -O2 -g -frecord-gcc-switches 
-Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 
-fPIC -fPIC


creating build/temp.linux-x86_64-3.2/numpy/numarray

compile options: '-Inumpy/core/include 
-Ibuild/src.linux-x86_64-3.2/numpy/core/include/numpy 
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core 
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray 
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include 
-I/usr/include/python3.2mu 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/multiarray 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/umath -c'

gcc: numpy/numarray/_capi.c

numpy/numarray/_capi.c: In function ‘deferred_libnumarray_init’:

numpy/numarray/_capi.c:31:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_callCUFuncCore’:

numpy/numarray/_capi.c:579:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_new_cfunc’:

numpy/numarray/_capi.c:1018:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_OutputArray’:

numpy/numarray/_capi.c:1104:5: warning: passing argument 2 of ‘(int 
(*)(struct PyArrayObject *, struct PyArrayObject *))*(PyArray_API + 
2296u)’ from incompatible pointer type [enabled by default]

numpy/numarray/_capi.c:1104:5: note: expected ‘struct PyArrayObject *’ but argument is of type ‘struct PyObject *’

numpy/numarray/_capi.c: In function ‘NA_callStrideConvCFuncCore’:

numpy/numarray/_capi.c:2644:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_IeeeMask32’:

numpy/numarray/_capi.c:3073:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_IeeeMask64’:

numpy/numarray/_capi.c:3117:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro
 -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags 
build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o -L/usr/lib64 
-Lbuild/temp.linux-x86_64-3.2 -lpython3.2mu -o 
build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `NA_checkFPErrors':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3019: undefined reference to `fetestexcept'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3026: undefined reference to `feclearexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `int_overflow_error':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:263: undefined reference to `feraiseexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_atanh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:233: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_asinh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `log'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:190: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_pow':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:207: undefined reference to `pow'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log10':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:198: undefined reference to `log10'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_round':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `ceil'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `floor'

collect2: ld returned 1 exit status

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `NA_checkFPErrors':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3019: undefined reference to `fetestexcept'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3026: undefined reference to `feclearexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `int_overflow_error':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:263: undefined reference to `feraiseexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_atanh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:233: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_asinh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `log'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:190: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_pow':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:207: undefined reference to `pow'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log10':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:198: undefined reference to `log10'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_round':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `ceil'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `floor'

collect2: ld returned 1 exit status

error: Command "gcc -pthread -shared -Wl,--as-needed 
-Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id 
-Wl,--enable-new-dtags 
build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o -L/usr/lib64 
-Lbuild/temp.linux-x86_64-3.2 -lpython3.2mu -o 
build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so" failed 
with exit status 1



Output of "strace python3 setup.py build"


stat("build/lib.linux-x86_64-3.2/numpy/core/umath_tests.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=54991, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/core/umath_tests.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=54991, ...}) = 0

stat("build/src.linux-x86_64-3.2/numpy/core/src/umath/umath_tests.c", {st_mode=S_IFREG|0644, st_size=14253, ...}) = 0

stat("build/src.linux-x86_64-3.2/numpy/core/src/umath/umath_tests.c", {st_mode=S_IFREG|0644, st_size=14253, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/core/multiarray_tests.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=56661, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/core/multiarray_tests.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=56661, ...}) = 0

stat("build/src.linux-x86_64-3.2/numpy/core/src/multiarray/multiarray_tests.c", {st_mode=S_IFREG|0644, st_size=14087, ...}) = 0

stat("build/src.linux-x86_64-3.2/numpy/core/src/multiarray/multiarray_tests.c", {st_mode=S_IFREG|0644, st_size=14087, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/lib/_compiled_base.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=100309, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/lib/_compiled_base.cpython-32mu.so", {st_mode=S_IFREG|0755, st_size=100309, ...}) = 0

stat("numpy/lib/src/_compiled_base.c", {st_mode=S_IFREG|0644, st_size=50102, ...}) = 0

stat("numpy/lib/src/_compiled_base.c", {st_mode=S_IFREG|0644, st_size=50102, ...}) = 0

stat("build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so", 0x7fff78c15920) = -1 ENOENT (No such file or directory)

write(1, "\33[39mbuilding 'numpy.numarray._c"..., 51building 'numpy.numarray._capi' extension

) = 51

write(1, "\33[39mcompiling C sources\33[0m\n", 29compiling C sources

) = 29

write(1, "\33[39mC compiler: gcc -pthread -D"..., 408C compiler: gcc
 -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g 
-frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector 
--param=ssp-buffer-size=4 -fPIC -g -O2 -g -frecord-gcc-switches 
-Wstrict-aliasing=2 -pipe -Wformat -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 
-fPIC -fPIC

) = 408

write(1, "\n", 1

)                       = 1

stat("build/temp.linux-x86_64-3.2/numpy/numarray", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

write(1, "\33[39mcompile options: '-Inumpy/c"..., 415compile 
options: '-Inumpy/core/include 
-Ibuild/src.linux-x86_64-3.2/numpy/core/include/numpy 
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core 
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray 
-Inumpy/core/src/umath -Inumpy/core/src/npysort -Inumpy/core/include 
-I/usr/include/python3.2mu 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/multiarray 
-Ibuild/src.linux-x86_64-3.2/numpy/core/src/umath -c'

) = 415

write(1, "\33[39mgcc: numpy/numarray/_capi.c"..., 37gcc: numpy/numarray/_capi.c

) = 37

getcwd("/usr/local/src/numpy-1.7.1/build/py3k", 1026) = 38

getcwd("/usr/local/src/numpy-1.7.1/build/py3k", 1026) = 38

open("/tmp/tmpicyzqn/npoyom", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 3

fcntl(3, F_GETFD)                       = 0

fcntl(3, F_SETFD, FD_CLOEXEC)           = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c13e48) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c13bf8) = -1 ENOTTY (Inappropriate ioctl for device)

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

close(3)                                = 0

open("/tmp/tmpicyzqn/w8jsoc", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 3

fcntl(3, F_GETFD)                       = 0

fcntl(3, F_SETFD, FD_CLOEXEC)           = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c13e48) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c13bf8) = -1 ENOTTY (Inappropriate ioctl for device)

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

close(3)                                = 0

rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f6f35d55250}, {0x7f6f363dfe70, [], SA_RESTORER, 0x7f6f35d55250}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f6f35d55250}, {SIG_DFL, [], SA_RESTORER, 0x7f6f35d55250}, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fff78c1475c) = 24562

wait4(24562, numpy/numarray/_capi.c: In function ‘deferred_libnumarray_init’:

numpy/numarray/_capi.c:31:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_callCUFuncCore’:

numpy/numarray/_capi.c:579:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_new_cfunc’:

numpy/numarray/_capi.c:1018:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_OutputArray’:

numpy/numarray/_capi.c:1104:5: warning: passing argument 2 of ‘(int 
(*)(struct PyArrayObject *, struct PyArrayObject *))*(PyArray_API + 
2296u)’ from incompatible pointer type [enabled by default]

numpy/numarray/_capi.c:1104:5: note: expected ‘struct PyArrayObject *’ but argument is of type ‘struct PyObject *’

numpy/numarray/_capi.c: In function ‘NA_callStrideConvCFuncCore’:

numpy/numarray/_capi.c:2644:5: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_IeeeMask32’:

numpy/numarray/_capi.c:3073:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

numpy/numarray/_capi.c: In function ‘NA_IeeeMask64’:

numpy/numarray/_capi.c:3117:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24562

rt_sigaction(SIGINT, {0x7f6f363dfe70, [], SA_RESTORER, 0x7f6f35d55250}, NULL, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f6f35d55250}, NULL, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

--- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24562, si_status=0, si_utime=0, si_stime=0} (Child exited) ---

open("/tmp/tmpicyzqn/w8jsoc", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c141c8) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

read(3, "0\n", 8192)                    = 2

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2

read(3, "", 8192)                       = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2

read(3, "", 8192)                       = 0

close(3)                                = 0

unlink("/tmp/tmpicyzqn/w8jsoc")         = 0

open("/tmp/tmpicyzqn/npoyom", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0600, st_size=1514, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c141c8) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=1514, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=1514, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

read(3, "numpy/numarray/_capi.c: In funct"..., 8192) = 1514

fstat(3, {st_mode=S_IFREG|0600, st_size=1514, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 1514

read(3, "", 8192)                       = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=1514, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 1514

read(3, "", 8192)                       = 0

close(3)                                = 0

unlink("/tmp/tmpicyzqn/npoyom")         = 0

stat("build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so", 0x7fff78c15290) = -1 ENOENT (No such file or directory)

stat("build/lib.linux-x86_64-3.2/numpy/numarray", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

write(1, "\33[39mgcc -pthread -shared -Wl,--"..., 299gcc -pthread 
-shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 
-Wl,--build-id -Wl,--enable-new-dtags 
build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o -L/usr/lib64 
-Lbuild/temp.linux-x86_64-3.2 -lpython3.2mu -o 
build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so

) = 299

getcwd("/usr/local/src/numpy-1.7.1/build/py3k", 1026) = 38

getcwd("/usr/local/src/numpy-1.7.1/build/py3k", 1026) = 38

open("/tmp/tmpicyzqn/pur_c5", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 3

fcntl(3, F_GETFD)                       = 0

fcntl(3, F_SETFD, FD_CLOEXEC)           = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c14468) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c14218) = -1 ENOTTY (Inappropriate ioctl for device)

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

close(3)                                = 0

open("/tmp/tmpicyzqn/vscch3", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 3

fcntl(3, F_GETFD)                       = 0

fcntl(3, F_SETFD, FD_CLOEXEC)           = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c14468) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c14218) = -1 ENOTTY (Inappropriate ioctl for device)

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

close(3)                                = 0

rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x7f6f35d55250}, {0x7f6f363dfe70, [], SA_RESTORER, 0x7f6f35d55250}, 8) = 0

rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x7f6f35d55250}, {SIG_DFL, [], SA_RESTORER, 0x7f6f35d55250}, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0

clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD, parent_tidptr=0x7fff78c14d7c) = 24570

wait4(24570, build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `NA_checkFPErrors':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3019: undefined reference to `fetestexcept'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3026: undefined reference to `feclearexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `int_overflow_error':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:263: undefined reference to `feraiseexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_atanh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:233: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_asinh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `log'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:190: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_pow':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:207: undefined reference to `pow'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log10':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:198: undefined reference to `log10'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_round':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `ceil'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `floor'

collect2: ld returned 1 exit status

[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 24570

rt_sigaction(SIGINT, {0x7f6f363dfe70, [], SA_RESTORER, 0x7f6f35d55250}, NULL, 8) = 0

rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f6f35d55250}, NULL, 8) = 0

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0

--- {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=24570, si_status=0, si_utime=0, si_stime=0} (Child exited) ---

open("/tmp/tmpicyzqn/vscch3", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c147e8) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

read(3, "1\n", 8192)                    = 2

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2

read(3, "", 8192)                       = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2

read(3, "", 8192)                       = 0

close(3)                                = 0

unlink("/tmp/tmpicyzqn/vscch3")         = 0

open("/tmp/tmpicyzqn/pur_c5", O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0600, st_size=2091, ...}) = 0

ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or 
TCGETS, 0x7fff78c147e8) = -1 ENOTTY (Inappropriate ioctl for device)

fstat(3, {st_mode=S_IFREG|0600, st_size=2091, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

lseek(3, 0, SEEK_CUR)                   = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2091, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 0

read(3, "build/temp.linux-x86_64-3.2/nump"..., 8192) = 2091

fstat(3, {st_mode=S_IFREG|0600, st_size=2091, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2091

read(3, "", 8192)                       = 0

fstat(3, {st_mode=S_IFREG|0600, st_size=2091, ...}) = 0

lseek(3, 0, SEEK_CUR)                   = 2091

read(3, "", 8192)                       = 0

close(3)                                = 0

unlink("/tmp/tmpicyzqn/pur_c5")         = 0

write(1, "build/temp.linux-x86_64-3.2/nump"..., 
2090build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function 
`NA_checkFPErrors':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3019: undefined reference to `fetestexcept'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:3026: undefined reference to `feclearexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `int_overflow_error':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:263: undefined reference to `feraiseexcept'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_atanh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:233: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_asinh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `log'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:228: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `sqrt'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:190: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_acosh':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:213: undefined reference to `log'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_pow':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:207: undefined reference to `pow'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_log10':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:198: undefined reference to `log10'

build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o: In function `num_round':

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `ceil'

/usr/local/src/numpy-1.7.1/build/py3k/numpy/numarray/_capi.c:239: undefined reference to `floor'

collect2: ld returned 1 exit status) = 2090

write(1, "\n", 1

)                       = 1

chdir("/usr/local/src/numpy-1.7.1")     = 0

write(2, "error: Command \"gcc -pthread -sh"..., 333error: Command 
"gcc -pthread -shared -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro 
-Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags 
build/temp.linux-x86_64-3.2/numpy/numarray/_capi.o -L/usr/lib64 
-Lbuild/temp.linux-x86_64-3.2 -lpython3.2mu -o 
build/lib.linux-x86_64-3.2/numpy/numarray/_capi.cpython-32mu.so" failed 
with exit status 1

) = 333

lstat("/tmp/tmpicyzqn", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0

open("/tmp/tmpicyzqn", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3

getdents(3, /* 2 entries */, 32768)     = 48

getdents(3, /* 0 entries */, 32768)     = 0

close(3)                                = 0

rmdir("/tmp/tmpicyzqn")                 = 0

rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f6f360bc960}, {0x7f6f363dfe70, [], SA_RESTORER, 0x7f6f35d55250}, 8) = 0

exit_group(1)

	
	
	
	

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130504/6c330d09/attachment.html>


More information about the NumPy-Discussion mailing list