[Methabot-users] Error in building methabot
Brought to you by:
sdac
|
From: David B. <dbi...@gm...> - 2007-11-15 10:55:58
|
Hi,
I'm getting an error when trying to build Methabot or Redhat. I
instaled the correct version of libcurl and cmake. What else could it
be?
Thanks!
David :)
4%] Building C object CMakeFiles/methabot.dir/src/methaconfig_file.o
In file included from /root/db_crawler/install/methabot/src/methaconfig.h:41,
from
/root/db_crawler/install/methabot/src/methaconfig_file.c:34:
/root/db_crawler/install/methabot/src/resdescr.h:67: warning: "struct
methacrawler" declared inside parameter list
/root/db_crawler/install/methabot/src/resdescr.h:67: warning: its
scope is only this definition or declaration, which is probably not
what you want
In file included from /root/db_crawler/install/methabot/src/methaconfig.h:43,
from
/root/db_crawler/install/methabot/src/methaconfig_file.c:34:
/root/db_crawler/install/methabot/src/mmod.h:16: warning: "struct
methacrawler" declared inside parameter list
/root/db_crawler/install/methabot/src/methaconfig_file.c:44: error:
syntax error before "usec_t"
/root/db_crawler/install/methabot/src/methaconfig_file.c:44: warning:
data definition has no type or storage class
/root/db_crawler/install/methabot/src/methaconfig_file.c: In function
`methaconfigure_from_file':
/root/db_crawler/install/methabot/src/methaconfig_file.c:427: warning:
initialization makes pointer from integer without a cast
/root/db_crawler/install/methabot/src/methaconfig_file.c: In function
`m_directive_modprobe':
/root/db_crawler/install/methabot/src/methaconfig_file.c:667: warning:
initialization from incompatible pointer type
/root/db_crawler/install/methabot/src/methaconfig_file.c: In function
`m_directive_timeout':
/root/db_crawler/install/methabot/src/methaconfig_file.c:718: error:
syntax error before "us"
/root/db_crawler/install/methabot/src/methaconfig_file.c:722: error:
`us' undeclared (first use in this function)
/root/db_crawler/install/methabot/src/methaconfig_file.c:722: error:
(Each undeclared identifier is reported only once
/root/db_crawler/install/methabot/src/methaconfig_file.c:722: error:
for each function it appears in.)
/root/db_crawler/install/methabot/src/methaconfig_file.c:722: error:
called object is not a function
/root/db_crawler/install/methabot/src/methaconfig_file.c:724: error:
`lus' undeclared (first use in this function)
/root/db_crawler/install/methabot/src/methaconfig_file.c:733: error:
called object is not a function
make[2]: *** [CMakeFiles/methabot.dir/src/methaconfig_file.o] Error 1
make[1]: *** [CMakeFiles/methabot.dir/all] Error 2
make: *** [all] Error 2
--
SMS/Text: +63 905 220 2207
Skype: dbit_solutions
|