Bug #13476 yassl: openserv compile failure
Submitted: 26 Sep 2005 8:46 Modified: 30 Sep 2005 8:36
Reporter: Magnus Blåudd Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version: OS:i686-pc-sco3.2v5.0.7
Assigned to: Magnus Blåudd CPU Architecture:Any

[26 Sep 2005 8:46] Magnus Blåudd
Description:
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../taocrypt/include -I../mySTL -DYASSL_PURE_C -O3 -DDBUG_OFF -I/opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/include -O1 -DSCO -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c ssl.cpp -Wp,-MD,.deps/ssl.TPlo -o ssl.o
02165: source='template_instnt.cpp' object='template_instnt.lo' libtool=yes \
02166: depfile='.deps/template_instnt.Plo' tmpdepfile='.deps/template_instnt.TPlo' \
02167: depmode=gcc /bin/ksh ../../../depcomp \
02168: /bin/ksh ../../../libtool --preserve-dup-deps --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../taocrypt/include -I../mySTL   -DYASSL_PURE_C -O3 -DDBUG_OFF -I/opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/include -O1   -DSCO -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c -o template_instnt.lo template_instnt.cpp
02169:  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I../taocrypt/include -I../mySTL -DYASSL_PURE_C -O3 -DDBUG_OFF -I/opt/K/SKUNKWARE/FSUpthreads/3.9/usr/local/include -O1 -DSCO -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -c template_instnt.cpp -Wp,-MD,.deps/template_instnt.TPlo -o template_instnt.o
02170: In file included from template_instnt.cpp:31:
02171: ../taocrypt/include/hmac.hpp:59: parse error before `1024'
02172: ../taocrypt/include/hmac.hpp:60: missing ';' before right brace
02173: ../taocrypt/include/hmac.hpp:64: `DSIZE' was not declared in this scope
02174: ../taocrypt/include/hmac.hpp:68: parse error before `&'
02175: ../taocrypt/include/hmac.hpp:68: ANSI C++ forbids declaration `HMAC' with no type
02176: ../taocrypt/include/hmac.hpp:36: previous non-function declaration `template <class T> class TaoCrypt::HMAC<T>'
02177: ../taocrypt/include/hmac.hpp:68: conflicts with function declaration `int TaoCrypt::HMAC(...)'
02178: ../taocrypt/include/hmac.hpp:69: syntax error before `&'
02179: ../taocrypt/include/hmac.hpp:75: syntax error before `::'
02180: ../taocrypt/include/hmac.hpp:78: ANSI C++ forbids declaration `innerHashKeyed_' with no type
02181: ../taocrypt/include/hmac.hpp:79: parse error before `}'
02182: ../taocrypt/include/hmac.hpp:84: syntax error before `::'
02183: ../taocrypt/include/hmac.hpp:92: syntax error before `.'
02184: ../taocrypt/include/hmac.hpp:93: ANSI C++ forbids declaration `length' with no type
02185: ../taocrypt/include/hmac.hpp:93: `T' was not declared in this scope
02186: ../taocrypt/include/hmac.hpp:93: parse error before `::'
02187: ../taocrypt/include/hmac.hpp:95: `ipad_' was not declared in this scope
02188: ../taocrypt/include/hmac.hpp:95: `T' was not declared in this scope
02189: ../taocrypt/include/hmac.hpp:95: parse error before `::'
02190: ../taocrypt/include/hmac.hpp:95: ANSI C++ forbids declaration `memset' with no type
02191: ../taocrypt/include/hmac.hpp:97: `T' was not declared in this scope
02192: ../taocrypt/include/hmac.hpp:97: parse error before `::'
02193: ../taocrypt/include/hmac.hpp:97: syntax error before `++'
02194: ../taocrypt/include/hmac.hpp:99: `i' was not declared in this scope
02195: ../taocrypt/include/hmac.hpp:99: syntax error before `^='
02196: ../taocrypt/include/hmac.hpp:106: syntax error before `::'
02197: ../taocrypt/include/hmac.hpp:109: ANSI C++ forbids declaration `innerHashKeyed_' with no type
02198: ../taocrypt/include/hmac.hpp:109: redefinition of `int innerHashKeyed_'
02199: ../taocrypt/include/hmac.hpp:78: `int innerHashKeyed_' previously defined here
02200: ../taocrypt/include/hmac.hpp:110: parse error before `}'
02201: ../taocrypt/include/hmac.hpp:115: syntax error before `::'
02202: ../taocrypt/include/hmac.hpp:119: syntax error before `.'
02203: ../taocrypt/include/hmac.hpp:125: syntax error before `::'
02204: ../taocrypt/include/hmac.hpp:129: syntax error before `.'
02205: ../taocrypt/include/hmac.hpp:131: syntax error before `.'
02206: ../taocrypt/include/hmac.hpp:132: syntax error before `.'
02207: ../taocrypt/include/hmac.hpp:133: syntax error before `.'
02208: ../taocrypt/include/hmac.hpp:135: ANSI C++ forbids declaration `innerHashKeyed_' with no type
02209: ../taocrypt/include/hmac.hpp:135: redefinition of `int innerHashKeyed_'
02210: ../taocrypt/include/hmac.hpp:109: `int innerHashKeyed_' previously defined here
02211: ../taocrypt/include/hmac.hpp:136: parse error before `}'
02212: ../taocrypt/include/hmac.hpp: In method `TaoCrypt::HMAC<TaoCrypt::MD5>::HMAC()':
02213: template_instnt.cpp:40:   instantiated from here
02214: ../taocrypt/include/hmac.hpp:40: `innerH_' undeclared (first use this function)
02215: ../taocrypt/include/hmac.hpp:40: (Each undeclared identifier is reported only once
02216: ../taocrypt/include/hmac.hpp:40: for each function it appears in.)
02217: gmake[3]: *** [template_instnt.lo] Error 1
02218: gmake[3]: Leaving directory `/home/mysqldev/openserv/mysql-5.0.14-rc-yassl/extra/yassl/src'
02219: gmake[2]: *** [all-recursive] Error 1
02220: gmake[2]: Leaving directory `/home/mysqldev/openserv/mysql-5.0.14-rc-yassl/extra/yassl'
02221: gmake[1]: *** [all-recursive] Error 1
02222: gmake[1]: Leaving directory `/home/mysqldev/openserv/mysql-5.0.14-rc-yassl'
02223: gmake: *** [all] Error 2
02224: 
02225: error: Couldn't execute command, error: 2
02226: 2005-09-25 00:13:59  ABORT compile + link

How to repeat:
Test suite failure
[26 Sep 2005 10:25] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/30326
[30 Sep 2005 8:36] Magnus Blåudd
Pushed to 5.0.14