Unable to build openconnect-3.16 in Solaris 10 (x86)

David Woodhouse dwmw2 at infradead.org
Wed Apr 18 06:58:58 EDT 2012


On Wed, 2012-04-18 at 15:43 +0800, chua wei yang wrote:
> 
>   CC     libopenconnect_la-ssl.lo
> ssl.c: In function `openconnect_passphrase_from_fsid':
> ssl.c:1146: error: implicit declaration of function `asprintf'
> ssl.c:1146: warning: nested extern declaration of `asprintf'
> *** Error code 1 

Oh Solaris, how we hate thee!

Solaris 11 seems to have asprintf(). Does Solaris 10 not have it?

If you run 'man asprintf' on Solaris 10, what happens?

We might have to have our own local implementation of it, like we do for
strcasestr().

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5818 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20120418/5e4afb9c/attachment.bin>


More information about the openconnect-devel mailing list