Monday 10 March 2003 14.34 skrev Buchan Milne:
> Oden Eriksson wrote:
> > Hi list(s), Jason.
> >
> > I hacked up my qmail-scanner so that I use (as in subject), here's a
>
> simple
>
> > summary showing what happened:
>
> http://www.deserve-it.com/Cooker/Difference_using_KAVClient_by_Leonid_Zeitl
>in_with_qmail-scanner.html
>
>
> Similar things can be done with Sophie vs Sophos sweep ...
>
> BTW, Oden, could you give samba-vscan-kaspersky a try? If you can, you
> will have to rebuild samba with " --with kaspersky" and read the docs in
> the samba-vscan-kaspersky package. I must test samba-vscan-sophos in
> production again (it gave us some problems before, didn't have time to
> look at it again).
>
> Buchan

I gave it a shot but didn't get far...

[snip]

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -g -O2 -c KAVSession.cpp -MT 
KAVSession.lo -MD -MP -MF .deps/KAVSession.TPlo  -fPIC -DPIC -o 
.libs/KAVSession.lo
In file included from KAVSession.cpp:47:
KAVException.h:42: 'string' is used as a type, but is not defined as a type.
KAVException.h:43: parse error before `s'
KAVException.h:43: missing ';' before right brace
KAVException.h:51: parse error before `s'
KAVException.h:51: missing ';' before right brace
In file included from KAVSession.cpp:48:
KAVSession.h:51: 'string' is used as a type, but is not defined as a type.
KAVSession.h:59: 'string' is used as a type, but is not defined as a type.
KAVSession.h:66: `string' was not declared in this scope
KAVSession.h:66: 'vector' is used as a type, but is not defined as a type.
KAVSession.h:67: `string' was not declared in this scope
KAVSession.h:67: 'vector' is used as a type, but is not defined as a type.
KAVSession.h:68: `string' was not declared in this scope
KAVSession.h:68: 'vector' is used as a type, but is not defined as a type.
KAVSession.h:70: 'string' is used as a type, but is not defined as a type.
KAVSession.h:73: 'string' is used as a type, but is not defined as a type.
KAVSession.h:74: 'string' is used as a type, but is not defined as a type.
KAVSession.h:75: 'string' is used as a type, but is not defined as a type.
KAVSession.h:80: parse error before `&' token
KAVSession.h:88: parse error before `&' token
KAVSession.h:89: parse error before `&' token
KAVSession.h:91: parse error before `&' token
KAVSession.h:92: parse error before `&' token
KAVSession.h:94: parse error before `&' token
KAVSession.h:95: parse error before `&' token
KAVSession.h:97: ISO C++ forbids declaration of `string' with no type
KAVSession.h:97: parse error before `&' token
KAVSession.h:98: ISO C++ forbids declaration of `string' with no type
KAVSession.h:98: declaration of `const int KAVSession::string'
KAVSession.h:97: conflicts with previous declaration `const int 
KAVSession::string'
KAVSession.h:98: parse error before `&' token
KAVSession.h:99: ISO C++ forbids declaration of `string' with no type
KAVSession.h:99: declaration of `const int KAVSession::string'
KAVSession.h:97: conflicts with previous declaration `const int 
KAVSession::string'
KAVSession.h:99: parse error before `&' token
KAVSession.h:100: ISO C++ forbids declaration of `string' with no type
KAVSession.h:100: declaration of `const int KAVSession::string'
KAVSession.h:97: conflicts with previous declaration `const int 
KAVSession::string'
KAVSession.h:100: parse error before `&' token
KAVSession.h:114: parse error before `&' token
KAVSession.h:132: parse error before `<' token
KAVSession.h:135: parse error before `&' token
KAVSession.h:137: parse error before `)' token
KAVSession.h:138: parse error before `&' token
KAVSession.h:98: duplicate member `KAVSession::string'
KAVSession.h:99: duplicate member `KAVSession::string'
KAVSession.h:100: duplicate member `KAVSession::string'
KAVSession.cpp: In constructor `KAVSession::KAVSession()':
KAVSession.cpp:66: class `KAVSession' does not have any field named `keyname'
KAVSession.cpp: At global scope:
KAVSession.cpp:71: parse error before `&' token
KAVSession.cpp:78: ISO C++ forbids declaration of `Connect' with no type
KAVSession.cpp: In function `int Connect()':
KAVSession.cpp:78: parse error before `.' token
KAVSession.cpp: At global scope:
KAVSession.cpp:101: parse error before `&' token
KAVSession.cpp: In member function `KAVSession& KAVSession::setPath(...)':
KAVSession.cpp:103: `paths' undeclared (first use this function)
KAVSession.cpp:103: (Each undeclared identifier is reported only once for each 
function it appears in.)
KAVSession.cpp:104: `s' undeclared (first use this function)
KAVSession.cpp: At global scope:
KAVSession.cpp:107: parse error before `&' token
KAVSession.cpp:118: parse error before `&' token
KAVSession.cpp: In member function `KAVSession& KAVSession::setKey(...)':
KAVSession.cpp:120: `keys' undeclared (first use this function)
KAVSession.cpp: At global scope:
KAVSession.cpp:124: parse error before `&' token
KAVSession.cpp:131: parse error before `&' token
KAVSession.cpp: In member function `KAVSession& KAVSession::setTarget(...)':
KAVSession.cpp:133: `targets' undeclared (first use this function)
KAVSession.cpp: At global scope:
KAVSession.cpp:137: parse error before `&' token
KAVSession.cpp:159: syntax error before `&' token
KAVSession.cpp:164: syntax error before `&' token
KAVSession.cpp:169: syntax error before `&' token
KAVSession.cpp:174: syntax error before `&' token
KAVSession.cpp: In member function `KAVSession& KAVSession::Connect()':
KAVSession.cpp:186: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:189: `keyname' undeclared (first use this function)
KAVSession.cpp:194: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: In member function `KAVSession& KAVSession::Close()':
KAVSession.cpp:202: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:204: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: In member function `KAVSession& KAVSession::Version()':
KAVSession.cpp:212: `string' undeclared (first use this function)
KAVSession.cpp:212: parse error before `=' token
KAVSession.cpp:215: `enquiry' undeclared (first use this function)
KAVSession.cpp:215: `date' undeclared (first use this function)
KAVSession.cpp:218: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:224: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:227: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:234: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:239: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:242: `tmp_version' undeclared (first use this function)
KAVSession.cpp:246: no matching function for call to 
`KAVException::KAVException(const char[58])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp:250: `version' undeclared (first use this function)
KAVSession.cpp:251: `limits' undeclared (first use this function)
KAVSession.cpp:252: `nof_licenses' undeclared (first use this function)
KAVSession.cpp:253: `cout' undeclared (first use this function)
KAVSession.cpp: In member function `KAVSession& KAVSession::Invariant()':
KAVSession.cpp:263: no matching function for call to 
`KAVException::KAVException(const char[38])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp:267: no matching function for call to 
`KAVException::KAVException(const char[78])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp: In member function `KAVSession& KAVSession::Request()':
KAVSession.cpp:276: parse error before `=' token
KAVSession.cpp:283: `ifstream' undeclared (first use this function)
KAVSession.cpp:283: parse error before `(' token
KAVSession.cpp:284: `fist' undeclared (first use this function)
KAVSession.cpp:284: `ios' undeclared (first use this function)
KAVSession.cpp:284: parse error before `::' token
KAVSession.cpp:294: no matching function for call to 
`KAVException::KAVException(const char[32])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp:311: `class shmemException' has no member named `message'
KAVSession.cpp:314: `class shmemException' has no member named `message'
KAVSession.cpp:315: `class shmemException' has no member named `message'
KAVSession.cpp:323: `vec2str' undeclared (first use this function)
KAVSession.cpp:324: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:329: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: In member function `KAVSession& KAVSession::Response()':
KAVSession.cpp:343: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:354: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:361: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:368: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:374: `struct KAVSession::Resp' has no member named `account'
KAVSession.cpp:379: `struct KAVSession::Resp' has no member named `account'
KAVSession.cpp:385: no matching function for call to 
`KAVException::KAVException(const char[55])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp:388: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:405: `class shmemException' has no member named `message'
KAVSession.cpp:408: `class shmemException' has no member named `message'
KAVSession.cpp:409: `class shmemException' has no member named `message'
KAVSession.cpp:418: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: At global scope:
KAVSession.cpp:430: parse error before `&' token
KAVSession.cpp: In member function `void KAVSession::shmWrite(...)':
KAVSession.cpp:432: `size1' undeclared (first use this function)
KAVSession.cpp:438: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:440: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:442: `path' undeclared (first use this function)
KAVSession.cpp:443: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:447: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:454: no matching function for call to 
`KAVException::KAVException(const char[34])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp:456: no matching function for call to 
`KAVException::KAVException(const char[34])'
KAVException.h:40: candidates are: KAVException::KAVException()
KAVException.h:40:                 KAVException::KAVException(const 
KAVException&)
KAVSession.cpp: In member function `mem_for_use* KAVSession::shmCreate(long 
unsigned int, int&)':
KAVSession.cpp:463: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:466: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:471: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp:474: no matching function for call to 
`shmemException::shmemException(const char[27], int&)'
KAVException.h:47: candidates are: shmemException::shmemException()
KAVException.h:47:                 shmemException::shmemException(const 
shmemException&)
KAVSession.cpp: At global scope:
KAVSession.cpp:480: syntax error before `::' token
KAVSession.cpp:483: 'string' is used as a type, but is not defined as a type.
KAVSession.cpp:484: parse error before `for'
KAVSession.cpp:484: `vec' was not declared in this scope
KAVSession.cpp:484: parse error before `;' token
KAVSession.cpp:484: syntax error before `++' token
KAVSession.cpp:488: syntax error before `+=' token
KAVSession.cpp:493: parse error before `&' token
KAVSession.cpp: In member function `int KAVSession::isdir(...)':
KAVSession.cpp:498: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: At global scope:
KAVSession.cpp:520: syntax error before `::' token
KAVSession.cpp:523: `t' was not declared in this scope
KAVSession.cpp:523: ISO C++ forbids declaration of `time' with no type
KAVSession.cpp:523: `int time' redeclared as different kind of symbol
/usr/include/time.h:184: previous declaration of `time_t time(time_t*)'
KAVSession.cpp:524: `t' was not declared in this scope
KAVSession.cpp:524: 'string' is used as a type, but is not defined as a type.
KAVSession.cpp:525: syntax error before `.' token
KAVSession.cpp:529: parse error before `&' token
KAVSession.cpp: In member function `long unsigned int 
KAVSession::getsize(...)':
KAVSession.cpp:533: `this->KAVSession::string' cannot be used as a function
KAVSession.cpp: In member function `char* KAVSession::confirm()':
KAVSession.cpp:542: `cin' undeclared (first use this function)
KAVSession.cpp:544: parse error before `::' token
make[3]: *** [KAVSession.lo] Error 1
make[3]: Leaving directory `/usr/local/AVP/DaemonClients/SampleLibs/C++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/AVP/DaemonClients/SampleLibs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/AVP/DaemonClients'
make: *** [all] Error 2

-- 
Regards // Oden Eriksson, Deserve-IT.com

Reply via email to