public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: Linker Error with GSL/GNUWin32
  2001-12-19 13:20 Linker Error with GSL/GNUWin32 GnuWin32
@ 2001-11-22  5:00 ` GnuWin32
  0 siblings, 0 replies; 6+ messages in thread
From: GnuWin32 @ 2001-11-22  5:00 UTC (permalink / raw)
  To: rvc, Gsl Discuss

Most probably, you have mixed Cygwin and Mingw. If you want to create native
MS-Windows executables (i.e. executables that depend only on msvcrt.dll and
don not require installation of Cygwin), make sure that the Mingw bin
directory comes first in your path. If you want to create Cygwin
applications, then you cannot use the Gnuwin32 port of Gsl.
See the recent postings on this issue.

Kees Zeelenberg


Vijaya C Ramasami (Vijay) writes:
 >  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

You might want to CC your message to the GNUWin32 list or the
maintainer of the GNUWin32 GSL package.  I'm not sure if they read
this list.  Looks like there is some sort of incompatibility between
the system libraries involved anyway.

regards
Brian Gough





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linker Error with GSL/GNUWin32
@ 2001-12-19 13:20 GnuWin32
  2001-11-22  5:00 ` GnuWin32
  0 siblings, 1 reply; 6+ messages in thread
From: GnuWin32 @ 2001-12-19 13:20 UTC (permalink / raw)
  To: rvc, Gsl Discuss

Most probably, you have mixed Cygwin and Mingw. If you want to create native
MS-Windows executables (i.e. executables that depend only on msvcrt.dll and
don not require installation of Cygwin), make sure that the Mingw bin
directory comes first in your path. If you want to create Cygwin
applications, then you cannot use the Gnuwin32 port of Gsl.
See the recent postings on this issue.

Kees Zeelenberg


Vijaya C Ramasami (Vijay) writes:
 >  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

You might want to CC your message to the GNUWin32 list or the
maintainer of the GNUWin32 GSL package.  I'm not sure if they read
this list.  Looks like there is some sort of incompatibility between
the system libraries involved anyway.

regards
Brian Gough





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linker Error with GSL/GNUWin32
  2001-12-19 13:20 Vijaya C Ramasami (Vijay)
  2001-11-16 17:01 ` Vijaya C Ramasami (Vijay)
@ 2001-12-19 13:20 ` Brian Gough
  2001-11-17  0:30   ` Brian Gough
  1 sibling, 1 reply; 6+ messages in thread
From: Brian Gough @ 2001-12-19 13:20 UTC (permalink / raw)
  To: Vijaya C Ramasami (Vijay); +Cc: GSL Discuss

Vijaya C Ramasami (Vijay) writes:
 >  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

You might want to CC your message to the GNUWin32 list or the
maintainer of the GNUWin32 GSL package.  I'm not sure if they read
this list.  Looks like there is some sort of incompatibility between
the system libraries involved anyway.

regards
Brian Gough

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Linker Error with GSL/GNUWin32
@ 2001-12-19 13:20 Vijaya C Ramasami (Vijay)
  2001-11-16 17:01 ` Vijaya C Ramasami (Vijay)
  2001-12-19 13:20 ` Brian Gough
  0 siblings, 2 replies; 6+ messages in thread
From: Vijaya C Ramasami (Vijay) @ 2001-12-19 13:20 UTC (permalink / raw)
  To: GSL Discuss

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linker Error with GSL/GNUWin32
  2001-12-19 13:20 ` Brian Gough
@ 2001-11-17  0:30   ` Brian Gough
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Gough @ 2001-11-17  0:30 UTC (permalink / raw)
  To: Vijaya C Ramasami (Vijay); +Cc: GSL Discuss

Vijaya C Ramasami (Vijay) writes:
 >  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

You might want to CC your message to the GNUWin32 list or the
maintainer of the GNUWin32 GSL package.  I'm not sure if they read
this list.  Looks like there is some sort of incompatibility between
the system libraries involved anyway.

regards
Brian Gough

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Linker Error with GSL/GNUWin32
  2001-12-19 13:20 Vijaya C Ramasami (Vijay)
@ 2001-11-16 17:01 ` Vijaya C Ramasami (Vijay)
  2001-12-19 13:20 ` Brian Gough
  1 sibling, 0 replies; 6+ messages in thread
From: Vijaya C Ramasami (Vijay) @ 2001-11-16 17:01 UTC (permalink / raw)
  To: GSL Discuss

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-12-19 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-19 13:20 Linker Error with GSL/GNUWin32 GnuWin32
2001-11-22  5:00 ` GnuWin32
2001-12-19 13:20 Vijaya C Ramasami (Vijay)
2001-11-16 17:01 ` Vijaya C Ramasami (Vijay)
2001-12-19 13:20 ` Brian Gough
2001-11-17  0:30   ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).