bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RedHat 7.3 - gcc 2.95.3 - persist.h:304: 'int64' was not declared in thi


From: Brian Gregory
Subject: RedHat 7.3 - gcc 2.95.3 - persist.h:304: 'int64' was not declared in this scope
Date: Tue, 10 Jun 2003 11:42:55 -0400

I’ve just downloaded commoncpp2-1.0.12.tar.gz and I’m having difficulty
building.

Red Hat Linux 7.3
gcc 2.95.3

configure –without-xml –prefix=/home/briang/commoncpp2

After running make it builds a number of files successfully and then reaches
the following:

c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-I/usr/local/include -D_GNU_SOURCE -I../include -Wp,-MD,.deps/persist.pp -c
persist.cpp   -fPIC -DPIC -o .libs/persist.lo
In file included from persist.cpp:43:
../include/cc++/persist.h:304: `int64' was not declared in this scope
../include/cc++/persist.h:304: parse error before `)'
../include/cc++/persist.h:305: `uint64' was not declared in this scope
../include/cc++/persist.h:305: parse error before `)'
../include/cc++/persist.h:305: `ost::Engine::write(...)' has already been
declared in `ost::Engine'
../include/cc++/persist.h:336: `int64' was not declared in this scope
../include/cc++/persist.h:336: `i' was not declared in this scope
../include/cc++/persist.h:336: variable or field `read' declared void
../include/cc++/persist.h:336: syntax error before `{'
../include/cc++/persist.h:337: semicolon missing after declaration of
`ost::Engine'
../include/cc++/persist.h: In method `void ost::Engine::write(...)':
../include/cc++/persist.h:304: `i' undeclared (first use this function)
../include/cc++/persist.h:304: (Each undeclared identifier is reported only
once
../include/cc++/persist.h:304: for each function it appears in.)
../include/cc++/persist.h: In method `void ost::Engine::read(int8 &)':
../include/cc++/persist.h:330: implicit declaration of function `int
ost::readBinary(...)'
../include/cc++/persist.h: At top level:
../include/cc++/persist.h:337: `uint64' was not declared in this scope
../include/cc++/persist.h:337: parse error before `)'
../include/cc++/persist.h:338: parse error before `)'
../include/cc++/persist.h:339: parse error before `)'
../include/cc++/persist.h:342: parse error before `)'
../include/cc++/persist.h:345: parse error before `)'
../include/cc++/persist.h:363: `myUnderlyingStream' declared as reference
but not initialized
../include/cc++/persist.h:368: syntax error before `;'
../include/cc++/persist.h:373: `BaseObject' was not declared in this scope
../include/cc++/persist.h:373: parse error before `>'
../include/cc++/persist.h:374: `BaseObject' was not declared in this scope
../include/cc++/persist.h:374: parse error before `const'
../include/cc++/persist.h:378: syntax error before `;'
../include/cc++/persist.h:379: syntax error before `;'
../include/cc++/persist.h:390: parse error before `}'
../include/cc++/persist.h:394: syntax error before `&'
../include/cc++/persist.h:396: syntax error before `&'
../include/cc++/persist.h:398: syntax error before `&'
../include/cc++/persist.h:400: syntax error before `&'
../include/cc++/persist.h:403: syntax error before `&'
../include/cc++/persist.h:405: syntax error before `&'
../include/cc++/persist.h:408: syntax error before `&'
../include/cc++/persist.h:410: syntax error before `&'
../include/cc++/persist.h:413: syntax error before `&'
../include/cc++/persist.h:415: syntax error before `&'
../include/cc++/persist.h:418: syntax error before `&'
../include/cc++/persist.h:420: syntax error before `&'
../include/cc++/persist.h:423: syntax error before `&'
../include/cc++/persist.h:425: syntax error before `&'
../include/cc++/persist.h:428: syntax error before `&'
../include/cc++/persist.h:430: syntax error before `&'
../include/cc++/persist.h:433: syntax error before `&'
../include/cc++/persist.h:435: syntax error before `&'
../include/cc++/persist.h:438: syntax error before `&'
../include/cc++/persist.h:440: syntax error before `&'
../include/cc++/persist.h:443: syntax error before `&'
../include/cc++/persist.h:445: syntax error before `&'
../include/cc++/persist.h:448: syntax error before `&'
../include/cc++/persist.h:450: syntax error before `&'
../include/cc++/persist.h:453: syntax error before `&'
../include/cc++/persist.h:455: syntax error before `&'
../include/cc++/persist.h:458: syntax error before `&'
../include/cc++/persist.h:460: syntax error before `&'
../include/cc++/persist.h:472: syntax error before `&'
../include/cc++/persist.h:472: `Engine' was not declared in this scope
../include/cc++/persist.h:472: `ar' was not declared in this scope
../include/cc++/persist.h:472: `T' was not declared in this scope
../include/cc++/persist.h:472: template argument 1 is invalid
../include/cc++/persist.h:472: template argument 1 is invalid
../include/cc++/persist.h:472: template argument 2 is invalid
../include/cc++/persist.h:472: using `typename' outside of template
../include/cc++/persist.h:472: parse error before `const'
../include/cc++/persist.h:472: parse error before `::'
../include/cc++/persist.h:475: `ob' was not declared in this scope
../include/cc++/persist.h:475: parse error before `;'
../include/cc++/persist.h:486: syntax error before `&'
../include/cc++/persist.h:486: `Engine' was not declared in this scope
../include/cc++/persist.h:486: `ar' was not declared in this scope
../include/cc++/persist.h:486: `T' was not declared in this scope
../include/cc++/persist.h:486: template argument 1 is invalid
../include/cc++/persist.h:486: template argument 1 is invalid
../include/cc++/persist.h:486: template argument 2 is invalid
../include/cc++/persist.h:486: using `typename' outside of template
../include/cc++/persist.h:486: parse error before `&'
../include/cc++/persist.h:486: parse error before `::'
../include/cc++/persist.h:490: syntax error before `>'
../include/cc++/persist.h:491: syntax error before `.'
../include/cc++/persist.h:492: parse error before `;'
../include/cc++/persist.h:503: syntax error before `&'
../include/cc++/persist.h:503: `Engine' was not declared in this scope
../include/cc++/persist.h:503: `ar' was not declared in this scope
../include/cc++/persist.h:503: `T' was not declared in this scope
../include/cc++/persist.h:503: template argument 1 is invalid
../include/cc++/persist.h:503: template argument 1 is invalid
../include/cc++/persist.h:503: template argument 2 is invalid
../include/cc++/persist.h:503: using `typename' outside of template
../include/cc++/persist.h:503: parse error before `const'
../include/cc++/persist.h:503: parse error before `::'
../include/cc++/persist.h:506: syntax error before `!='
../include/cc++/persist.h:517: syntax error before `&'
../include/cc++/persist.h:517: `Engine' was not declared in this scope
../include/cc++/persist.h:517: `ar' was not declared in this scope
../include/cc++/persist.h:517: `T' was not declared in this scope
../include/cc++/persist.h:517: template argument 1 is invalid
../include/cc++/persist.h:517: template argument 1 is invalid
../include/cc++/persist.h:517: template argument 2 is invalid
../include/cc++/persist.h:517: using `typename' outside of template
../include/cc++/persist.h:517: parse error before `&'
../include/cc++/persist.h:517: parse error before `::'
../include/cc++/persist.h:520: redefinition of `uint32 siz'
../include/cc++/persist.h:489: `uint32 siz' previously declared here
../include/cc++/persist.h:521: syntax error before `>'
../include/cc++/persist.h:523: parse error before `;'
../include/cc++/persist.h:526: syntax error before `>'
../include/cc++/persist.h:527: syntax error before `.'
../include/cc++/persist.h:539: syntax error before `&'
../include/cc++/persist.h:539: `Engine' was not declared in this scope
../include/cc++/persist.h:539: `ar' was not declared in this scope
../include/cc++/persist.h:539: `Key' was not declared in this scope
../include/cc++/persist.h:539: `Value' was not declared in this scope
../include/cc++/persist.h:539: template argument 1 is invalid
../include/cc++/persist.h:539: template argument 2 is invalid
../include/cc++/persist.h:539: template argument 1 is invalid
../include/cc++/persist.h:539: template argument 3 is invalid
../include/cc++/persist.h:539: template argument 1 is invalid
../include/cc++/persist.h:539: template argument 4 is invalid
../include/cc++/persist.h:539: using `typename' outside of template
../include/cc++/persist.h:539: parse error before `const'
../include/cc++/persist.h:539: parse error before `::'
../include/cc++/persist.h:542: syntax error before `!='
../include/cc++/persist.h:553: syntax error before `&'
../include/cc++/persist.h:553: `Engine' was not declared in this scope
../include/cc++/persist.h:553: `ar' was not declared in this scope
../include/cc++/persist.h:553: `Key' was not declared in this scope
../include/cc++/persist.h:553: `Value' was not declared in this scope
../include/cc++/persist.h:553: template argument 1 is invalid
../include/cc++/persist.h:553: template argument 2 is invalid
../include/cc++/persist.h:553: template argument 1 is invalid
../include/cc++/persist.h:553: template argument 3 is invalid
../include/cc++/persist.h:553: template argument 1 is invalid
../include/cc++/persist.h:553: template argument 4 is invalid
../include/cc++/persist.h:553: using `typename' outside of template
../include/cc++/persist.h:553: parse error before `&'
../include/cc++/persist.h:553: parse error before `::'
../include/cc++/persist.h:556: redefinition of `uint32 siz'
../include/cc++/persist.h:520: `uint32 siz' previously declared here
../include/cc++/persist.h:557: syntax error before `>'
../include/cc++/persist.h:558: parse error before `;'
../include/cc++/persist.h:560: syntax error before `>'
../include/cc++/persist.h:561: syntax error before `>'
make[1]: *** [persist.lo] Error 1
make[1]: Leaving directory `/home/briang/commoncpp2-1.0.12/src'
make: *** [all-recursive] Error 1


It seems to have a problem with int64 and uint64 in both persist.h and
digest.h. I can force it to build properly if I insert the following
typedefs in both files:

typedef int64_t int64;
typedef uint64_t uint64;




Brian Gregory
Software Engineer
Interface & Control Systems Inc. 
8945 Guilford Road Suite120 Columbia, MD 21046
Voice: 410.290.7600    Fax: 410.290.7737
Advance the "state of the art" of Command and Control Systems 
http://www.interfacecontrol.com 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]