gEDA-dev: g_hash_table_remove_all

Stuart Brorson sdb at cloud9.net
Wed Jul 4 18:54:30 EDT 2007


Hi Guys --

I'm sorry to sound like a nag, but this afternoon I grabbed the latest 
gEDA/gaf out of git and tried compiling it on my SuSE 9.3 box. 
Unfortunately, compilation fails with:

/usr/local/geda/lib/libgeda.so: undefined reference to
`g_hash_table_remove_all'collect2: ld returned 1 exit status

The reason is that g_hash_table_remove_all was introduced in
gtk-2.12.  Here's the documentation:

http://developer.gnome.org/doc/API/2.0/glib/glib-Hash-Tables.html#g-hash-table-remove-all

Ummm, I think that we still require that all code work
under gtk-2.4, so g_hash_table_remove_all should not be used
anywhere.

I'm sure it's an oversight by whoever used it, so no hard feelings.  I
suppose most developers use much more up-to-date boxen than I do.
Catching stuff like this is one reason I use old boxen.  So, whoever
used it, I'd be very happy if you would find an equivalent  gtk-2.4
compliant way to accomplish your goal.  :-)

Thanks!  And thanks also for doing all the great work in the meantime!

Stuart






More information about the geda-dev mailing list