Before make, I ran the
configure with the follow options.
# ./configure
--prefix=/x_monta/local/mipsel-hardhat-linux --host=i686-pc-linux-gnu
CC=/x_monta/local/bin/cc
And the error is in
glib-2.8.6/glib/gatomic.c
------------------
gboolean
g_atomic_int_compare_and_exchange (gint *atomic,
gint oldval,
gint newval)
{
gint
result;
__asm__ __volatile__ ("lock; cmpxchgl %2,
%1" <- this line causes error!
:
"=a" (result), "=m" (*atomic)
: "r" (newval), "m"
(*atomic), "0" (oldval));
return result ==
oldval;
}
------------------
I couldnt unstand the meaning
of the error message, so dont know how to fix it.
Please help
me.
Thanks a
lot.
Yang