Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 2010 00:33:53 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        ports@freebsd.org, ehaupt@FreeBSD.org, billposer@alum.mit.edu
Subject:   Re: textproc/uni2ascii build failure on FreeBSD 7.3
Message-ID:  <20100831073352.GA60974@icarus.home.lan>
In-Reply-To: <20100831062759.GA6916@ozzmosis.com>
References:  <20100831062759.GA6916@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 31, 2010 at 04:27:59PM +1000, andrew clarke wrote:
> uni2ascii no longer builds on FreeBSD 7.3:
> 
> cc -DNEWSUMMARY  -O2 -fno-strict-aliasing -pipe   -o ascii2uni ascii2uni.o enttbl.o  GetWord.o putu8.o SetFormat.o  
> ascii2uni.o(.text+0xb23): In function main':
> : undefined reference to getline'

FreeBSD 7.x's libc does not include getline(3).  The port will have to
be modified to probably bring in devel/libgetline and custom patches
made to work when built on that OS.

Alternatively, one could try and get the author (CC'd) to restore
getline.c in the official source but only build it/make use of it when a
specific configure or make flag is specified.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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