This is a bug that has been fixed in CVS already. You can work around it by not defining NO_OS_DEPENDENCE, or put a #ifdef OS_RNG_AVAILABLE inside X917RNG_KnownAnswerTest to disable the test when NO_OS_DEPENDENCE is defined.
On Fri, Aug 22, 2003 at 05:15:03PM -0400, Robert A. Thompson wrote: > uname -a > SunOS mymachine 5.6 Generic_105181-35 sun4u sparc SUNW,Ultra-4 > > Gcc -v > Thread model: posix > gcc version 3.3.1 > > > I have gone into user.h and uncommented #define NO_OS_DEPENDENCE > > When I 'make', fipstest fails: > [...] > g++ -g -pipe -c fipstest.cpp > fipstest.cpp: In function `void CryptoPP::X917RNG_KnownAnswerTest(const > char*, > const char*, const char*, unsigned int, CIPHER*)': > fipstest.cpp:48: error: parse error before `>' token > fipstest.cpp: In function `void CryptoPP::X917RNG_KnownAnswerTest(const > char*, > const char*, const char*, unsigned int, CIPHER*) [with CIPHER = > CryptoPP::DES_EDE3]': > fipstest.cpp:241: instantiated from here > fipstest.cpp:49: error: `rng' undeclared (first use this function) > fipstest.cpp:49: error: (Each undeclared identifier is reported only once > for > each function it appears in.) > make: *** [fipstest.o] Error 1 > [...] > > I'd guess test.cpp will fail as well, based on some quick scans. > > > Any suggestions? > > Thanks > > -- Rob
