public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Steve ROBBINS <stever@bic.mni.mcgill.ca>
To: emombel@nimr.mrc.ac.uk
Cc: gsl-discuss@sources.redhat.com
Subject: Re: GNU Scientific Library
Date: Mon, 30 Sep 2002 11:22:00 -0000	[thread overview]
Message-ID: <20020930141902.B110285@shadow.bic.mni.mcgill.ca> (raw)
In-Reply-To: <Pine.LNX.4.31.0209301822270.6015-100000@rosebank.mathbio.local>; from emombel@nimr.mrc.ac.uk on Mon, Sep 30, 2002 at 06:23:31PM +0100

On Mon, Sep 30, 2002 at 06:23:31PM +0100, emombel@nimr.mrc.ac.uk wrote:
> 
> Hi,
> 
> I am trying to install the  GNU Scientific Library but when I try to
> compile an example program, I found in the reference manual, I encounter
> the following error messages:
> 
> /tmp/ccOEfTKp.o: In function `main':
> /tmp/ccOEfTKp.o(.text+0x15): undefined reference to `gsl_matrix_alloc'
> /tmp/ccOEfTKp.o(.text+0x27): undefined reference to `gsl_matrix_alloc'
> collect2: ld returned 1 exit status
> 
> It looks like there is something wrong with the libraries

Possibly, or maybe you forgot to link with one of them.  It is hard
to tell without knowing what command line you used.

The best thing to do is: immediately after building ("make") but
before "make install", do "make check".  That runs a regression test
and should tell you whether the libraries are correctly built.

> When I typed 'make install' some errors were detected:
> 
> make[2]: *** [install-pkgincludeHEADERS] Error 1
> make[2]: Leaving directory `/home/emombel/GSL/gsl-1.0/sys'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory `/home/emombel/GSL/gsl-1.0/sys'
> make: *** [install-recursive] Error 1

The important information appears in the lines above the first "Error 1",
which you omitted.  Do you have write permission on the directories
to which you are installing gsl?

-S



  reply	other threads:[~2002-09-30 18:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 11:19 emombel
2002-09-30 11:22 ` Steve ROBBINS [this message]
2002-10-14  3:53 ` emombel
2002-10-15 14:46   ` Brian Gough

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=20020930141902.B110285@shadow.bic.mni.mcgill.ca \
    --to=stever@bic.mni.mcgill.ca \
    --cc=emombel@nimr.mrc.ac.uk \
    --cc=gsl-discuss@sources.redhat.com \
    /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).