-lnsl needed, cpio 2.10, Solaris 9

View: New views
2 Messages — Rating Filter:   Alert me  

-lnsl needed, cpio 2.10, Solaris 9

by Zube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Solaris 9, cpio 2.10 fails to compile because it cannot find
gethostbyname during the final link.  Adding -lnsl to the LIBS line in
src/Makefile fixes the issue.

Cheers,
Zube



Re: -lnsl needed, cpio 2.10, Solaris 9

by Sergey Poznyakoff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Zube <Zube@...> ha escrit:

> On Solaris 9, cpio 2.10 fails to compile because it cannot find
> gethostbyname during the final link.  Adding -lnsl to the LIBS line in
> src/Makefile fixes the issue.

Thanks for reporting.

Regards,
Sergey