! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Current svn version doesn't compile
Status:
CLOSED: FIXED
Severity:
critical

Comments

Description Jan Rathmann 2007-01-08 13:09:06 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.0.8) Gecko/20061109 SeaMonkey/1.0.6
Build Identifier: 

When I try to compile the current svn version of libexo, the build process cancels with the following error message:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_API_SUBJECT_TO_CHANGE -DEXO_API_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN=\"exo-hal\" -DPACKAGE_LOCALE_DIR=\"/usr/local//share/locale\" -DHAVE_GNUC_VISIBILITY -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -g -O2 -Wall -Werror -DG_ENABLE_DEBUG -O0 -g3 -MT libexo_hal_0_3_la-exo-hal.lo -MD -MP -MF .deps/libexo_hal_0_3_la-exo-hal.Tpo -c exo-hal.c  -fPIC -DPIC -o .libs/libexo_hal_0_3_la-exo-hal.o
exo-hal.c: In function 'exo_hal_drive_compute_display_name':
exo-hal.c:313: error: 'LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRWDL' undeclared (first use in this function)
exo-hal.c:313: error: (Each undeclared identifier is reported only once
exo-hal.c:313: error: for each function it appears in.)
cc1: warnings being treated as errors
exo-hal.c: In function 'exo_hal_volume_compute_display_name':
exo-hal.c:697: warning: format '%lld' expects type 'long long int', but argument 2 has type 'guint64'
make[2]: *** [libexo_hal_0_3_la-exo-hal.lo] Fehler 1
make[2]: Verlasse Verzeichnis '/home/jan/Temp/libexo/exo-hal'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/jan/Temp/libexo'
make: *** [all] Fehler 2

The packages libhal-dev and libhal-storage-dev (I guess that they are needed) are installed on my system. I'm using Ubuntu Edgy AMD64-

Reproducible: Always

Steps to Reproduce:
Comment 1 Benedikt Meurer editbugs 2007-01-08 16:20:25 CET
Created attachment 932 
Possible fix

Try this patch (you need to rerun autogen.sh after applying it).
Comment 2 Jan Rathmann 2007-01-08 16:29:13 CET
Now it works again :-)
Comment 3 Benedikt Meurer editbugs 2007-01-08 16:44:54 CET
Committed with revision 24315.

2007-01-08	Benedikt Meurer <benny@xfce.org>

	* configure.in.in, exo-hal/exo-hal.c: Fix build with older HAL
	  versions. Fix build on amd64. Bug #2725.

Bug #2725

Reported by:
Jan Rathmann
Reported on: 2007-01-08
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
0.3.1.13svn

Attachments

Possible fix (2.08 KB, patch)
2007-01-08 16:20 CET , Benedikt Meurer
no flags

Additional information