From help-octave-request at bevo dot che dot wisc dot edu Fri Nov 22 15:30:28 2002 Subject: Building 2.1.40 on cygwin with --enable-shared --enable-dl From: Andy Adler To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 22 Nov 2002 16:29:36 -0500 (EST) I'm having trouble building 2.1.40 on cygwin with --enable-shared and --enable-dl. I get the following: g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--out-implib=liboctinterp.dll.a -o liboctinterp.dll BaseSLList.o Cell.o ... Creating library file: liboctinterp.dll.a ../libcruft/blas-xtra/xerbla.o(.text+0x16):xerbla.f: undefined reference to `_s_wsfe' ../libcruft/blas-xtra/xerbla.o(.text+0x31):xerbla.f: undefined reference to `_do_fio' ../libcruft/blas-xtra/xerbla.o(.text+0x4c):xerbla.f: undefined reference to `_do_fio' ../libcruft/blas-xtra/xerbla.o(.text+0x51):xerbla.f: undefined reference to `_e_wsfe' collect2: ld returned 1 exit status make[2]: *** [liboctinterp.dll] Error 1 make[2]: Leaving directory `/usr/src/octave-2.1.40-dynlink/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/usr/src/octave-2.1.40-dynlink' make: *** [all] Error 2 This worked fine on 2.1.39. Additionally, I can compile 2.1.40 with --enable-static with no problem. Andy -- Andy Adler, Assistant Professor, School of Information Technology and Engineering, University of Ottawa, Tel:1(613)562-5800 X 2345, Email:adler at site dot uottawa dot ca ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------