After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348068 - Banshee won't compile
Banshee won't compile
Status: RESOLVED DUPLICATE of bug 346501
Product: banshee
Classification: Other
Component: general
0.10.10
Other Linux
: Normal blocker
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-20 00:48 UTC by Eion Robb
Modified: 2006-07-20 01:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Eion Robb 2006-07-20 00:48:34 UTC
Hi there,

I'm trying to compile Banshee but it dies during compiling of glue.c in regards to Nautilus functions.

I'm running Nautilus 2.15.4 from bmg gentoo builds.

The relevent information is as follows:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-avahi --disable-xing --disable-helix --disable-docs --with-gstreamer-0-10 --disable-ipod --disable-njb --disable-gtk-doc --build=i686-pc-linux-gnu

glue.c: In function 'nautilus_burn_glue_drive_get_max_read_speed':
glue.c:44: error: 'NautilusBurnDrive' has no member named 'max_speed_read'
glue.c: In function 'nautilus_burn_glue_drive_get_max_write_speed':
glue.c:50: error: 'NautilusBurnDrive' has no member named 'max_speed_write'
glue.c: In function 'nautilus_burn_glue_drive_get_device':
glue.c:56: error: 'NautilusBurnDrive' has no member named 'device'
distcc[31848] ERROR: compile glue.c on localhost failed
make[1]: *** [glue.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/banshee-0.10.10-r4/work/banshee-0.10.10/burn-sharp'
make: *** [install-recursive] Error 1
Comment 1 Eion Robb 2006-07-20 01:01:21 UTC
Looking through the source, glue.c tries to reference an invalid part of the NautilusBurnDrive struct.
eg
NautilusBurnDrive.cdrecord_id
NautilusBurnDrive.type
NautilusBurnDrive.display_name
NautilusBurnDrive.max_speed_read
NautilusBurnDrive.max_speed_write
NautilusBurnDrive.device

nautilus-burn-drive.h defines NautilusBurnDrive as

struct NautilusBurnDrive {
	GObject                  parent;

	NautilusBurnDrivePrivate *priv;
};
However, I can't find reference to the NautilusBurnDrivePrivate struct defintion (I'm probably blind)



Also, the full compile error is: (I just missed a bit)
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/libnautilus-burn -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/hal -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/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=athlon-xp -O3 -pipe -MT glue.lo -MD -MP -MF .deps/glue.Tpo -c glue.c  -fPIC -DPIC -o .libs/glue.o
glue.c: In function 'nautilus_burn_glue_drive_get_id':
glue.c:26: error: 'NautilusBurnDrive' has no member named 'cdrecord_id'
glue.c: In function 'nautilus_burn_glue_drive_get_type':
glue.c:32: error: 'NautilusBurnDrive' has no member named 'type'
glue.c: In function 'nautilus_burn_glue_drive_get_display_name':
glue.c:38: error: 'NautilusBurnDrive' has no member named 'display_name'
glue.c: In function 'nautilus_burn_glue_drive_get_max_read_speed':
glue.c:44: error: 'NautilusBurnDrive' has no member named 'max_speed_read'
glue.c: In function 'nautilus_burn_glue_drive_get_max_write_speed':
glue.c:50: error: 'NautilusBurnDrive' has no member named 'max_speed_write'
glue.c: In function 'nautilus_burn_glue_drive_get_device':
glue.c:56: error: 'NautilusBurnDrive' has no member named 'device'
Comment 2 Eion Robb 2006-07-20 01:08:19 UTC

*** This bug has been marked as a duplicate of 346501 ***