[Ocfs-users] Problems Compiling ocfs - RedHat8

Tom Weber tom.weber at rtl.lu
Thu Jun 19 16:16:59 CDT 2003


Hi,

  First of all great project You are developing, really usefull,but....

  Compiling the OCFS System under a clean RedHat 8 Installaton renders an error during compilation:

make -C format
make[2]: Entering directory `/root/ocfs-1.0.8/tools/format'
gcc -g -O2  -pipe    -I../../ocfs2/Common/inc -Iinc -I../../tools/debugocfs -I../../ocfs2/Linux/inc -DLINUX -DUSERSPACE_TOOL  -o
format.o -c format.c
In file included from ../../tools/debugocfs/dummy.h:108,
                 from inc/format.h:30,
                 from format.c:27:
../../ocfs2/Common/inc/ocfsdisk.h:161: parse error before "atomic_t"
../../ocfs2/Common/inc/ocfsdisk.h:161: warning: no semicolon at end of struct or union
../../ocfs2/Common/inc/ocfsdisk.h:163: parse error before '}' token
../../ocfs2/Common/inc/ocfsdisk.h:164: warning: data definition has no type or storage class
In file included from ../../tools/debugocfs/dummy.h:109,
                 from inc/format.h:30,
                 from format.c:27:
../../ocfs2/Common/inc/ocfsdef.h:206: parse error before "atomic_t"
../../ocfs2/Common/inc/ocfsdef.h:206: warning: no semicolon at end of struct or union
../../ocfs2/Common/inc/ocfsdef.h:207: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:223: parse error before "voted_event_woken"
../../ocfs2/Common/inc/ocfsdef.h:223: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:231: parse error before '}' token
../../ocfs2/Common/inc/ocfsdef.h:232: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:241: parse error before "ocfs_lock_res"
../../ocfs2/Common/inc/ocfsdef.h:241: warning: no semicolon at end of struct or union
../../ocfs2/Common/inc/ocfsdef.h:253: parse error before '}' token
../../ocfs2/Common/inc/ocfsdef.h:297: parse error before "ocfs_vol_node_map"
../../ocfs2/Common/inc/ocfsdef.h:297: warning: no semicolon at end of struct or union
../../ocfs2/Common/inc/ocfsdef.h:329: parse error before "lock_stop"
../../ocfs2/Common/inc/ocfsdef.h:329: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:331: parse error before "lock_event_woken"
../../ocfs2/Common/inc/ocfsdef.h:331: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:333: parse error before "nm_init"
../../ocfs2/Common/inc/ocfsdef.h:333: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:343: parse error before "node_req_vote"
../../ocfs2/Common/inc/ocfsdef.h:343: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:390: parse error before "atomic_t"
../../ocfs2/Common/inc/ocfsdef.h:390: warning: no semicolon at end of struct or union
../../ocfs2/Common/inc/ocfsdef.h:392: warning: data definition has no type or storage class
../../ocfs2/Common/inc/ocfsdef.h:451: parse error before "OcfsGlobalCtxt"
../../ocfs2/Common/inc/ocfsdef.h:451: warning: data definition has no type or storage class
format.c: In function `CheckHeartBeat':
format.c:307: storage size of `osb' isn't known
format.c:315: sizeof applied to an incomplete type
format.c:315: sizeof applied to an incomplete type
format.c:315: sizeof applied to an incomplete type
format.c:315: sizeof applied to an incomplete type
format.c:315: sizeof applied to an incomplete type
format.c:315: sizeof applied to an incomplete type
make[2]: *** [format.o] Error 1
make[2]: Leaving directory `/root/ocfs-1.0.8/tools/format'
make[1]: *** [format] Error 2
make[1]: Leaving directory `/root/ocfs-1.0.8/tools'
make: *** [tools] Error 2

Anybody an Idea what might be the problem ?
Help would be very appreciated

Thank You a lot :)

Regards,

  Tom Weber
  RTL newMedia




More information about the Ocfs-users mailing list