This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: gsl linking
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com
- Date: Fri, 8 Oct 2010 16:01:18 +0100 (BST)
- Subject: 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