[Cflowd] Problem compiling Cflowd in Solaris 9...

Ricardo Bernardo dos Santos rbsantos at infovias.com.br
Tue Jun 10 11:00:18 PDT 2003


Hi,
 
I'm trying to compile Cflowd 2-1-b1 but I receive many C++ errors. I
check all libraries but everything OK. I don't know what I can do more.
I'm using gcc 3.2.3 and have tried using gcc 2.95.1 but I hadn't
success.
 
Part of errors:
 
c++ -g -O2 -Wno-deprecated -I../include -I../../include
-I/usr/local/arts/include -I../../snmp++/classes/include -c Cflo
wdCisco.cc -o CflowdCisco.o
In file included from ../include/CflowdCisco.hh:54,
                 from CflowdCisco.cc:51:
../include/CflowdRawFlowLogger.hh:79: syntax error before `&' token
../include/CflowdRawFlowLogger.hh:96: ISO C++ forbids declaration of
`string'
   with no type
../include/CflowdRawFlowLogger.hh:96: `string' declared as an `inline'
field
../include/CflowdRawFlowLogger.hh:96: syntax error before `&' token
../include/CflowdRawFlowLogger.hh:107: ISO C++ forbids defining types
within
   return type
../include/CflowdRawFlowLogger.hh:107: syntax error before `&' token
../include/CflowdRawFlowLogger.hh:114: syntax error before `&' token
../include/CflowdRawFlowLogger.hh:125: syntax error before `&' token
../include/CflowdRawFlowLogger.hh:134: non-member function `int
LogSize()'
   cannot have `const' method qualifier
../include/CflowdRawFlowLogger.hh: In function `int LogSize()':
../include/CflowdRawFlowLogger.hh:135: invalid use of `this' in
non-member
   function
../include/CflowdRawFlowLogger.hh: At global scope:
../include/CflowdRawFlowLogger.hh:152: non-member function `int
NumLogs()'
   cannot have `const' method qualifier
../include/CflowdRawFlowLogger.hh: In function `int NumLogs()':
../include/CflowdRawFlowLogger.hh:153: invalid use of `this' in
non-member
   function
../include/CflowdRawFlowLogger.hh: At global scope:
../include/CflowdRawFlowLogger.hh:204: non-member function `char* const
   MapAddr()' cannot have `const' method qualifier
../include/CflowdRawFlowLogger.hh: In function `char* const MapAddr()':
../include/CflowdRawFlowLogger.hh:205: invalid use of `this' in
non-member
   function
../include/CflowdRawFlowLogger.hh: At global scope:
../include/CflowdRawFlowLogger.hh:208: syntax error before `private'
../include/CflowdRawFlowLogger.hh:210: 'string' is used as a type, but
is not
   defined as a type.
../include/CflowdRawFlowLogger.hh:215: syntax error before `}' token
^Cmake: *** [CflowdCisco.lo] Error 1
 
TIA.
 
[]'s
Ricardo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://login.caida.org/pipermail/cflowd/attachments/20030610/690b3e37/attachment.htm


More information about the Cflowd mailing list