www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/08/11:01:35

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 <marco_atzeri AT yahoo DOT it>
Subject: R: gsl linking
To: cygwin AT cygwin DOT com
In-Reply-To: <AANLkTi=dRKAZfvPLo=m9wYfwn4MRP_aHOW3-Z+3OjwFK@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019