[SciPy-user] build problem using cygwin

Geza Groma groma at nucleus.szbk.u-szeged.hu
Tue May 14 05:26:01 EDT 2002


I tried to build scipy from the latest (MAy 13) CVS on a WindowsNT using
cygwin-1.3.10-1 and gcc-2.95.3-5.
It succesfully built atlas.3.3.15 and created the complete liblapack.a
library from LAPACK 3.0. Building of scipy, however,  is stopped at the
creation of the first dll with the error message below.

Any idea what is wrong?


c:\cygwin\bin\gcc.exe -mno-cygwin -mdll -static -s
build\temp.win32-2.2\Release\fortranobject.o build\temp.win32-2.2\Rel
ease\fblasmodule.o build\temp.win32-2.2\Release\fblas.def -LC:\Atlaslib
-LC:\Atlaslib -Lbuild\temp.win32-2.2 -LC:\Python
22\libs -Lbuild\temp.win32-2.2
-Lc:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 -lfblas -llapack
-lf77blas -lcblas -latla
s -lpython22 -lc_misc -lcephes -lrootfind -lgcc -lg2c -o
build\lib.win32-2.2\scipy\linalg\fblas.pyd
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(s_stop.o)(.text+0x2f):s_stop.c:
undefined reference to `_impure_p
tr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(s_stop.o)(.text+0x4d):s_stop.c:
undefined reference to `_impure_p
tr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(s_stop.o)(.text+0x69):s_stop.c:
undefined reference to `_impure_p
tr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sfe.o)(.text+0x4e):sfe.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sfe.o)(.text+0xb1):sfe.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sfe.o)(.text+0xeb):sfe.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0x49):fmt.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0x95):fmt.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0xe54):fmt.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0xe76):fmt.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0xf2e):fmt.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(fmt.o)(.text+0xf63):fmt.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wsfe.o)(.text+0x1d4):wsfe.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wsfe.o)(.text+0x278):wsfe.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wsfe.o)(.text+0x27f):wsfe.c:
more undefined references to `__errn
o' follow
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x49b):err.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x4bd):err.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x508):err.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x534):err.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x551):err.c:
undefined reference to `_impure_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x577):err.c:
more undefined references to `_impure_
ptr' follow
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x767):err.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x838):err.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(err.o)(.text+0x8a7):err.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(open.o)(.text+0x286):open.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(open.o)(.text+0x424):open.c:
undefined reference to `__errno'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(open.o)(.text+0x577):open.c:
more undefined references to `__errn
o' follow
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sig_die.o)(.text+0x16):sig_die.c:
undefined reference to `_impure
_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sig_die.o)(.text+0x30):sig_die.c:
undefined reference to `_impure
_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(sig_die.o)(.text+0x46):sig_die.c:
undefined reference to `_impure
_ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wrtfmt.o)(.text+0x1b0):wrtfmt.c:
undefined reference to `__errno'

c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wrtfmt.o)(.text+0x966):wrtfmt.c:
undefined reference to `_impure_
ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wrtfmt.o)(.text+0xaec):wrtfmt.c:
undefined reference to `_impure_
ptr'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(wref.o)(.text+0x146):wref.c:
undefined reference to `_imp___ctype
_'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(endfile.o)(.text+0x5d):endfile.c:
undefined reference to `__errno
'
c:/cygwin/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/libg2c.a(endfile.o)(.text+0x374):endfile.c:
undefined reference to `__errn
o'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

--
Géza Groma
Institute of Biophysics,
Biological Research Center of Hungarian Academy of Sciences
Temesvári krt.62.
6726 Szeged
Hungary
phone: +36 62 432 232
fax:   +36 62 433 133





More information about the SciPy-User mailing list