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

Re: [Linux-cluster] Again Problems with newest CVS



You have an old version of gfs_ioctl.h somewhere.  Find it, replace it
with the new one, and try again.


On Thu, Jan 06, 2005 at 12:33:56PM +0100, tom nethinks com wrote:
> 
> 
> 
> 
> Hi all,
> 
> getting the following errors any ideas?
> 
> 
> make[3]: Entering directory `/usr/src/linux-2.6.9'
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/acl.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/bits.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/bmap.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/daemon.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/diaper.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/dio.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/dir.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/eaops.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/eattr.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/file.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/glock.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/glops.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/inode.o
>   CC [M]  /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.o
> In file included from /tmp/gfs/cluster/gfs-kernel/src/gfs/gfs.h:24,
>                  from /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:24:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/incore.h:817: error: redefinition of
> `struct gfs_args'
> /tmp/gfs/cluster/gfs-kernel/src/gfs/incore.h:844: error: redefinition of
> `struct gfs_tune'
> In file included from /tmp/gfs/cluster/gfs-kernel/src/gfs/gfs.h:25,
>                  from /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:24:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/util.h:321: error: redefinition of
> `struct gfs_user_buffer'
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:44: warning: `struct gfs_ioctl'
> declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:44: warning: its scope is only
> this definition or declaration, which is probably not what you want
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:59: warning: `struct gfs_ioctl'
> declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_skeleton':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:66: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:67: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:73: warning: passing arg 2 of
> pointer to function from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:77: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:105: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_cookie':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:109: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:130: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_super':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:137: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:139: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:163: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:191: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_args':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:196: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:234: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_get_lockstruct':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:239: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:270: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_stat_gfs':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:275: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:335: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_counters':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:340: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:431: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_get_tune':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:436: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:505: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_set_tune':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:513: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:516: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:520: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:761: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_do_reclaim':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:768: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:798: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi_do_shrink':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:802: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:817: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_get_file_stat':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:823: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:825: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:838: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:859: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_set_file_flag':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:868: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:871: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:882: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:967: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_get_file_meta':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:973: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:976: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:977: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1023: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_file_flush':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1025: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1040: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gi2hip':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1044: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1047: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1072: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_get_hfile_stat':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1079: warning: passing arg 2 of
> `gi2hip' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1083: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1096: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1117: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_hfile_read':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1126: warning: passing arg 2 of
> `gi2hip' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1130: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1130: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1137: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1137: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1137: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1154: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_hfile_write':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1166: warning: passing arg 2 of
> `gi2hip' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1170: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1170: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1173: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1186: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1186: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1223: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1223: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1223: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1258: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_hfile_trunc':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1267: warning: passing arg 2 of
> `gi2hip' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1275: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1292: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_quota_sync':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1296: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1310: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_quota_refresh':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1318: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1321: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: At top level:
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1354: warning: `struct
> gfs_ioctl' declared inside parameter list
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function
> `gi_do_quota_read':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1362: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1364: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1367: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1392: error: dereferencing
> pointer to incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c: In function `gfs_ioctl_i':
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1410: error: storage size of
> `gi' isn't known
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1415: error: invalid
> application of `sizeof' to an incomplete type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1432: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1436: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1438: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1440: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1442: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1444: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1448: warning: passing arg 3 of
> `gi_skeleton' from incompatible pointer type
> /tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.c:1410: warning: unused variable
> `gi'
> make[4]: *** [/tmp/gfs/cluster/gfs-kernel/src/gfs/ioctl.o] Error 1
> make[3]: *** [_module_/tmp/gfs/cluster/gfs-kernel/src/gfs] Error 2
> 
> -tom
> 
> --
> Linux-cluster mailing list
> Linux-cluster redhat com
> http://www.redhat.com/mailman/listinfo/linux-cluster

-- 
Ken Preslan <kpreslan redhat com>


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