[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Re: Help with porting GSL to CUDA
From: |
Brian Gough |
Subject: |
[Help-gsl] Re: Help with porting GSL to CUDA |
Date: |
Sun, 13 Sep 2009 12:18:18 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
At Thu, 3 Sep 2009 16:02:01 +0530,
Mahesh Narayanamurthi wrote:
> To test the generated library file, we wrote a fairly trivial program that
> worked with vectors. Now, when I am trying to link the new program with the
> library we have generated, we are getting the following error:
>
> test1.o: In function `main':
> test1.c:(.text+0x20): undefined reference to `gsl_vector_alloc'
I can suggest a couple of possibilities:
The program isn't being linked to the (correct) library.
The library is missing these functions - you can check the symbols
that are defined in it with a 'nm libgsl.a' or 'nm libgsl.so'
--
Brian Gough
(GSL Maintainer)
Support freedom by joining the FSF
http://www.fsf.org/associate/support_freedom/join_fsf?referrer=37