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 &#39;check_xattr_entry&#39;:<br>xattr.c:250: warning: format &#39;%u&#39; expects type &#39;unsigned int&#39;, but argument 7 has type &#39;long int&#39;<br>xattr.c:287: warning: format &#39;%lu&#39; expects type &#39;long unsigned int&#39;, but argument 8 has type &#39;__u64&#39;<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&#39;:<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:74: undefined reference to `sem_destroy&#39;<br>

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `setup_et_lock&#39;:<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:68: undefined reference to `sem_init&#39;<br>

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_unlock&#39;:<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:95: undefined reference to `sem_post&#39;<br>

/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_lock&#39;:<br>/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85: undefined reference to `sem_wait&#39;<br>

collect2: ld returned 1 exit status<br>make[1]: *** [fsck.ocfs2] Error 1<br>make[1]: Leaving directory `/root/localdir/fsck.ocfs2&#39;<br>make: *** [fsck.ocfs2] Error 2<br>--------------------------------------------------------------------------------------------------------------------------<br>

Anyone have any Idea?<br><br>Best Regards,<br>Satit P.<br><br><br>
</div><br>