Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
--- Begin Message ---Hi AllIve "almost" compiled Crypto++5.1 on Fote 8.0. (Note: I moved to 8.0 because Forte 7.0 generates an internal compiler bug when compiled in debug mode. Theres also a bug with Sun BUG ID 4920913 on that - unresolved)Anyway in 8.0 most things compile except for bench.cpp file compilation.Seems like bench.cpp has problems in templates instantiation ... Ive pasted the compilation log below. .As Im not that good in templates probably thought some expert out there might be able to help me to figure out the problem that 8.0 complains here..Other than this bench.cpp, all other files compile fine. Infact the validation test seems to pass. Problem seems to be associated with instantiation of AbstractGroup <T> class.Any help is really appreciatedThanksAnandCompilation Log:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>[EMAIL PROTECTED]:/home/user/schandra/depot/vision/cryptopp/src-debug> tail -f LOGS/current
CC -g -c bench.cpp
"algebra.cpp", line 16: Error: Multiple declaration for<no tag>.
"algebra.cpp", line 20: Error: A declaration was expected instead of "return".
"algebra.cpp", line 20: Error: a1 is not defined.
"algebra.cpp", line 20: Error: a is not defined.
"algebra.cpp", line 20: Error: Unexpected ")" -- Check for matching parenthesis.
"algebra.cpp", line 20: Error: Operand expected instead of ")".
"algebra.cpp", line 23: Error: Multiple declaration for<no tag>.
"algebra.cpp", line 25: Error: Use ";" to terminate statements.
"algebra.cpp", line 25: Error: A declaration was expected instead of "return".
"algebra.cpp", line 25: Error: Stage is not defined.
"algebra.cpp", line 25: Error: Operand expected instead of ")".
"algebra.cpp", line 25: Error: Operand expected instead of ")".
"algebra.cpp", line 28: Error: Multiple declaration for<no tag>.
"algebra.cpp", line 30: Error: Use ";" to terminate statements.
"algebra.cpp", line 30: Error: A declaration was expected instead of "return".
"algebra.cpp", line 30: Error: The name a is ambiguous, a and CryptoPP::a.
"algebra.cpp", line 30: Error: Stage is not defined.
"algebra.cpp", line 30: Error: Operand expected instead of ")".
"algebra.cpp", line 30: Error: Operand expected instead of ")".
"algebra.cpp", line 38: Error: Multiple declaration for<no tag>.
"algebra.cpp", line 42: Error: A declaration was expected instead of "return".
"algebra.cpp", line 42: Error: a1 is not defined.
"algebra.cpp", line 42: Error: Unexpected ")" -- Check for matching parenthesis.
"algebra.cpp", line 42: Error: Operand expected instead of ")".
"algebra.cpp", line 45: Error: Multiple declaration for<no tag>.
Compilation aborted, too many Error messages.
gmake: *** [bench.o] Error 1
^C
[1] + Done audit gmake -f GNUmakefile
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Wei Dai <[EMAIL PROTECTED]> wrote:This is obviously a compiler bug. Please contact your compiler vendor
(Sun?) and submit a bug report to them.
Actually I'm amazed that CC Forte 7.1 can compile Crypto++ 5.1 at all,
since it took a huge patch to get Forte 6.0 to compile Crypto++ 4.2. Did
you have to make any changes to Crypto++ 5.1?
On Mon, Jan 12, 2004 at 11:08:33AM -0800, Anand CS wrote:
>
> Hi All,
>
> Im a new bie to CryptoPlusPlus 5.1
> I have a problem compiling it with CC Forte 7.1 running on Solaris 5.8
> It compiles fine in normal mode but when I compile it in debug mode
> (-g option) I get errors from compiler's internal files ...not from my
> files....
>
>
> It says the errors are DBGGEN ERRORs. I have no clue on what it means.
> I have pasted the compilation errors below... The same library
> c! ompiles fine in MSVC6 and GCC in both normal and debug option modes
>
> Can anybody out there help me out if they happen to have seen these
> kinds of DBGGEN errors and due to what reason these kinds of errors
> happen.
> Any help is really appreciated.
> Thanks
> Anand
>
> Compilation Log :
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> CC -g -c 3way.cpp
> CC -g -c adler32.cpp
> CC -g -c algebra.cpp
> CC -g -c algparam.cpp
> CC -g -c arc4.cpp
> CC -g -c asn.cpp
> CC -g -c base64.cpp
> CC -g -c basecode.cpp
> CC -g -c bfinit.cpp
> CC -g -c blowfish.cpp
> CC -g -c blumshub.cpp> CC -g -c cast.cpp
> CC -g -c casts.cpp
> CC -g -c channels.cpp
> CC -g -c crc.cpp
> CC -g -c cryptest.cpp
> CC -g -c cryptlib.cpp
> CC -g -c default.cpp
> CC -g -c des.cpp
> CC -g -c dessp.cpp
> CC -g -c dh.cpp
> >> Assertion: DBGGEN ERROR: FILE="../src/dbg_stabs.c" , LINE=%1416,
> Improper nesting of types [DBG_GEN 4.0.143] (../lnk/dbg_dbggen.cc,
> line 3915)
> while processing dh.cpp at line 0.
> gmake: *** [dh.o] Error 1
> CC -g -c dh2.cpp
> CC -g -c diamond.cpp
> CC -g -c diamondt.cpp
> CC -g -c dsa.cpp
> CC -g -c ec2n.cpp
> CC -g -c eccrypto.cpp
> >> Assertion: DBGGEN ERROR: FILE="../src/dbg_stabs.c" , LINE=%1416, Improper nesting of types [DBG_GEN 4.0.143] (../lnk/dbg_dbggen.cc, line 3915)
> while processing /home/fds/forte/7.1/SUNWspro/prod/include/CC/Cstd/./algorithm.cc at line 0.
> gmake: *** [eccrypto.o] Error 1
>! ; CC -g -c ecp.cpp
> CC -g -c elgamal.cpp
> >> Assertion: DBGGEN ERROR: FILE="../src/dbg_stabs.c" , LINE=%1416, Improper nesting of types [DBG_GEN 4.0.143] (../lnk/dbg_dbggen.cc, line 3915)
> while processing elgamal.cpp at line 0.
> gmake: *** [elgamal.o] Error 1
> CC -g -c eprecomp.cpp
> CC -g -c esign.cpp
> >> Assertion: DBGGEN ERROR: FILE="../src/dbg_stabs.c" , LINE=%1416, Improper nesting of types [DBG_GEN 4.0.143] (../lnk/dbg_dbggen.cc, line 3915)
> while processing esign.cpp at line 0.
> gmake: *** [esign.o] Error 1
> ......
> ......
> ......
> gmake: Target `all' not remade because of errors.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
--- End Message ---
