Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2005 11:22:31 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: need help from a C programmer
Message-ID:  <200512151122.32176.ringworm01@gmail.com>
In-Reply-To: <200512151118.31539.ringworm01@gmail.com>
References:  <20051215191038.GH49639@iib.unsam.edu.ar> <200512151118.31539.ringworm01@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 December 2005 11:18, Michael C. Shultz wrote:
> 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
>
> For the stdout seems like you aren't linking to libc.
>
> -Mike
Also, does your source have

#include <stdio.h>

somewhere? Is the path to stdio.h set?

=2DMike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512151122.32176.ringworm01>