On Wed, 2005-04-13 at 14:52 -0400, Damian Christey wrote: > On Wed, 2005-04-13 at 09:18 +0200, Oliver Lemke wrote: > > On Tue, 2005-04-12 at 19:44 -0400, christey csee wvu edu wrote: > > > I'm trying to compile the latest sources from the rhythmbox--merge--0.9 > > > arch branch at olemke core-dump info--2005 on Fedora Rawhide. It keeps > > > dying with: > > > > > > cc1: warnings being treated as errors > > > rb-debug.c: In function 'rb_profiler_dump': > > > rb-debug.c:197: warning: pointer targets in passing argument 2 of > > > 'g_timer_elapsed' differ in signedness > > > make[3]: *** [rb-debug.lo] Error 1 > > > make[3]: Leaving directory `/home/daemonic/arch/rhythmbox-0.8.99merge/lib' > > > make[2]: *** [all] Error 2 > > > make[2]: Leaving directory `/home/daemonic/arch/rhythmbox-0.8.99merge/lib' > > > make[1]: *** [all-recursive] Error 1 > > > make[1]: Leaving directory `/home/daemonic/arch/rhythmbox-0.8.99merge' > > > make: *** [all] Error 2 > > > > > > Am I doing something dumb? Or the only one using gcc 4? > > > > For now, pass --disable-more-warnings to configure/autogen.sh. > > > Thank you, your gcc-fu is much stronger than mine. I got a little > farther, but alas it now dies with a bunch of undefined references: > > ../widgets/.libs/librbwidgets.a(rhythmdb.o)(.text+0x61): In function > `rhythmdb_entry_get_string': That's because of a change in glib 2.6.4. Apply the attached patch and it should be fine. -- so long, oliver Public GPG Key: http://www.core-dump.info/olemke-public.asc Fingerprint: 2389 0B2C 1AA8 4E3E D5AD 3B72 00DB ABDC 73ED C558
--- orig/rhythmdb/rb-refstring.c +++ mod/rhythmdb/rb-refstring.c @@ -19,6 +19,8 @@ * */ +#define G_IMPLEMENT_INLINES 1 + #include <config.h> #include <glib.h> @@ -26,10 +28,8 @@ GHashTable *rb_refstrings; -#define G_IMPLEMENT_INLINES 1 #define __RB_REFSTRING_C__ #include "rb-refstring.h" -#undef G_IMPLEMENT_INLINES static void rb_refstring_free (RBRefString *refstr)
Attachment:
signature.asc
Description: This is a digitally signed message part