Failed Compile -- Solution (assert not declared).

Rage NotGiven sxwiki at
Tue May 20 00:55:04 UTC 2008

Just got 3.15 from ,and 
it fails to compile, with the error:

g++ -DHAVE_CONFIG_H -I. -I../..  -I../../src -I/usr/include  -g -O1 
-Wall -Wwrite-strings -Woverloaded-virtual -MT SslWrap.o -MD -MP -MF 
.deps/SslWrap.Tpo -c -o SslWrap.o In member function ‘bool SslCommand::runIfNeeded()’: error: ‘assert’ was not declared in this scope In member function ‘String SslCommand::calcKey(const 
String&) const’: error: ‘assert’ was not declared in this scope
make[3]: *** [SslWrap.o] Error 1
make[3]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sql/Desktop/polygraph-3.1.5'
make: *** [all] Error 2


#include <assert.h>

To src/runtime/ fixes this issue.

Hope this helps.

More information about the Users mailing list