[Rhythmbox-devel] Compile error on FC5 with GCC 4.1



Hey all,

I hope this is the right place for this... I didn't know whether or not to file a bug or not.

I am getting a compile error on a freshly installed Fedora Core 5 machine.  Default compiler is GCC 4.1.
[daikerj localhost ~]$ gcc --version
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
Copyright (C) 2006 Free Software Foundation, Inc.

Anyway, here is the error.  I don't know what else to include to help you guys out...

Making all in rhythmdb
make[2]: Entering directory `/builds/rhythmbox/rhythmdb'
make  all-am
make[3]: Entering directory `/builds/rhythmbox/rhythmdb'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DG_LOG_DOMAIN=\"RhythmDB\" -I.. -I../lib -I../metadata  -DORBIT2=1 -pthread -I/usr/include/gtk- 2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas- 2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo- 2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -I/usr/include/libxml2      -g -O2 -Wcomment -Wformat -Wnonnull -Wimplicit-int -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused-function -Wunused-label -Wunused-value -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wall -Werror -std=gnu89 -MT rb-refstring.lo -MD -MP -MF ".deps/rb-refstring.Tpo" \
  -c -o rb-refstring.lo `test -f 'rb-refstring.c' || echo './'`rb-refstring.c; \then mv -f ".deps/rb-refstring.Tpo" ".deps/rb-refstring.Plo "; \
else rm -f ".deps/rb-refstring.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\"/usr/share/locale\" -DG_LOG_DOMAIN=\"RhythmDB\" -I.. -I../lib -I../metadata -DORBIT2=1 -pthread -I/usr/include/gtk- 2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas- 2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo- 2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib- 2.0/include -I/usr/include/libxml2 -g -O2 -Wcomment -Wformat -Wnonnull -Wimplicit-int -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wsequence-point -Wreturn-type -Wswitch -Wtrigraphs -Wunused-function -Wunused-label -Wunused-value -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wall -Werror -std=gnu89 -MT rb-refstring.lo -MD -MP -MF .deps/rb-refstring.Tpo -c rb-refstring.c  -fPIC -DPIC -o .libs/rb-refstring.o
cc1: warnings being treated as errors
rb-refstring.c: In function 'rb_refstring_get_folded':
rb-refstring.c :139: warning: dereferencing type-punned pointer will break strict-aliasing rules
rb-refstring.c: In function 'rb_refstring_get_sort_key':
rb-refstring.c:166: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [rb-refstring.lo] Error 1
make[3]: Leaving directory `/builds/rhythmbox/rhythmdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/builds/rhythmbox/rhythmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builds/rhythmbox'
make: *** [all] Error 2

Hope I didn't paste too much, lol.

John Daiker
daikerjohn gmail com





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