X-Recipient: archive-cygwin AT delorie DOT com 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 Message-ID: <561204.79529.qm@web25503.mail.ukl.yahoo.com> Date: Fri, 8 Oct 2010 16:01:18 +0100 (BST) From: Marco Atzeri Subject: R: gsl linking To: cygwin AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- 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