Hello, I try to compile numpy-1.0b1 with blas and lapack support. I have compiled blas and lapack according to the instrunctions in
http://pong.tamu.edu/tiki/tiki-view_blog_post.php?blogId=6&postId=97 . I copied the libraries to /scratch/python2.4/lib and set the environment variables accordingly. python setup.py config in the numpy directory then finds the libraries. If I then do python setup.py build The compilation dies with the error message: .. build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x28ae): In function `dotblas_vdot': numpy/core/blasdot/_dotblas.c:971: undefined reference to `PyArg_ParseTuple' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2b45):numpy/core/blasdot/_dotblas.c:1002: undefined reference to `PyTuple_N ew' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2b59):numpy/core/blasdot/_dotblas.c:83: undefined reference to `PyArg_Parse Tuple' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2b6d):numpy/core/blasdot/_dotblas.c:107: undefined reference to `_Py_NoneSt ruct' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2cba):numpy/core/blasdot/_dotblas.c:1021: undefined reference to `PyExc_Val ueError' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2cc9):numpy/core/blasdot/_dotblas.c:1021: undefined reference to `PyErr_Set String' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2d1c):numpy/core/blasdot/_dotblas.c:1029: undefined reference to `PyEval_Sa veThread' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2d3f):numpy/core/blasdot/_dotblas.c:1049: undefined reference to `PyEval_Re storeThread' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2d63):numpy/core/blasdot/_dotblas.c:1045: undefined reference to `cblas_cdo tc_sub' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2d84):numpy/core/blasdot/_dotblas.c:1041: undefined reference to `cblas_zdo tc_sub' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2da1):numpy/core/blasdot/_dotblas.c:1037: undefined reference to `cblas_sdo t' build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o(.text+0x2dc6):numpy/core/blasdot/_dotblas.c:1033: undefined reference to `cblas_ddo t' /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/libfrtbegin.a(frtbegin.o)(.text+0x22): In function `main': : undefined reference to `MAIN__' collect2: ld returned 1 exit status error: Command "/usr/bin/g77 -L/scratch/apps/lib build/temp.linux-x86_64-2.4/numpy/core/blasdot/_dotblas.o -L/scratch/python2.4/lib -lfblas - lg2c -o build/lib.linux-x86_64-2.4/numpy/core/_dotblas.so" failed with exit status 1 I try this on a dual processor Xeon machine with gcc 3.2.3 under an old redhat distribution. Therefore using the libraries delivered with the distro don't work as they are broken. At first I tried to compile numpy with atlas support but I got similar problems. I have attached the full output of the failed build. I would be very grateful if somebody with a little more experience with compilers could have a look at it and maybe point me in the right direction. Many thanks in advance, Hanno -- Hanno Klemm [EMAIL PROTECTED]
build.log.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion