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

Re: [Linux-cluster] Compile from CVS Error



apply all kernel patches ...


On Tue, 28 Sep 2004 16:34:45 +0300
"Andriy Galetski" <andriy druzhba lviv ua> wrote:

> Hi !
> I have problem when compile today CVS sources
> 
>   1. apply kernel patch (to enable flock(2) to work among gfs nodes)
>    cd /path/to/kernel
>    patch -p1 < cluster/gfs-kernel/patches/<ver>/00001.patch
> 
> 2. build kernel
>    cd /path/to/kernel
>    make; make modules_install
> 
> 3. build cluster kernel modules and user space
>    cd cluster
>    ./configure --kernel_src=/path/to/kernel
>    make install
> 
> After that:
> ....
> .....
>   CC [M]  /usr/local/src/cluster/gfs-kernel/src/gfs/ops_export.o
>   CC [M]  /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.o
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c: In function
> `do_flock':
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c:1559: warning: implicit
> declaration of function `flock_lock_file_wait'
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c: At top level:
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c:1656: unknown field
> `flock' specified in initializer
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c:1656: warning:
> initialization from incompatible pointer type
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c:1666: unknown field
> `flock' specified in initializer
> /usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.c:1666: warning:
> initialization from incompatible pointer type
> make[5]: *** [/usr/local/src/cluster/gfs-kernel/src/gfs/ops_file.o] Error 1
> make[4]: *** [_module_/usr/local/src/cluster/gfs-kernel/src/gfs] Error 2
> make[4]: Leaving directory `/usr/src/linux-2.6.8.1'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/usr/local/src/cluster/gfs-kernel/src/gfs'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/usr/local/src/cluster/gfs-kernel/src'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/usr/local/src/cluster/gfs-kernel'
> make: *** [install] Error 2
> 
> Thanks.
> 
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> http://www.redhat.com/mailman/listinfo/linux-cluster


-- 

MAGIX AG
Adrian Immler
Internet Department
Rotherstr. 19
10245 Berlin
GERMANY

Tel.:   +49 (0)30- 29 39 2- 347
Fax:    +49 (0)30- 29 39 2- 400
Email:  mailto:aimmler magix net
Web:    www.magix.com

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The information in this email is intended only for the addressee named
above. Access to this email by anyone else is unauthorized. If you are
not the intended recipient of this message any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and
may be unlawful.

MAGIX does not warrant that any attachments are free from viruses or
other defects and accepts no liability for any losses resulting from
infected email transmissions. Please note that any views expressed in
this email may be those of the originator and do not necessarily
represent the agenda of the company.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


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