OpenConnect compile failing on socket()

David Woodhouse dwmw2 at infradead.org
Sat Dec 2 11:31:02 PST 2017


On Sat, 2017-12-02 at 18:03 +0000, rv at rvsmith.co.uk wrote:
> 
> Hello,
> 
> I am struggling to compile this. Config.log attached. I think I have  
> all the dependencies but it fails to find socket().
> 
> checking for socket... no
> checking for socket in -lsocket... no
> configure: error: Cannot find socket() function
> 
> This is on TinyCore CorePure64 8.2. I love the elegant minimalism of  
> this distro but have found before that it sometimes lacks stuff that  
> nobody even bothers to list as a dependency because they just assume  
> it will be there. Can you please advise how I can get past this error.

Nothing at all is building because you don't have the <linux/limits.h>
header file. The check for socket() is the first one that's fatal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20171202/c598cfd6/attachment.bin>


More information about the openconnect-devel mailing list