This is the mail archive of the cygwin mailing list for the Cygwin 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]

R: gsl linking


--- Ven 8/10/10, Sergey Ivanov ha scritto:

> After compiling program that uses gsl
> a got linking errors:
> ./libs/statistics//libice_statistics.a(iceu_density_correl.o):iceu_density_correl.c:(.text+0xa4):
> undefined reference to `_gsl_fft_complex_wavetable_free'
> ./libs/statistics//libice_statistics.a(iceu_density_correl.o):iceu_density_correl.c:(.text+0xbf):
> undefined reference to `_gsl_fft_complex_workspace_free'
> and so on.
> 
> -L/usr/lib -lgsl -lgslcblas -lm is mentioned in my command
> line to gcc.

On windows in general the linking order is important
so what is your complete command line ?


> Libraries are physically present in /usr/lib:
> cd /usr/lib; ls libgsl*
> libgsl.a? libgsl.dll.a? libgsl.la?
> libgslcblas.a? libgslcblas.dll.a
> libgslcblas.la
> 
> 
> Reinstallation of packages gsl* didnt help
> 
> information of "cygcheck -s" and "cygcheck -c" in attaches
> 'out' and
> 'out2' respectivetly
> -- 





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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