|
From: Ramesh T S <ram...@re...> - 2009-07-30 17:55:56
|
make
[ 2%] Building CXX object
src/core/CMakeFiles/mammoth-core.dir/admin/admin_server.cpp.o
In file included from
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:25,
from
/usr/local/src/mammoth/trunk/include/mammoth/net/rtmp_parser.hpp:25,
from
/usr/local/src/mammoth/trunk/include/mammoth/net/base_connection.hpp:30,
from
/usr/local/src/mammoth/trunk/include/mammoth/net/rtmp_connection.hpp:27,
from
/usr/local/src/mammoth/trunk/include/mammoth/admin/admin_server.hpp:25,
from
/usr/local/src/mammoth/trunk/src/core/admin/admin_server.cpp:21:
/usr/local/src/mammoth/trunk/include/mammoth/net/crypto.hpp: In function
`size_t mammoth::net::encryption::dh_compute_secret(DH*, const uint8_t*,
size_t, uint8_t*)':
/usr/local/src/mammoth/trunk/include/mammoth/net/crypto.hpp:247: warning:
converting of negative value `-0x000000001' to `size_t'
/usr/local/src/mammoth/trunk/include/mammoth/net/crypto.hpp:252: warning:
converting of negative value `-0x000000001' to `size_t'
In file included from
/usr/local/src/mammoth/trunk/include/mammoth/net/rtmp_parser.hpp:25,
from
/usr/local/src/mammoth/trunk/include/mammoth/net/base_connection.hpp:30,
from
/usr/local/src/mammoth/trunk/include/mammoth/net/rtmp_connection.hpp:27,
from
/usr/local/src/mammoth/trunk/include/mammoth/admin/admin_server.hpp:25,
from
/usr/local/src/mammoth/trunk/src/core/admin/admin_server.cpp:21:
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp: In static
member function `static void
mammoth::net::handshake::generate_handshake_part2(InputIterator,
InputIterator, OutputIterator, OutputIterator)':
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:134: error:
`SHA256_DIGEST_LENGTH' was not declared in this scope
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:134: error:
template argument 2 is invalid
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:134: error:
invalid type in declaration before ';' token
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:154: error:
there are no arguments to `EVP_sha256' that depend on a template parameter,
so a declaration of `EVP_sha256' must be available
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:154: error:
(if you use `-fpermissive', G++ will accept your code, but allowing the use
of an undeclared name is deprecated)
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:156: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:160: error:
there are no arguments to `EVP_sha256' that depend on a template parameter,
so a declaration of `EVP_sha256' must be available
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp: In static
member function `static void
mammoth::net::handshake::set_encryption_keys(InputIterator, OutputIterator,
uint8_t*, boost::scoped_ptr<RC4_KEY>&, boost::scoped_ptr<RC4_KEY>&)':
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:174: error:
`SHA256_DIGEST_LENGTH' was not declared in this scope
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:174: error:
template argument 2 is invalid
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:174: error:
invalid type in declaration before ';' token
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:179: error:
there are no arguments to `EVP_sha256' that depend on a template parameter,
so a declaration of `EVP_sha256' must be available
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:181: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:185: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:188: error:
there are no arguments to `EVP_sha256' that depend on a template parameter,
so a declaration of `EVP_sha256' must be available
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:190: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:194: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp: In static
member function `static void
mammoth::net::handshake::set_handshake_digest(OutputIterator,
OutputIterator)':
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:203: error:
`SHA256_DIGEST_LENGTH' was not declared in this scope
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:205: error:
`SHA256_DIGEST_LENGTH' cannot appear in a constant-expression
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:205: error:
template argument 2 is invalid
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:205: error:
invalid type in declaration before ';' token
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:222: error:
there are no arguments to `EVP_sha256' that depend on a template parameter,
so a declaration of `EVP_sha256' must be available
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:224: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:228: error:
request for member `begin' in `digest', which is of non-class type `int'
/usr/local/src/mammoth/trunk/include/mammoth/net/handshake.hpp:228: error:
request for member `end' in `digest', which is of non-class type `int'
make[2]: *** [src/core/CMakeFiles/mammoth-core.dir/admin/admin_server.cpp.o]
Error 1
make[1]: *** [src/core/CMakeFiles/mammoth-core.dir/all] Error 2
make: *** [all] Error 2
Using svn trunk
Regards,
Ramesh T. S
|