[Top][All Lists]

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

Re: Libtool generating flags incompatible with nvcc

From: Ralf Wildenhues
Subject: Re: Libtool generating flags incompatible with nvcc
Date: Mon, 21 Sep 2009 21:21:07 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

Hello Mahesh,

first off, please don't top-post, thank you.

* Mahesh N wrote on Mon, Sep 21, 2009 at 07:45:10AM CEST:
> I apologize for my late reply. I checked the patch. It seems like we are
> using nvcc to do the linking also, we would instead like to *link with
> GCC*although we would compile with nvcc.

> I think there is some symbol stripping happening when nvcc is used to
> generate the shared library. When I use the generated shared library with
> another project, the compilation fails and the compiler returns with :
> test1.c:(.text+0x58): undefined reference to `gsl_vector_set_all'
> test1.c:(.text+0x73): undefined reference to `gsl_vector_get'

Please show the full command that fails, starting from '...libtool
--mode=link ...' on, including all error output, cut and pasted.

> But, such a thing does not happen when gcc is used during the linking stage.


reply via email to

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