Hello all:

I have downloaded version 3.2 of the crypto++ library and am
having problems.  I know that this version is old, but I am
attempting to install the Publius proxy on my machine and it
says that I need this version.  I have executed the command
"make" and all goes well until I get to 3way.cpp.  It errors
out as follows:

c++  -O2 -fpermissive -w -c 3way.cpp
3way.cpp:19: parse error before `{'
3way.cpp:19: stray '\' in program
3way.cpp:20: stray '\' in program
3way.cpp:21: `a0' was not declared in this scope
3way.cpp:21: stray '\' in program
3way.cpp:22: `a2' was not declared in this scope
3way.cpp:22: stray '\' in program
3way.cpp:23: stray '\' in program
3way.cpp:27: parse error before `{'
3way.cpp:27: stray '\' in program
3way.cpp:28: stray '\' in program
3way.cpp:29: `a2' was not declared in this scope
3way.cpp:29: stray '\' in program
3way.cpp:30: `a0' was not declared in this scope
3way.cpp:30: stray '\' in program
3way.cpp:31: `a1' was not declared in this scope
3way.cpp:31: stray '\' in program
3way.cpp:32: `a1' was not declared in this scope
3way.cpp:32: stray '\' in program
3way.cpp:33: syntax error before `^='
3way.cpp:33: stray '\' in program
3way.cpp:38: stray '\' in program
3way.cpp:39: stray '\' in program
3way.cpp:40: `a1' was not declared in this scope
3way.cpp:40: stray '\' in program
3way.cpp:41: redefinition of `int c'
3way.cpp:40: `int c' previously defined here
3way.cpp:41: stray '\' in program
3way.cpp:42: redefinition of `int b0'
3way.cpp:30: `int b0' previously defined here
3way.cpp:42: `a1' was not declared in this scope
3way.cpp:42: stray '\' in program
3way.cpp:43: `a1' was not declared in this scope
3way.cpp:43: `a1' was not declared in this scope
3way.cpp:43: stray '\' in program
3way.cpp:44: syntax error before `^='
3way.cpp:44: stray '\' in program
3way.cpp:45: syntax error before `^='
3way.cpp:45: stray '\' in program
3way.cpp:46: syntax error before `^='
3way.cpp:46: stray '\' in program
3way.cpp:50: stray '\' in program
3way.cpp:51: stray '\' in program
3way.cpp:51: stray '\' in program
3way.cpp:52: stray '\' in program
3way.cpp:52: stray '\' in program
3way.cpp:55: `word32' was not declared in this scope
3way.cpp:55: parse error before `,'
3way.cpp: In function `void GenerateRoundConstants(...)':
3way.cpp:57: `rounds' undeclared (first use this function)
3way.cpp:57: (Each undeclared identifier is reported only
once
3way.cpp:57: for each function it appears in.)
3way.cpp:59: `rtab' undeclared (first use this function)
3way.cpp:59: `strt' undeclared (first use this function)
3way.cpp: At top level:
3way.cpp:65: syntax error before `::'
3way.cpp:69: `START_E' was not declared in this scope
3way.cpp:69: `rc' was not declared in this scope
3way.cpp:69: `int GenerateRoundConstants' redeclared as
different kind of symbol
3way.cpp:56: previous declaration of `void
GenerateRoundConstants(...)'
3way.cpp:70: parse error before `for'
3way.cpp:70: parse error before `;'
3way.cpp:70: syntax error before `++'
3way.cpp:74: syntax error before `::'
3way.cpp:79: syntax error before `::'
3way.cpp:84: redefinition of `int a0'
3way.cpp:31: `int a0' previously defined here
3way.cpp:84: `word32' was not declared in this scope
3way.cpp:84: parse error before `)'
3way.cpp:85: `word32' was not declared in this scope
3way.cpp:85: parse error before `)'
3way.cpp:85: `in' was not declared in this scope
3way.cpp:86: redefinition of `int a2'
3way.cpp:32: `int a2' previously defined here
3way.cpp:86: `word32' was not declared in this scope
3way.cpp:86: parse error before `)'
3way.cpp:86: `in' was not declared in this scope
3way.cpp:93: parse error before `for'
3way.cpp:93: parse error before `;'
3way.cpp:93: syntax error before `++'
3way.cpp:96: syntax error before `^='
3way.cpp:97: syntax error before `^='
3way.cpp:98: stray '\' in program
3way.cpp:100: syntax error before `^='
3way.cpp:101: syntax error before `^='
3way.cpp:102: syntax error before `^='
3way.cpp:103: stray '\' in program
3way.cpp:106: parse error before `*'
3way.cpp:107: parse error before `*'
3way.cpp:108: parse error before `*'
3way.cpp:116: syntax error before `::'
3way.cpp:120: `START_D' was not declared in this scope
3way.cpp:120: `rc' was not declared in this scope
3way.cpp:120: redefinition of `int GenerateRoundConstants'
3way.cpp:69: `int GenerateRoundConstants' previously defined
here
3way.cpp:121: parse error before `for'
3way.cpp:121: parse error before `;'
3way.cpp:121: syntax error before `++'
3way.cpp:123: stray '\' in program
3way.cpp:124: stray '\' in program
3way.cpp:125: invalid initializer
3way.cpp:126: conflicting types for `int k[1]'
3way.cpp:125: previous declaration as `int k[0]'
3way.cpp:126: invalid initializer
3way.cpp:127: conflicting types for `int k[2]'
3way.cpp:126: previous declaration as `int k[1]'
3way.cpp:127: invalid initializer
3way.cpp:128: parse error before `}'
3way.cpp:130: syntax error before `::'
3way.cpp:135: syntax error before `::'
3way.cpp:144: redefinition of `int a0'
3way.cpp:84: `int a0' previously defined here
3way.cpp:144: `word32' was not declared in this scope
3way.cpp:144: parse error before `)'
3way.cpp:145: redefinition of `int a1'
3way.cpp:85: `int a1' previously defined here
3way.cpp:145: `word32' was not declared in this scope
3way.cpp:145: parse error before `)'
3way.cpp:145: `in' was not declared in this scope
3way.cpp:146: redefinition of `int a2'
3way.cpp:86: `int a2' previously defined here
3way.cpp:146: `word32' was not declared in this scope
3way.cpp:146: parse error before `)'
3way.cpp:146: `in' was not declared in this scope
3way.cpp:149: stray '\' in program
3way.cpp:150: parse error before `for'
3way.cpp:150: parse error before `;'
3way.cpp:150: syntax error before `++'
3way.cpp:153: syntax error before `^='
3way.cpp:154: syntax error before `^='
3way.cpp:155: stray '\' in program
3way.cpp:157: syntax error before `^='
3way.cpp:158: syntax error before `^='
3way.cpp:159: syntax error before `^='
3way.cpp:160: stray '\' in program
3way.cpp:161: stray '\' in program
3way.cpp:168: parse error before `*'
3way.cpp:169: parse error before `*'
3way.cpp:170: parse error before `*'
make: *** [3way.o] Error 1

I am not an expert in C, but can code some VERY BASIC apps. 
The stuff in these sources are well beyond me.  Is there
anyone who can fix the source code so that I can compile
this library?

A little background info:

Slackware 8.1
GCC 2.95.3
Fairly fast CPU (1.5GHz)

Thanks in advance,

Michael Mohr
_____________________________________________________________________
// free anonymous email || forums \\ subZINE || anonymous browsing 
            subDIMENSION -- http://www.subdimension.com

Reply via email to