From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2166 invoked by alias); 11 May 2006 13:39:33 -0000 Received: (qmail 2158 invoked by uid 22791); 11 May 2006 13:39:32 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 13:39:30 +0000 Received: by nf-out-0910.google.com with SMTP id a4so67237nfc for ; Thu, 11 May 2006 06:39:27 -0700 (PDT) Received: by 10.49.10.9 with SMTP id n9mr465767nfi; Thu, 11 May 2006 06:39:27 -0700 (PDT) Received: by 10.49.92.6 with HTTP; Thu, 11 May 2006 06:39:27 -0700 (PDT) Message-ID: <5b7094580605110639y57febee0t7a4faf79480fcb84@mail.gmail.com> Date: Thu, 11 May 2006 13:39:00 -0000 From: "Brian Budge" To: "Brian Gough" Subject: Re: gcc linking and address of template function Cc: gcc-help In-Reply-To: <17506.62161.81052.707442@hp2.network-theory.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5b7094580605051429j3b4577c5o7d46dfb7f36fbc17@mail.gmail.com> <17506.62161.81052.707442@hp2.network-theory.co.uk> X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-05/txt/msg00108.txt.bz2 No, amazingly enough. I actually gave up on this and wrote my own templates based solver. If I get some time one of these days, I may try to reconstruct this. Thanks, Brian On 5/11/06, Brian Gough wrote: > 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/ >