Hi,<br><div class="gmail_quote">I tried to compiled ocfs2 on 2.6.32.2 x86_64 but still failed.<br>there are an error blow:<br>--------------------------------------------------------------------------------------------------------------------- <br>
xattr.c: In function 'check_xattr_entry':<br>xattr.c:250: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long int'<br>xattr.c:287: warning: format '%lu' expects type 'long unsigned int', but argument 8 has type '__u64'<br>
gcc -m64 -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -static -o fsck.ocfs2 fsck.o dirblocks.o dirparents.o extent.o icount.o journal.o pass0.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o problem.o refcount.o slot_recovery.o strings.o util.o xattr.o ../libocfs2/libocfs2.a ../libo2dlm/libo2dlm.a ../libo2cb/libo2cb.a -L../libocfs2 -locfs2 -L../libo2dlm -lo2dlm -L../libo2cb -lo2cb -lcom_err <br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `fini_et_lock':<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:74: undefined reference to `sem_destroy'<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `setup_et_lock':<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:68: undefined reference to `sem_init'<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_unlock':<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:95: undefined reference to `sem_post'<br>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_lock':<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85: undefined reference to `sem_wait'<br>
collect2: ld returned 1 exit status<br>make[1]: *** [fsck.ocfs2] Error 1<br>make[1]: Leaving directory `/root/localdir/fsck.ocfs2'<br>make: *** [fsck.ocfs2] Error 2<br>--------------------------------------------------------------------------------------------------------------------------<br>
Anyone have any Idea?<br><br>Best Regards,<br>Satit P.<br><br><br>
</div><br>