From owner-freebsd-questions@FreeBSD.ORG Fri Apr 2 12:37:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F214716A4CF for ; Fri, 2 Apr 2004 12:37:04 -0800 (PST) Received: from peter.smxy.org (smxy.org [64.32.179.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC04A43D41 for ; Fri, 2 Apr 2004 12:37:04 -0800 (PST) (envelope-from ste@smxy.org) Received: from localhost (localhost [127.0.0.1]) by peter.smxy.org (Postfix) with ESMTP id 1972F208F for ; Fri, 2 Apr 2004 15:37:04 -0500 (EST) Received: from smxy.org ([127.0.0.1]) by localhost (peter.smxy.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 08847-10 for ; Fri, 2 Apr 2004 15:36:56 -0500 (EST) Received: from smxy.org (bgp377940bgs.plnfld01.nj.comcast.net [68.36.5.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by peter.smxy.org (Postfix) with ESMTP for ; Fri, 2 Apr 2004 15:36:56 -0500 (EST) Message-ID: <406DCEBE.4070509@smxy.org> Date: Fri, 02 Apr 2004 15:36:14 -0500 From: "Shaun T. Erickson" User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <406D1265.1030102@smxy.org> In-Reply-To: <406D1265.1030102@smxy.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at smxy.org Subject: Re: OT: how do I get this to link? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ste@smxy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 20:37:05 -0000 I wrote: > > I can't get the program to link. In the output below, the things that > c-client4.a is complaining about are found in the pam and ssl libs > earlier in the line (I grep'd for a number of them, in /usr/lib/*.a, and > they were found in those two libs). I have tried many different ways of > ordering the libs, and this is the one that produces the least undefined > references. I have all the libs found in /usr/lib first and the libs > from /usr/local/lib second. > > I'm pulling my hair out trying to get this to work. Can someone help me > figure this out please? I'm at my wits end with this. I've continued to try reordering the libs or adding them more than once, as 'man ld' says I can do (that only led to even more undefined references), and even tried to tell ld to search the libs multiple times, via the -( -) construct, but make barfed on that. Any programmers out there that would be able to help me sort this out, off list, please? TIA. -ste