qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Build failure in test-coroutine.c


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Build failure in test-coroutine.c
Date: Tue, 7 Feb 2012 10:19:33 +0000

On Tue, Feb 7, 2012 at 9:23 AM, Erik Rull <address@hidden> wrote:
>
> On February 6, 2012 at 9:29 AM Stefan Hajnoczi <address@hidden> wrote:
>
>> On Thu, Jan 19, 2012 at 08:06:30PM +0100, Erik Rull wrote:
>> > test-coroutine.c:92: warning: implicit declaration of function
>> > 'g_assert_cmpint'
>> ...
>> > address@hidden:~/qemu-test/qemu-kvm$
>>
>> This must be an old Debian box.  Debian stable has a new enough glib
>> that provides g_assert_cmpint().
>>
>> The glib testing infrastructure requires glib 2.16 or later.  It's
>> trivial to write a replacement g_assert_cmpint() for old systems but
>> unfortunately you're also missing the core testing framework
>> (g_test_run() and friends) so it's not that easy to backport.
>>
>> Which version of distro version are you using?  Which glib version are
>> you using?
>>
>> Stefan
>>
>
>
> Hi Stefan,
>
> it is Debian 4.0 glib 2.0
> Can you add a ./configure option to just remove the compilation of the test
> infrastructure? I don't need it. Currently I just modify my configure
> script...

I have added this to my todo list but am unsure when I can come up
with a patch.  If you or anyone else wants to do it, please go ahead.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]