[Linux-cluster] make errors for 2.6.19 on fc6
nirmal tom
nirmaltom at hotmail.com
Mon Mar 19 13:06:06 UTC 2007
hi,
Thanks a lot to both Sridhar and Rafael.Now gfs-kernel stucks, i think.
/opt/cluster/gfs-kernel/src/gfs/glock.c:41: error: field gr_work has
incomplete type
/opt/cluster/gfs-kernel/src/gfs/glock.c: In function greedy_work:
/opt/cluster/gfs-kernel/src/gfs/glock.c:1762: warning: type defaults to
int in declaration of __mptr
/opt/cluster/gfs-kernel/src/gfs/glock.c:1762: warning: initialization from
incompatible pointer type
/opt/cluster/gfs-kernel/src/gfs/glock.c: In function gfs_glock_be_greedy:
/opt/cluster/gfs-kernel/src/gfs/glock.c:1817: error: implicit declaration of
function INIT_DELAYED_WORK
make[5]: *** [/opt/cluster/gfs-kernel/src/gfs/glock.o] Error 1
make[4]: *** [_module_/opt/cluster/gfs-kernel/src/gfs] Error 2
make[4]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.fc6-i686'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/cluster/gfs-kernel/src/gfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/cluster/gfs-kernel/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/cluster/gfs-kernel'
make: *** [all] Error 2
on both stable and development, i got this.how to fix this one?
thanks and regards,
Nirmal Tom.
>From: Rafael Bravo <rbravo at di.uc3m.es>
>Reply-To: linux clustering <linux-cluster at redhat.com>
>To: linux clustering <linux-cluster at redhat.com>
>Subject: Re: [Linux-cluster] make errors for 2.6.19 on fc6
>Date: Sun, 18 Mar 2007 23:58:03 +0100
>
>nirmal tom wrote:
>
>>hi,
>>I am running fc6 and my kernel version is 2.6.19-1.2911.fc6.I installed
>>openais succesfully and i thind i dont need to install libvolume_id as i
>>am running fc6,it already contains udev-095-14
>>
>>i downloaded development version using
>>cvs -d :pserver:cvs at sources.redhat.com:/cvs/cluster checkout cluster
>>and now when i run make , it fetches me the error
>>make -C dlm_controld all
>>make[2]: Entering directory `/opt/cluster/group/dlm_controld'
>>gcc -Wall -g -I//usr/include -I../config -idirafter
>>/usr/src/kernels/2.6.19-1.2911.fc6-i686/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:188: error: NETLINK_KOBJECT_UEVENT undeclared (first use in this
>>function)
>>main.c:188: error: (Each undeclared identifier is reported only once
>>main.c:188: error: for each function it appears in.)
>>make[2]: *** [main.o] Error 1
>>make[2]: Leaving directory `/opt/cluster/group/dlm_controld'
>>make[1]: *** [all] Error 2
>>make[1]: Leaving directory `/opt/cluster/group'
>>make: *** [all] Error 2
>>
>>As for stable verion is consent, i got the same error.
>
> Try...
> # cd /usr/include
> # mv linux linux.old
> # ln -s /usr/src/kernels/2.6.19-1.2911.fc6-i686/include/linux linux
> Regards ;-)
>
>>
>>Thanks for any response.
>>
>>regards,
>>Nirmal Tom.
>>
>>
>>--
>>Linux-cluster mailing list
>>Linux-cluster at redhat.com
>>https://www.redhat.com/mailman/listinfo/linux-cluster
>
>
>--
>Linux-cluster mailing list
>Linux-cluster at redhat.com
>https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list