From: Brian Gough <bjg@network-theory.co.uk>
To: rohe@physik.RWTH-Aachen.DE
Cc: gsl list <gsl-discuss@sources.redhat.com>
Subject: Re: using static libraries
Date: Wed, 19 Dec 2001 13:20:00 -0000 [thread overview]
Message-ID: <15334.39284.968469.972544@debian> (raw)
In-Reply-To: <3BE6789B.4090105@physik.rwth-aachen.de>
Daniel Rohe writes:
> >g++ -static -lgsl -lgslcblas gsl_test.c -o gsl_test.out
> /usr/tmp/ccpuyfqp.o: In function `main':
> /usr/tmp/ccpuyfqp.o(.text+0x11): undefined reference to `gsl_isinf'
> collect2: ld returned 1 exit status
>
The "-lgsl -lgslcblas" needs to be at the end of the command line
regards
Brian
next prev parent reply other threads:[~2001-12-19 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 13:20 Daniel Rohe
2001-12-19 13:20 ` Achim Gaedke
2001-12-19 13:20 ` Daniel Rohe
2001-12-19 13:20 ` Brian Gough [this message]
2001-12-19 13:20 ` Dirk Eddelbuettel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15334.39284.968469.972544@debian \
--to=bjg@network-theory.co.uk \
--cc=gsl-discuss@sources.redhat.com \
--cc=rohe@physik.RWTH-Aachen.DE \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).