[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] question about error in compiling ex program
From: |
Joakim Hove |
Subject: |
Re: [Help-gsl] question about error in compiling ex program |
Date: |
Tue, 07 Sep 2004 08:54:11 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) |
Yiwen Chen <address@hidden> writes:
> I got the error information like this:
> /tmp/ccypleEX.o(.text+0x28): In function 'main':
> :undefined reference to `gsl_sf_bessel_J0'
> /tmp/ccypleEx.o(.eh_frame+0x11):undefined reference to `_gxx_perssonality_v0'
> collect2: ld returned 1 exit status
To get better help you should include the exact command-line sequence
you have used to compile and link the program.
>From the errors you get it seems the linking has failed, did you
include -lgsl and -lgslcblas in the linking command? Did you mix gcc
and g++?
HTH
Joakim
--
Joakim Hove
hove AT ift uib no
+47 (55 5)8 27 90
http://www.ift.uib.no/~hove/