public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Martin Jansche <jansche@ling.ohio-state.edu>
To: <gsl-discuss@sources.redhat.com>
Subject: Re: undefined reference
Date: Mon, 22 Sep 2003 18:17:00 -0000	[thread overview]
Message-ID: <Pine.SOL.4.33.0309221414490.15372-100000@julius.ling.ohio-state.edu> (raw)
In-Reply-To: <3F6F3B92.50601@ohm.york.ac.uk>

On Mon, 22 Sep 2003, cx101 wrote:

> When compiling, I was told:
> /tmp/cc807SzQ.o(.text+0x28): In function 'main':
> :undefined reference to 'gsl_sf_bessel_J0'
> collect2: ld return 1 exit status

It's the linker that produced the error message.  You need to tell us
the exact command line you used to invoke the compiler.  My guess is
that you forgot to include $(gsl-config --libs) (ksh syntax, use
backquotes in sh) for the linking step.

- martin

  reply	other threads:[~2003-09-22 18:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-22 18:13 cx101
2003-09-22 18:17 ` Martin Jansche [this message]
2003-09-23  9:06 ` Brian Gough
2003-09-22 18:44 Cheng Xing
2003-09-22 18:57 ` Achim Gädke

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=Pine.SOL.4.33.0309221414490.15372-100000@julius.ling.ohio-state.edu \
    --to=jansche@ling.ohio-state.edu \
    --cc=gsl-discuss@sources.redhat.com \
    --cc=jansche@acm.org \
    /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).