From owner-freebsd-ports@FreeBSD.ORG Thu Dec 15 19:18:46 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB1FA16A41F for ; Thu, 15 Dec 2005 19:18:46 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C62343D55 for ; Thu, 15 Dec 2005 19:18:35 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id q3so453504nzb for ; Thu, 15 Dec 2005 11:18:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=JEXAsdt27czxRPDX/hQes8DatnLWYrW96QiYFp4fzWZroKYb+5ejH83Bmwy02J749PsLAC+C22KqvjkOvk+wgPfQl6jBo9h0e0m1WIagqcYY5NuvPZ0eqhpoj1KZxdtnFXYUCNc28vKjJKjDtfjjXVxsmW5T8lPZ0N/hVJxnguM= Received: by 10.65.59.11 with SMTP id m11mr1307604qbk; Thu, 15 Dec 2005 11:18:34 -0800 (PST) Received: from ringworm.mechee.com ( [71.102.14.129]) by mx.gmail.com with ESMTP id q17sm149874qbq.2005.12.15.11.18.33; Thu, 15 Dec 2005 11:18:34 -0800 (PST) From: "Michael C. Shultz" To: freebsd-ports@freebsd.org Date: Thu, 15 Dec 2005 11:18:31 -0800 User-Agent: KMail/1.8.3 References: <20051215191038.GH49639@iib.unsam.edu.ar> In-Reply-To: <20051215191038.GH49639@iib.unsam.edu.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200512151118.31539.ringworm01@gmail.com> Cc: Subject: Re: need help from a C programmer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2005 19:18:46 -0000 On Thursday 15 December 2005 11:10, Fernan Aguero wrote: > Hi! > > I need help from someone with experience in C programming, > and knowledge of FreeBSD specifics. > > I'm trying to build Jim Kent=B4s BLAT on FreeBSD > http://www.soe.ucsc.edu/~kent/src/blat33Src.zip > > I've already got some progress, and a few patches, with help > from the author and UCSC staff. But I've come to an obstacle > that I (no C knowledge) can't fix. > > [ ... ] > cd hg/pslPretty && gmake > gmake[1]: Entering directory > `/scratch/fernan/ports/blat/work/blatSrc/hg/pslPret ty' > gcc34 -ggdb -o ../../bin/i386/pslPretty pslPretty.o ../../lib/i386/jkweb.a > -lm pslPretty.o: In function `prettyOutString': > pslPretty.o(.text+0x668): undefined reference to `__ctype_b_loc' > pslPretty.o: In function `pslPretty': > pslPretty.o(.text+0x116d): undefined reference to `stdout' > collect2: ld returned 1 exit status > gmake[1]: *** [pslPretty] Error 1 > > The authors also are intrigued: "stdout at least is about as > basic and common of a C symbol as you can get. It looks > like pslPretty isn't using ctype directly, but through > isalpha() which is nearly as common as stdout" > > I, can't help much, but perhaps someone in the list has some > clue as to what might be going on? > > My draft port is here > http://genoma.unsam.edu.ar/~fernan/freebsd/blat/blat.shar.gz > > And the complete output here > http://genoma.unsam.edu.ar/~fernan/freebsd/blat/blat.out.gz > > Thanks in advance, > > Fernan =46or the stdout seems like you aren't linking to libc. =2DMike