2004-06-30 15:59:38 UTC
Hi,
I really like your module, but I've now glib 2.3 and I must recompile it to have it working.
I get a lot of errors:
[QUOTE]
meta_api.cpp:51: syntax error before `=' token
meta_api.cpp:63: parse error before `=' token
meta_api.cpp:76: syntax error before `*' token
meta_api.cpp:77: syntax error before `*' token
meta_api.cpp:78: syntax error before `*' token
meta_api.cpp:84: syntax error before `int'
meta_api.cpp:89: ISO C++ forbids declaration of `pPlugInfo' with no type
meta_api.cpp:89: `Plugin_info' was not declared in this scope
meta_api.cpp:91: ISO C++ forbids declaration of `gpMetaUtilFuncs' with no type
meta_api.cpp:91: `pMetaUtilFuncs' was not declared in this scope
meta_api.cpp:92: parse error before `return'
meta_api.cpp:100: syntax error before `int'
meta_api.cpp:108: ISO C++ forbids declaration of `gpMetaGlobals' with no type
meta_api.cpp:108: `pMGlobals' was not declared in this scope
meta_api.cpp:109: parse error before `if'
meta_api.cpp:113: `pFunctionTable' was not declared in this scope
meta_api.cpp:113: `gMetaFunctionTable' was not declared in this scope
meta_api.cpp:113: `META_FUNCTIONS' was not declared in this scope
meta_api.cpp:113: ISO C++ forbids declaration of `memcpy' with no type
meta_api.cpp:113: initializer list being treated as compound expression
meta_api.cpp:114: ISO C++ forbids declaration of `gpGamedllFuncs' with no type
meta_api.cpp:114: `pGamedllFuncs' was not declared in this scope
meta_api.cpp:116: `Plugin_info' was not declared in this scope
meta_api.cpp:117: ISO C++ forbids declaration of `CVAR_REGISTER' with no type
meta_api.cpp:117: invalid conversion from `cvar_t*' to `int'
meta_api.cpp:119: ISO C++ forbids declaration of `h_Meta_Attach' with no type
meta_api.cpp:119: new declaration `int h_Meta_Attach()'
honksbot.h:26: ambiguates old declaration `void h_Meta_Attach()'
meta_api.cpp:121: parse error before `return'
meta_api.cpp:127: syntax error before `int'
meta_api.cpp:130: ISO C++ forbids declaration of `h_Meta_Detach' with no type
meta_api.cpp:130: new declaration `int h_Meta_Detach()'
honksbot.h:27: ambiguates old declaration `void h_Meta_Detach()'
meta_api.cpp:132: parse error before `return'
dllapi.cpp:37:20: dllapi.h: No such file or directory
dllapi.cpp:107: syntax error before `int'
dllapi.cpp:116: ISO C++ forbids declaration of `interfaceVersion' with no type
dllapi.cpp:116: invalid conversion from `int' to `int*'
dllapi.cpp:117: parse error before `return'
dllapi.cpp:119: `pFunctionTable' was not declared in this scope
dllapi.cpp:119: ISO C++ forbids declaration of `memcpy' with no type
dllapi.cpp:119: initializer list being treated as compound expression
dllapi.cpp:120: parse error before `return'
dllapi.cpp:124: syntax error before `int'
dllapi.cpp:134: ISO C++ forbids declaration of `interfaceVersion' with no type
dllapi.cpp:134: redefinition of `int*interfaceVersion'
dllapi.cpp:116: `int*interfaceVersion' previously defined here
dllapi.cpp:134: `ENGINE_INTERFACE_VERSION' was not declared in this scope
dllapi.cpp:135: parse error before `return'
dllapi.cpp:137: ISO C++ forbids declaration of `memset' with no type
dllapi.cpp:137: initializer list being treated as compound expression
dllapi.cpp:139: syntax error before `.' token
dllapi.cpp:141: `pengfuncsFromEngine' was not declared in this scope
dllapi.cpp:141: ISO C++ forbids declaration of `memcpy' with no type
dllapi.cpp:141: redefinition of `int memcpy'
dllapi.cpp:119: `int memcpy' previously defined here
dllapi.cpp:141: initializer list being treated as compound expression
dllapi.cpp:143: parse error before `return'
h_export.cpp:30:22: h_export.h: No such file or directory
h_export.cpp:41: syntax error before `(' token
h_export.cpp:44: ISO C++ forbids declaration of `gpGlobals' with no type
h_export.cpp:44: conflicting types for `int gpGlobals'
h_export.cpp:36: previous declaration as `globalvars_t*gpGlobals'
h_export.cpp:44: `pGlobals' was not declared in this scope
h_export.cpp:45: parse error before `}' token
honksbot.cpp: In function `void LOG(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
honksbot.cpp:13: `PLID' undeclared (first use this function)
honksbot.cpp:13: (Each undeclared identifier is reported only once for each
function it appears in.)
honksbot.cpp:13: `LOG_MESSAGE' undeclared (first use this function)
In file included from honksbot.cpp:44:
ircclient.cpp: In member function `virtual void Circclient::Stophonk()':
ircclient.cpp:38: `close' undeclared (first use this function)
ircclient.cpp: In member function `void Circclient::ircconnect()':
ircclient.cpp:73: `LOG_ERROR' undeclared (first use this function)
ircclient.cpp: In member function `void
Circclient::ircparsestring(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
ircclient.cpp:166: `SERVER_COMMAND' undeclared (first use this function)
ircclient.cpp:180: `Plugin_info' undeclared (first use this function)
ircclient.cpp:194: call of overloaded `abs(double)' is ambiguous
/usr/include/stdlib.h:742: candidates are: int abs(int)
/usr/include/c++/3.2.2/cstdlib:142: long long int
__gnu_cxx::abs(long long int)
/usr/include/c++/3.2.2/cstdlib:119: long int std::abs(long int)
ircclient.cpp:196: `usleep' undeclared (first use this function)
honksbot.cpp: In function `void resolveLogMessage(ALERT_TYPE, char*, ...)':
honksbot.cpp:179: `MRES_IGNORED' undeclared (first use this function)
honksbot.cpp:179: `RETURN_META' undeclared (first use this function)
honksbot.cpp:180: `MAX_LOGMSG_LEN' undeclared (first use this function)
honksbot.cpp:184: `message' undeclared (first use this function)
honksbot.cpp:187: `SET_META_RESULT' undeclared (first use this function)
In file included from honksbot_parselogmessage.cpp:49,
from honksbot.cpp:190:
punkte.cpp: In function `void settopic()':
punkte.cpp:5: `gpGlobals' undeclared (first use this function)
punkte.cpp:5: `STRING' undeclared (first use this function)
honksbot.cpp: In function `void cvar_server()':
honksbot.cpp:220: `CMD_ARGC' undeclared (first use this function)
honksbot.cpp:221: `CMD_ARGV' undeclared (first use this function)
honksbot.cpp: In function `void register_config()':
honksbot.cpp:480: `REG_SVR_COMMAND' undeclared (first use this function)
strip: honks_mm_i386.so: No such file or directory
[/QUOTE]
I hope you will find time to help me, or to compile an 2.3 version =)
Thx a lot