On Thu, 30 Oct 2003, Melvin Smith wrote:

> At 12:09 AM 10/31/2003 +0000, Nicholas Clark wrote:
> >On Thu, Oct 30, 2003 at 01:54:24AM -0500, Melvin Smith wrote:
> > > Parrot fetched its first web page tonight. Its a baby step, but hey... :)
> >
> >Can we do IPv6?
<snip>
>
> Some of the changes are pretty simple (like instead of using inet_addr, use
> inet_aton, etc.) while I'll not sure about the rest. It's been a while
> since I did any socket projects but its all coming back pretty fast. :)

Speaking of which, (this version of) Solaris needs -lresolv to use inet_aton;
uname -a:

SunOS foobar 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-4

The error:

cc -o parrot -L/opt/SUNWspro/WS6/lib   -g imcc/main.o blib/lib/libparrot.a
-lsocket -lnsl -ldl -lm
ild: the archive blib/lib/libparrot.a has entries with the same name --
consistency checks during incremental links are not possible for these
entries
ild: (undefined symbol) inet_aton -- referenced in the text segment of
blib/lib/libparrot.a(io_unix.o)
*** Error code 5
make: Fatal error: Command failed for target `parrot'

No error if I manually add -lresolv to C_LIBS in the Makefile.

-- 
Dave
Isa. 40:31

Reply via email to