methabot-users Mailing List for Methabot Web Crawler
Brought to you by:
sdac
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
|---|
|
From: Emil R. <sda...@gm...> - 2007-11-16 07:44:48
|
(Didn't notice earlier but the emails didn't go through the mailing list, forwarding) Hi David, 2007/11/16, David Beckwith <dbi...@gm...>: > Hi, > I added that include and I got past that compile error. I had to > add it to one other file: methaconfig.c as well. But now I have > another error: > [...] > > /root/db_crawler/install/methabot/src/methaconfig_file.c:45: error: > syntax error before "usec_t" > Still looks like a useconds_t error, perhaps you don't have that datatype. Please try replacing (possibly line 45, methaconfig_file.c): typedef useconds_t usec_t; with typedef unsigned int usec_t; I suspect it will throw crap at the usleep() instead after this, if this is the case then consider updating your C library. > > I am in the process of getting SVN install on my server, so I can't do > an svn co yet, but I'll try that next. Anyway, just thought i'd let > you know. I'm using Red Hat Enterprise Linux ES release 4 (Nahant > Update 5) with almost nothing installed on this box... > > thanks, > D :) > > Just curious, what GCC version and glib version do you have installed? Regards, Emil Romanus |
|
From: Emil R. <sda...@gm...> - 2007-11-15 14:35:03
|
Hi David, 2007/11/15, David Beckwith <dbi...@gm...>: > 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? It seems like you don't have the useconds_t datatype. Looks like I forgot to include sys/types.h! I've updated the latest SVN-version, if you want to fix it yourself you can go to methaconfig_file.c, line 44/45 and add #include <sys/types.h> just below the #include <unistd.h>. This *should* fix it, if it doesn't then we'll probably have to come up with a workaround for systems that don't have useconds_t at all. Good luck, Emil > > Thanks! > David :) > |
|
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
|