need help from a C programmer
Michael C. Shultz
ringworm01 at gmail.com
Thu Dec 15 11:18:46 PST 2005
On Thursday 15 December 2005 11:10, Fernan Aguero wrote:
> I need help from someone with experience in C programming,
> and knowledge of FreeBSD specifics.
> I'm trying to build Jim Kent´s BLAT on FreeBSD
> 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: 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: *** [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
> And the complete output here
> Thanks in advance,
For the stdout seems like you aren't linking to libc.
More information about the freebsd-ports