[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] ERROR: "undefined reference"

From: Philip Ogunbona
Subject: [Help-gsl] ERROR: "undefined reference"
Date: Fri, 29 Oct 2010 04:45:08 +1100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100907 Fedora/3.0.7-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.7


Did you link you code to the appropriate library?

for example:
 gcc -L/usr/local/lib example.o -lgsl -lgslcblas -lm



On 10/29/2010 03:02 AM, address@hidden wrote:
> Send Help-gsl mailing list submissions to
>       address@hidden
> To subscribe or unsubscribe via the World Wide Web, visit
> or, via email, send a message with subject or body 'help' to
>       address@hidden
> You can reach the person managing the list at
>       address@hidden
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Help-gsl digest..."
> Today's Topics:
>    1. ERROR "undefined reference" (Lee Seongjoo)
> ----------------------------------------------------------------------
> Message: 1
> Date: Thu, 28 Oct 2010 18:22:16 +0900
> From: Lee Seongjoo <address@hidden>
> Subject: [Help-gsl] ERROR "undefined reference"
> To: address@hidden
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset=UTF-8
> Hello,
> I am new to this library. I have installed GSL on Ubuntu 10.04 using
> package manager. After installed the library, I was trying the
> tutorial. Then, I got this error "undefined reference to
> 'gsl_sf_gessel_J0'. When building the program, it did not complain
> about locating the header file. And all the library files are in the
> default place. But still I got this build error.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]