Re: Troubles to install GFS on Debian]

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

 



I forget to send to list :).
 
So, where can I find the lock_dlm_plock.h? 

I already searched im my linux box and nothing.

The openais is installed too.

Thank

Jeronimo
--- Begin Message ---
Hi Steve.
 
I put in include/linux/netlink.h the following:

#define NETLINK_KOBJECT_UEVENT  15 

as in kernel source. But now i'm having another troubles, a simple
trouble:

gcc -Wall  -g -I. -O2 -idirafter /include/linux -I//usr/include
-I../config -I../../cman/lib -I../include/ -I../lib/ -c -o plock.o
plock.c
plock.c:36:34: linux/lock_dlm_plock.h: File or Directory not found
plock.c:87: error: field `info' has incomplete type
plock.c: In function `info_bswap_out':

I don't have this file lock_dlm_plock.h in my server , and I didn't
found where to download. 

Do you know where to find it?

Thanks 

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

--- End Message ---
--
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