From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3433 invoked by alias); 8 Oct 2010 15:01:30 -0000 Received: (qmail 3387 invoked by uid 22791); 8 Oct 2010 15:01:28 -0000 X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=BAYES_05,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_LC,T_TO_NO_BRKTS_FREEMAIL,URI_NOVOWEL X-Spam-Check-By: sourceware.org Received: from nm7.bullet.mail.ukl.yahoo.com (HELO nm7.bullet.mail.ukl.yahoo.com) (217.146.182.248) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 08 Oct 2010 15:01:23 +0000 Received: from [217.146.183.216] by nm7.bullet.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 15:01:20 -0000 Received: from [217.146.183.165] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 15:01:20 -0000 Received: from [127.0.0.1] by omp1006.mail.ukl.yahoo.com with NNFMP; 08 Oct 2010 15:01:19 -0000 Received: (qmail 84990 invoked by uid 60001); 8 Oct 2010 15:01:19 -0000 Message-ID: <561204.79529.qm@web25503.mail.ukl.yahoo.com> Received: from [57.67.164.37] by web25503.mail.ukl.yahoo.com via HTTP; Fri, 08 Oct 2010 16:01:18 BST Date: Fri, 08 Oct 2010 15:01:00 -0000 From: Marco Atzeri Subject: R: gsl linking To: cygwin@cygwin.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2010-10/txt/msg00207.txt.bz2 --- 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_densit= y_correl.c:(.text+0xa4): > undefined reference to `_gsl_fft_complex_wavetable_free' > ./libs/statistics//libice_statistics.a(iceu_density_correl.o):iceu_densit= y_correl.c:(.text+0xbf): > undefined reference to `_gsl_fft_complex_workspace_free' > and so on. >=20 > -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=A0 libgsl.dll.a=A0 libgsl.la=A0 > libgslcblas.a=A0 libgslcblas.dll.a > libgslcblas.la >=20 >=20 > Reinstallation of packages gsl* didnt help >=20 > information of "cygcheck -s" and "cygcheck -c" in attaches > 'out' and > 'out2' respectivetly > --=20 -- 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