[Botan-devel] Botan on Solaris

Rickard Bondesson Rickard.Bondesson at iis.se
Tue Dec 2 12:35:08 EST 2008


Thanks, now it compiles :)

// Rickard 

> -----Ursprungligt meddelande-----
> Från: botan-devel-bounces at randombit.net 
> [mailto:botan-devel-bounces at randombit.net] För Jack Lloyd
> Skickat: den 2 december 2008 18:24
> Till: Botan development list
> Ämne: Re: [Botan-devel] Botan on Solaris
> 
> On Tue, Dec 02, 2008 at 05:36:30PM +0100, Rickard Bondesson wrote:
> > Hmmm, now I got this. Seems like more missing headers. 
> Sorry for the trouble...
> > 
> 
> Actually it's apparently quite a bit more messy than that:
> 
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6395191
> 
> "If -D_XOPEN_SOURCE_EXTENDED=1, g++ cannot compile even an 
> empty body that #includes <iostream>.  If it's undefined, 
> then gcc cannot compile C code."
> 
> My bet is that removing the XOPEN defines entirely will do 
> the trick for everywhere, since botan isn't really using 
> anything too exotic on the Unix interface side.
> 
> Patch trying this attached, let me know if it helps.
> 
> -Jack
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 475 bytes
Desc: not available
URL: <http://lists.randombit.net/pipermail/botan-devel/attachments/20081202/59ec379b/attachment.sig>


More information about the botan-devel mailing list