From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32031 invoked by alias); 11 May 2006 10:41:08 -0000 Received: (qmail 32022 invoked by uid 22791); 11 May 2006 10:41:07 -0000 X-Spam-Check-By: sourceware.org Received: from network-theory.com (HELO mail.network-theory.co.uk) (66.199.228.187) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 11 May 2006 10:41:02 +0000 From: "Brian Gough" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17506.62161.81052.707442@hp2.network-theory.co.uk> Date: Thu, 11 May 2006 10:41:00 -0000 To: "Brian Budge" Cc: gcc-help Subject: Re: gcc linking and address of template function In-Reply-To: <5b7094580605051429j3b4577c5o7d46dfb7f36fbc17@mail.gmail.com> References: <5b7094580605051429j3b4577c5o7d46dfb7f36fbc17@mail.gmail.com> 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/msg00107.txt.bz2 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/