textproc/uni2ascii build failure on FreeBSD 7.3

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Aug 31 07:33:54 UTC 2010


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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-ports mailing list