[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors

Sam Varshavchik
Sun, 18 Dec 2022 23:06:08 -0000

vom513 via Nut-upsuser writes:

> > Does the built `upsc` client connect?
>
> No - same error ?Unknown error?.  This is what makes me think there is some
> common code that?s unable to open sockets on Solaris.

I gatekeep some code that was originally written when dinosaurs roamed the
earth. This is a short in the dark, but

-lsocket -lnsl

was required when linking code that used socket, back in prehistoric days.
Although I would expect a link failure, if that was the case here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL:
<http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221218/6ec262c6/attachment.sig>