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

[Linux-cluster] Compile from CVS Error



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.


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