Re: Failed Compile -- Solution (assert not declared).

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 20 May 2008 07:32:10 -0600

On Mon, 2008-05-19 at 20:55 -0400, Rage NotGiven wrote:
> Just got 3.15 from
> http://www.web-polygraph.org/downloads/srcs/polygraph-3.1.5-src.tgz ,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 SslWrap.cc
> SslWrap.cc: In member function ‘bool SslCommand::runIfNeeded()’:
> SslWrap.cc:347: error: ‘assert’ was not declared in this scope
> SslWrap.cc: In member function ‘String SslCommand::calcKey(const
> String&) const’:
> SslWrap.cc:396: 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
>
> Adding:
>
> #include <assert.h>
>
> To src/runtime/SslWrap.cc fixes this issue.

The bug has been fixed by adding #include "xstd/Assert.h"
The fix will be available in the next release.

Thank you,

Alex.

_______________________________________________
Users mailing list
Users_at_web-polygraph.org
http://www.web-polygraph.org/mailman/listinfo/users
Received on Tue May 20 2008 - 08:51:40 MDT

This archive was generated by hypermail 2.2.0 : Mon May 26 2008 - 12:00:08 MDT