gsl linking

Sergey Ivanov icegood1980@gmail.com
Fri Oct 8 14:44:00 GMT 2010


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.
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
-- 
Kind regards,
Sergey Ivanov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out
Type: application/octet-stream
Size: 150861 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101008/ff7eba4d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out2
Type: application/octet-stream
Size: 114352 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101008/ff7eba4d/attachment-0001.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list