Re: [Rhythmbox-devel] compilation error with 0.8.6 in new iPod code



On Sun, 2004-09-19 at 02:36 +0200, Stéphane LOEUILLET wrote:
> hello,
> 
> i already pasted it in IRC on #gstreamer as teuf was there but it looks
> like he was away/idle.
> 
> so, here it is :
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\"/usr/share/locale\"
> -DG_LOG_DOMAIN=\"Rhythmbox\" -I.. -I../lib -I../lib -I../corba -
> I../corba -I../rhythmdb -I../widgets -I../library -I../iradio -I../shell
> -DPIXMAP_DIR=\"/usr/share/pixmaps\" -DSHARE_DIR=\"/usr/share/rhythmbox\"
> -DDATADIR=\"/usr/share\" -O0 -ggdb -DXTHREADS -D_REENTRANT -
> DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -
> I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -
> I/usr/include/pango-1.0 -I/usr/include/freetype2 -
> I/usr/include/freetype2/config -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/orbit-2.0 -
> I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -
> I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -
> I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-
> vfs-module-2.0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -
> DORBIT2=1 -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 -
> I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2
> -I/usr/include/orbit-2.0 -I/usr/X11R6/include -O0 -ggdb -MT rb-ipod-
> source.lo -MD -MP -MF .deps/rb-ipod-source.Tpo -c rb-ipod-source.c  -
> fPIC -DPIC -o .libs/rb-ipod-source.o
> rb-ipod-source.c: In function `load_ipod_db_idle_cb':
> rb-ipod-source.c:241: error: `db' undeclared (first use in this
> function)
> rb-ipod-source.c:241: error: (Each undeclared identifier is reported
> only once
> rb-ipod-source.c:241: error: for each function it appears in.)
> 
> 
> gcc 3.4.2, gstreamer core+plugins+ffmpeg CVS up to date, gnome 2.8.0
> rhythmbox 0.8.6
> 
> compiled with :
> CFLAGS="-O0 -g -Wall -Werror" 
> 
> note that 0.8.5 compiled fine with the very same CFLAGS
> 
> that's all folks, continue improving this beast
> 

Line 241 should read

rhythmdb_entry_set (RHYTHMDB (ctxt->db), entry, 

I'd make a patch, but I don't know how and its such an easy fix it seems
like a waste.


-- 
-charlie



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