[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] undefined reference to `gsl_filter_gaussian_alloc'
From: |
Jerome BENOIT |
Subject: |
Re: [Help-gsl] undefined reference to `gsl_filter_gaussian_alloc' |
Date: |
Tue, 24 Jul 2018 21:49:52 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
On 24/07/18 21:28, Sergey Shcherbina wrote:
>
> Hi all,
>
> I am trying to compile an example from the
> https://www.gnu.org/software/gsl/doc/html/filter.html and
>
> gcc is producing the following errors :
>
> /GaussianSmoothedSignalx002c.o: In function `main':
> GaussianSmoothedSignalx002c.c:(.text+0xa6): undefined reference to
> `gsl_filter_gaussian_alloc'
> GaussianSmoothedSignalx002c.c:(.text+0x147): undefined reference to
> `gsl_filter_gaussian_kernel'
> GaussianSmoothedSignalx002c.c:(.text+0x170): undefined reference to
> `gsl_filter_gaussian_kernel'
> GaussianSmoothedSignalx002c.c:(.text+0x199): undefined reference to
> `gsl_filter_gaussian_kernel'
> GaussianSmoothedSignalx002c.c:(.text+0x1cd): undefined reference to
> `gsl_filter_gaussian'
> GaussianSmoothedSignalx002c.c:(.text+0x201): undefined reference to
> `gsl_filter_gaussian'
> GaussianSmoothedSignalx002c.c:(.text+0x235): undefined reference to
> `gsl_filter_gaussian'
> GaussianSmoothedSignalx002c.c:(.text+0x43e): undefined reference to
> `gsl_filter_gaussian_free'
> collect2: error: ld returned 1 exit status
>
> I downloaded gsl-2.5.tar.gz and made next steps:
>
> ./configure
>
> make
>
> make install
Is a system wide or a HOME installation ?
>
> but it didn't update old version where no gsl_filter.
It looks a a competition between different installed version of GSL .
Have you clean up the old version ?
>
> I appreciate any help.
>
> Thank you!
Jerome
>
> Serge.
>