I was able to get it to compile on Ubuntu Edgy by adding #define
_LINUX_TIME_H to netlink_handler.c and forked god (hehe) on github
here's the change:

http://github.com/tbuser/god/commit/2493b6d47785969187f1671cc65c2e3932db50eb

However, god check is telling me [fail] never received process exit
event.  Problem is, I don't know if my change broke it or not because
I can't get god check to succeed on Ubuntu Feisty either even though
it compiles fine there without modification and the god webpage says
it's supported.  It works fine without the event system though.

On Oct 28, 2:31 pm, Tony Buser <[EMAIL PROTECTED]> wrote:
> Same problem here on Ubuntu Edgy (2.6.17-10-server)  I've tried god
> 0.7.8 from rubyforge and 0.7.7 from github.
>
> On Sep 12, 10:29 am, Janko Luin <[EMAIL PROTECTED]> wrote:
>
> > make
> > gcc -I. -I/my/local/lib/ruby/1.8/i686-linux -I/my/local/lib/ruby/1.8/
> > i686-linux -I. -DHAVE_LINUX_NETLINK_H -DHAVE_LINUX_CONNECTOR_H -
> > DHAVE_LINUX_CN_PROC_H  -D_FILE_OFFSET_BITS=64 -fPIC -g -O2  -c
> > netlink_handler.c
> > In file included from /usr/include/linux/cn_proc.h:29,
> >                  from netlink_handler.c:9:
> > /usr/include/linux/time.h:12: error: redefinition of ‘struct
> > timespec’
> > /usr/include/linux/time.h:18: error: redefinition of ‘struct
> > timeval’
> > /usr/include/linux/time.h:23: error: redefinition of ‘struct
> > timezone’
> > /usr/include/linux/time.h:173: error: redefinition of ‘struct
> > itimerval’
> > make: *** [netlink_handler.o] Error 1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to