dbus compilation problem
Gergely Buday
gbuday at gmail.com
Mon Jun 20 07:15:19 PDT 2005
Hi,
I'm trying to compile dbus on my ubuntu box with a twist that I'm
using scratchbox. I get the following error message after running
./configure and 'make':
Making all in tools
make[2]: Entering directory `/home/buddy/dbus-0.23.1/tools'
if gcc -DHAVE_CONFIG_H -I. -I/home/buddy/dbus-0.23.1/tools -I..
-I/home/buddy/dbus-0.23.1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/X11R6/include -D_XOPEN_SOURCE=500
-DXTHREADS -DXUSE_MTSAFE_API -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/glib-2.0 -I/usr/lib/glib-2.0/include
-DDBUS_LOCALEDIR=\"/usr/local/@DATADIRNAME@/locale\"
-DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT
dbus-launch.o -MD -MP -MF ".deps/dbus-launch.Tpo" -c -o dbus-launch.o
dbus-launch.c; \
then mv -f ".deps/dbus-launch.Tpo" ".deps/dbus-launch.Po"; else rm -f
".deps/dbus-launch.Tpo"; exit 1; fi
dbus-launch.c: In function `kill_bus_when_session_ends':
dbus-launch.c:323: error: `fd_set' undeclared (first use in this function)
dbus-launch.c:323: error: (Each undeclared identifier is reported only once
dbus-launch.c:323: error: for each function it appears in.)
dbus-launch.c:323: error: parse error before "read_set"
dbus-launch.c:373: warning: implicit declaration of function `FD_ZERO'
dbus-launch.c:373: error: `read_set' undeclared (first use in this function)
dbus-launch.c:374: error: `err_set' undeclared (first use in this function)
dbus-launch.c:378: warning: implicit declaration of function `FD_SET'
dbus-launch.c:388: warning: implicit declaration of function `select'
dbus-launch.c:404: warning: implicit declaration of function `FD_ISSET'
make[2]: *** [dbus-launch.o] Error 1
make[2]: Leaving directory `/home/buddy/dbus-0.23.1/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/buddy/dbus-0.23.1'
make: *** [all] Error 2
Do you have any hint how could I proceed?
Thanks in advance
Best Wishes
- Gergely
More information about the dbus
mailing list