[Botan-devel] Botan on Solaris

Jack Lloyd lloyd at randombit.net
Tue Dec 2 10:44:20 EST 2008

On Tue, Dec 02, 2008 at 02:56:18PM +0100, Rickard Bondesson wrote:

> ........
> g++ -Ibuild/include -O2 -finline-functions -mtune=i686 -momit-leaf-frame-pointer -D_REENTRANT -ansi -Wno-long-long -fpermissive -W -Wall -fPIC -c src/entropy/dev_random/es_dev.cpp -o build/lib/es_dev.o
> src/entropy/dev_random/es_dev.cpp: In static member function `static int Botan::Device_EntropySource::Device_Reader::open(const std::string&)':
> src/entropy/dev_random/es_dev.cpp:76: error: `::open' has not been declared
> Am I missing something (except the TR1 headers :) ).

Alas. Solaris hasn't been tested in a while, so things have probably
rotted slightly. (Been meaning to get OpenSolaris installed as a VM,
but hasn't happened yet)

Can you try the attached patch?

Done blindly and of course untested (except on Linux), but based on
the Solaris man page
(http://docs.sun.com/app/docs/doc/816-5167/open-2?a=view) it should
do the trick.


More information about the botan-devel mailing list