Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-12 Thread Kai NODA
Hi Paolo, I've encountered the same problem as Erik on my RHEL5 machine with glib 2.12, and made a patch to replace GHashTableIter with g_hash_table_find(). https://github.com/nodakai/QEMU/commit/4a9dd009feb1d78e3566069336a0d1b9a296bd23 I think it's an almost same approach with yours, but have not

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Erik Rull
On April 10, 2012 at 12:29 PM Paolo Bonzini wrote: > Il 10/04/2012 11:18, Erik Rull ha scritto: > > Hi all, > > > > on the current git master, I cannot compile any more. > > > > The error is: > > qapi/qmp-input-visitor.c: In function 'qmp_input_pop': > > qapi/qmp-input-visitor.c:92: error: 'G

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Erik Rull
On April 10, 2012 at 12:57 PM Michael Tokarev wrote: > 10.04.2012 14:32, Daniel P. Berrange wrote: > > On Tue, Apr 10, 2012 at 02:29:56PM +0400, Michael Tokarev wrote: > >> 10.04.2012 13:18, Erik Rull wrote: > >>> Hi all, > >>> > >>> on the current git master, I cannot compile any more. > >>

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Michael Tokarev
10.04.2012 14:32, Daniel P. Berrange wrote: On Tue, Apr 10, 2012 at 02:29:56PM +0400, Michael Tokarev wrote: 10.04.2012 13:18, Erik Rull wrote: Hi all, on the current git master, I cannot compile any more. Debian 4.0 is rather old - it is etch, which was before lenny which was discontinued

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Alon Levy
On Tue, Apr 10, 2012 at 11:18:56AM +0200, Erik Rull wrote: > Hi all, > > on the current git master, I cannot compile any more. > > The error is: > qapi/qmp-input-visitor.c: In function 'qmp_input_pop': > qapi/qmp-input-visitor.c:92: error: 'GHashTableIter' undeclared (first use > in this functio

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Alon Levy
On Tue, Apr 10, 2012 at 11:18:56AM +0200, Erik Rull wrote: > Hi all, > > on the current git master, I cannot compile any more. > > The error is: > qapi/qmp-input-visitor.c: In function 'qmp_input_pop': > qapi/qmp-input-visitor.c:92: error: 'GHashTableIter' undeclared (first use > in this functio

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Peter Maydell
On 10 April 2012 11:32, Daniel P. Berrange wrote: > Check the above docs - IME they're usually pretty good at telling you > exactly what version things appeared in. Last time I needed to check that kind of detail (in the threading APIs) the docs and the actual implementation disagreed... -- PMM

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Daniel P. Berrange
On Tue, Apr 10, 2012 at 02:29:56PM +0400, Michael Tokarev wrote: > 10.04.2012 13:18, Erik Rull wrote: > > Hi all, > > > >on the current git master, I cannot compile any more. > > Debian 4.0 is rather old - it is etch, which was before > lenny which was discontinued about a month ago. Note > that

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Michael Tokarev
10.04.2012 13:18, Erik Rull wrote: Hi all, on the current git master, I cannot compile any more. Debian 4.0 is rather old - it is etch, which was before lenny which was discontinued about a month ago. Note that on etch, for example kvm will not work due to completely missing kernel support.

Re: [Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Paolo Bonzini
Il 10/04/2012 11:18, Erik Rull ha scritto: > Hi all, > > on the current git master, I cannot compile any more. > > The error is: > qapi/qmp-input-visitor.c: In function 'qmp_input_pop': > qapi/qmp-input-visitor.c:92: error: 'GHashTableIter' undeclared (first use > in this function) > qapi/qmp-in

[Qemu-devel] current git master compile fails on Debian 4.0

2012-04-10 Thread Erik Rull
Hi all, on the current git master, I cannot compile any more. The error is: qapi/qmp-input-visitor.c: In function 'qmp_input_pop': qapi/qmp-input-visitor.c:92: error: 'GHashTableIter' undeclared (first use in this function) qapi/qmp-input-visitor.c:92: error: (Each undeclared identifier is repor