This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker Error with GSL/GNUWin32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]