[PATCH] Solaris: Test for SO_{RCV,SND}TIMEO needs NET_LIBS

Nils Goroll slink at schokola.de
Fri Mar 11 17:41:58 CET 2011


I've revisited the issue of missing socket timeouts on Solaris and noticed that
they actually exist in OpenSolaris since integration of the Volo framework in
fall 2008 - but the autoconf tests failed due to missing libs like in this case:

configure:28453: checking whether SO_RCVTIMEO works
configure:28496: gcc -o conftest -m64 -D_REENTRANT -pthreads   conftest.c   >&5
Undefined                       first referenced
 symbol                             in file
socket                              /var/tmp//ccXeai7q.o
setsockopt                          /var/tmp//ccXeai7q.o

Nils
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Solaris-Test-for-SO_-RCV-SND-TIMEO-needs-NET_LIBS.patch
URL: <http://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110311/77f61217/attachment.ksh>


More information about the varnish-dev mailing list