This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Linker Error with GSL/GNUWin32
- From: "Vijaya C Ramasami (Vijay)" <rvc at ukans dot edu>
- To: GSL Discuss <gsl-discuss at sources dot redhat dot com>
- Date: Wed, 21 Nov 2001 11:07:35 -0600
- Subject: Linker Error with GSL/GNUWin32
- Organization: EECS Department, University of Kansas
Hi,
I recently installed GSL using the libraries downloaded from the
GNUWin32 website and I got the following errors while compiling an
example program. Specifically, the linker cannot find references to
"_imp__iob" in two different locations within the libgsl.a library.
Please help..
\gslwin\lib/libgsl.a(stream.lo)(.text+0x32):stream.c: undefined
reference to `_imp___iob'
\gslwin\lib/libgsl.a(stream.lo)(.text+0x95):stream.c: undefined
reference to `_imp___iob'
collect2: ld returned 1 exit status
make.exe: *** [testMatrix] Error 1
This was the linker command:
gcc -o testMatrix testMatrix.o Matrix.o -L \gslwin\lib -lgsl -lgslcblas
-lm -static
-Vijay.
--
Vijaya Chandran Ramasami,
GTA, Communication Systems Lab,
The University of Kansas,
Home Phone # 785-312-8001,
Email : rvc@ku.edu
Home Page : http://www.ittc.ukans.edu/~rvc/
---------------------------------------------
"Mathematics is the music of reason" - Sylvester.