* [Ocfs2-devel] ocfs2 compile error in x86_64
@ 2010-02-13 4:39 satit pherm
2010-02-13 23:04 ` Joel Becker
0 siblings, 1 reply; 2+ messages in thread
From: satit pherm @ 2010-02-13 4:39 UTC (permalink / raw)
To: ocfs2-devel
Hi,
I tried to compiled ocfs2 on 2.6.32.2 x86_64 but still failed.
there are an error blow:
---------------------------------------------------------------------------------------------------------------------
xattr.c: In function 'check_xattr_entry':
xattr.c:250: warning: format '%u' expects type 'unsigned int', but argument
7 has type 'long int'
xattr.c:287: warning: format '%lu' expects type 'long unsigned int', but
argument 8 has type '__u64'
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
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `fini_et_lock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:74:
undefined reference to `sem_destroy'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `setup_et_lock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:68:
undefined reference to `sem_init'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_unlock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:95:
undefined reference to `sem_post'
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../lib/libcom_err.a(error_message.o):
In function `et_list_lock':
/sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85:
undefined reference to `sem_wait'
collect2: ld returned 1 exit status
make[1]: *** [fsck.ocfs2] Error 1
make[1]: Leaving directory `/root/localdir/fsck.ocfs2'
make: *** [fsck.ocfs2] Error 2
--------------------------------------------------------------------------------------------------------------------------
Anyone have any Idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20100213/1806e232/attachment-0001.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Ocfs2-devel] ocfs2 compile error in x86_64
2010-02-13 4:39 [Ocfs2-devel] ocfs2 compile error in x86_64 satit pherm
@ 2010-02-13 23:04 ` Joel Becker
0 siblings, 0 replies; 2+ messages in thread
From: Joel Becker @ 2010-02-13 23:04 UTC (permalink / raw)
To: ocfs2-devel
On Sat, Feb 13, 2010 at 11:39:01AM +0700, satit pherm wrote:
> I tried to compiled ocfs2 on 2.6.32.2 x86_64 but still failed.
> there are an error blow:
This is ocfs2-tools, not ocfs2. But your problem is that
com_err can't really be built statically anymore. You want to configure
with --enable-dynamic-fsck and --enable-dynamic-ctl
Joel
--
"Every day I get up and look through the Forbes list of the richest
people in America. If I'm not there, I go to work."
- Robert Orben
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-13 23:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-13 4:39 [Ocfs2-devel] ocfs2 compile error in x86_64 satit pherm
2010-02-13 23:04 ` Joel Becker
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.