This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc linking and address of template function
- From: "Brian Gough" <bjg at network-theory dot co dot uk>
- To: "Brian Budge" <brian dot budge at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 11 May 2006 09:16:17 +0100
- Subject: Re: gcc linking and address of template function
- References: <5b7094580605051429j3b4577c5o7d46dfb7f36fbc17@mail.gmail.com>
Brian Budge writes:
> I'm attempting to use gsl (gnu scientific library) from my C++
> program. gsl is a C program, and I need to pass function pointers to
> gsl to make it do it's magic on my data.
>
> The program compiles fine, and the functions int ll_uv_*() are found
> by the nm utility to be in a .o file.
>
> The program still won't link. Anyone have any ideas? Is this
> something I'm doing wrong? The gcc version is 3.4.5-r1, and this is
> on a xeon box running linux.
Did you find the cause of this problem?
--
Brian Gough
(GSL Maintainer)
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.com/