On 04/05/12 13:01, Paolo Bonzini wrote: > These are pretty sane requirements to move forward with glib usage. > 2.12 is the version found in RHEL/CentOS 5, and 2.20 is the > first version to support g_poll. Without g_poll, we cannot > integrate well with the glib main loop.
We have a glib-related rhel5 build failure though: CC qapi/qmp-input-visitor.o 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 reported only once qapi/qmp-input-visitor.c:92: error: for each function it appears in.) qapi/qmp-input-visitor.c:92: error: expected ‘;’ before ‘iter’ cc1: warnings being treated as errors qapi/qmp-input-visitor.c:96: warning: implicit declaration of function ‘g_hash_table_iter_init’ qapi/qmp-input-visitor.c:96: warning: nested extern declaration of ‘g_hash_table_iter_init’ qapi/qmp-input-visitor.c:96: error: ‘iter’ undeclared (first use in this function) qapi/qmp-input-visitor.c:97: warning: implicit declaration of function ‘g_hash_table_iter_next’ qapi/qmp-input-visitor.c:97: warning: nested extern declaration of ‘g_hash_table_iter_next’ make: *** [qapi/qmp-input-visitor.o] Error 1 Guess 2.12 just hasn't hash tables yet, so we have to figure whenever we want raise the minimum glib version or stop using glib hash tables. cheers, Gerd