Subject: Re: pkgsrc-2005Q3 SunOS 5.9/sparc bulk build results 2005-12-30
To: D'Arcy J.M. Cain <darcy@NetBSD.org>
From: Jonathan Perkin <jonathan@perkin.org.uk>
List: pkgsrc-bulk
Date: 01/02/2006 17:05:11
* On 2006-01-02 at 15:37 GMT, D'Arcy J.M. Cain wrote:

> cc -Wl,-R/usr/pkg/lib  generate.o expr.o getarg.o getline.o sockunix.o
> xstrtok.o   -o generate Undefined                       first referenced
>  symbol                             in file
> getservbyname                       sockunix.o
> _mcount                             generate.o
> gethostbyname                       sockunix.o
> socket                              sockunix.o
> connect                             sockunix.o
> inet_addr                           sockunix.o
> ld: fatal: Symbol referencing errors. No output written to generate
> 
> Can a SunOS person please tell me what library I need to include to
> make this compile, please.  Thanks.

Networking on Solaris requires -lsocket -lnsl.

> Should I be changing my packages to not build on SunOS against those
> versions or should I just wait for someone to fix those packages?

Wait for someone to fix the packages.

Thanks,

-- 
Jonathan Perkin                                     The NetBSD Project
http://www.perkin.org.uk/                       http://www.netbsd.org/