[Ocfs-tools-devel] Error building ocfs-tools

Villalovos, John L john.l.villalovos at intel.com
Mon Aug 2 14:08:22 PDT 2004


Is anyone else having problems building ocfs-tools?

I am building on Fedora Core 2 with all the patches installed.

I get the following output:

# make
<snip>
make -C ocfs2
make[1]: Entering directory `/root/ocfs2/tools/ocfs2'
make -C libocfs2
make[2]: Entering directory `/root/ocfs2/tools/ocfs2/libocfs2'
gcc  -fno-strict-aliasing -Wall -Wstrict-prototypes -Wno-format
-Wmissing-prototypes -Wmissing-declarations -O2   -DOCFS2_FLAT_INCLUDES
-Iinclude  -D__ILP32__  -o bitmap.o -c bitmap.c
bitmap.c:33:26: linux/bitops.h: No such file or directory
In file included from include/byteorder.h:36,
                 from include/ocfs2.h:45,
                 from bitmap.c:35:
/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel
header; include <endian.h> instead!
bitmap.c: In function `ocfs2_bitmap_set_generic':
bitmap.c:285: warning: implicit declaration of function
`__test_and_set_bit'
bitmap.c: In function `ocfs2_bitmap_clear_generic':
bitmap.c:311: warning: implicit declaration of function
`__test_and_clear_bit'
bitmap.c: In function `ocfs2_bitmap_test_generic':
bitmap.c:336: warning: implicit declaration of function `test_bit'
make[2]: *** [bitmap.o] Error 1
make[2]: Leaving directory `/root/ocfs2/tools/ocfs2/libocfs2'
make[1]: *** [libocfs2] Error 2
make[1]: Leaving directory `/root/ocfs2/tools/ocfs2'
make: *** [ocfs2] Error 2
#


More information about the Ocfs-tools-devel mailing list