[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] ERROR "undefined reference"
From: |
Lee Seongjoo |
Subject: |
Re: [Help-gsl] ERROR "undefined reference" |
Date: |
Sat, 30 Oct 2010 15:31:51 +0900 |
It did solve the problem. The manual didn't say about explicit link
options for gsl and gslcblas. Thank you very much.
2010/10/30 Hongzheng Wang <address@hidden>:
> Hi,
>
> It is the problem of linker. You have to tell your IDE to link with
> gsl and gslcblas libraries when building your program. If you would
> like to try that in console, you can use the following command:
> gcc yourprog.c -lgsl -lgslcblas
> to generate the correct binary file named "a.out". Note these options
> "-lgsl" and "-lgslcblas". You IDE should have an equivalent way to do
> so.
>
> HZ
>
> On Thu, Oct 28, 2010 at 5:22 AM, Lee Seongjoo <address@hidden> wrote:
>> 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.
>>
>> --
>> Lee Seongjoo
>>
>> _______________________________________________
>> Help-gsl mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/help-gsl
>>
>
--
이성주