Re: Troubles to install GFS on Debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Steve! I'll try to upgrade my kernel-headers.

This box is just for tests. My debian is 3.1 Sarge, and my kernel is
2.6.16.

Thanks again

Jeronimo

Em Qua, 2006-09-20 às 16:22 -0700, Steven Dake escreveu:
> Jeronimo,
> 
> I suspect you have old kernel include headers which did not support the
> uevent mechanism.  For example on my 2.6.9 kernel I am using with 2.6.9
> include headers, there is no support for uevents.  You can work around
> this problem by defining NETLINK_KOBJECT_UEVENT to be whatever value is
> in your kernel (found in include/linux/netlink.h in your new kernel
> sources you are installing) in main.c.  Alternatively you could upgrade
> your kernel include headers. You didn't state which version of debian
> you are using, but updating the kernel headers could cause problems, so
> I'd stick with the workaround above.
> 
> You should also verify your kernel supports uevents.  This can be done
> by checking for a copy of the file lib/kobject_uevent.c within the
> kernel source tree.  It also needs to be enabled in the kernel
> configuration options.  I would expect debian unstable and also FC6 to
> support these features.
> 
> Regards
> -steve
> 
> On Wed, 2006-09-20 at 16:07 -0500, Robert Peterson wrote:
> > Jeronimo Bezerra wrote:
> > > Hello Bob, thanks :)
> > >
> > > I installed openais but I didn't see that was
> > > in /usr/local/usr/include/openais, and in the Debian the default
> > > location is /usr/include. I fix it. After that, I received another
> > > error:
> > >
> > > make[2]: Leaving directory `/usr/src/cluster/group/tool'
> > > make -C dlm_controld all
> > > make[2]: Entering directory `/usr/src/cluster/group/dlm_controld'
> > > gcc -Wall  -g -I//usr/include -I../config -idirafter /include/linux
> > > -I../../group/lib/ -I../../ccs/lib/ -I../../cman/lib/ -I../include/ -c
> > > -o main.o main.c
> > > main.c: In function `setup_uevent':
> > > main.c:183: error: `NETLINK_KOBJECT_UEVENT' undeclared (first use in
> > > this function)
> > > main.c:183: error: (Each undeclared identifier is reported only once
> > > main.c:183: error: for each function it appears in.)
> > > make[2]: *** [main.o] Error 1
> > > make[2]: Leaving directory `/usr/src/cluster/group/dlm_controld'
> > > make[1]: *** [all] Error 2
> > > make[1]: Leaving directory `/usr/src/cluster/group'
> > > make: *** [all] Error 2
> > >
> > > I will try to resolve it tonight. But if you would like to help,
> > > please! :)
> > >
> > > Thank you again!
> > >
> > > Jeronimo
> > >   
> > Sounds like you're not picking up netlink.h.
> > 
> > Regards,
> > 
> > Bob Peterson
> > Red Hat Cluster Suite
> > 
> > 
> > --
> > Linux-cluster mailing list
> > Linux-cluster@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/linux-cluster
> 
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux