can not compile dbus-glib-0.71 please help
gustav at cointech.net
gustav at cointech.net
Tue Sep 26 09:46:56 PDT 2006
Hello
I try to compile dbus-glib-0.71 on Slackware-current (kernel 2.4.32). make
prints this:
# make
make all-recursive
make[1]: Entering directory `/root/src/dbus-glib-0.71'
Making all in dbus
make[2]: Entering directory `/root/src/dbus-glib-0.71/dbus'
/bin/sh ../libtool --mode=execute ./make-dbus-glib-error-switch.sh
/dbus-1.0/dbus/dbus-protocol.h dbus-glib-error-switch.h
../libtool: line 6823: LC_ALL: command not found
../libtool: line 6823: LC_CTYPE: command not found
../libtool: line 6823: LC_MESSAGES: command not found
./make-dbus-glib-error-enum.sh /dbus-1.0/dbus/dbus-protocol.h
dbus-glib-error-enum.h
make all-recursive
make[3]: Entering directory `/root/src/dbus-glib-0.71/dbus'
Making all in .
make[4]: Entering directory `/root/src/dbus-glib-0.71/dbus'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"/usr/local/share/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-glib.lo
-MD -MP -MF ".deps/dbus-glib.Tpo" -c -o dbus-glib.lo dbus-glib.c; \
then mv -f ".deps/dbus-glib.Tpo" ".deps/dbus-glib.Plo"; else rm -f
".deps/dbus-glib.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -DDBUS_COMPILATION=1
-DDBUS_LOCALEDIR=\"/usr/local/share/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-glib.lo
-MD -MP -MF .deps/dbus-glib.Tpo -c dbus-glib.c -fPIC -DPIC -o
.libs/dbus-glib.o
In file included from dbus-glib.c:25:
dbus-glib.h:28:30: dbus/dbus-shared.h: No such file or directory
In file included from dbus-glib.c:25:
dbus-glib.h:74: error: syntax error before "type"
In file included from dbus-glib.c:26:
dbus-glib-lowlevel.h:28:23: dbus/dbus.h: No such file or directory
In file included from dbus-glib.c:26:
dbus-glib-lowlevel.h:33: error: syntax error before "DBusError"
dbus-glib-lowlevel.h:42: error: syntax error before '*' token
dbus-glib-lowlevel.h:44: error: syntax error before '*' token
dbus-glib-lowlevel.h:48: error: syntax error before "DBusMessage"
dbus-glib-lowlevel.h:51: error: syntax error before '*' token
dbus-glib-lowlevel.h:51: warning: type defaults to `int' in declaration of
`dbus_g_connection_get_connection'
dbus-glib-lowlevel.h:51: warning: data definition has no type or storage
class
dbus-glib-lowlevel.h:52: error: syntax error before '*' token
dbus-glib-lowlevel.h:52: warning: type defaults to `int' in declaration of
`dbus_g_message_get_message'
dbus-glib-lowlevel.h:52: warning: data definition has no type or storage
class
dbus-glib-lowlevel.h:62: error: syntax error before '*' token
dbus-glib-lowlevel.h:62: warning: type defaults to `int' in declaration of
`dbus_g_method_get_reply'
dbus-glib-lowlevel.h:62: warning: data definition has no type or storage
class
dbus-glib-lowlevel.h:65: error: syntax error before "DBusMessage"
In file included from dbus-glib.c:29:
dbus-gobject.h:27:33: dbus/dbus-signature.h: No such file or directory
dbus-glib.c: In function `dbus_g_connection_flush':
dbus-glib.c:49: warning: implicit declaration of function
`dbus_connection_flush'
dbus-glib.c:49: warning: nested extern declaration of
`dbus_connection_flush'
dbus-glib.c:49: error: `DBusConnection' undeclared (first use in this
function)
dbus-glib.c:49: error: (Each undeclared identifier is reported only once
dbus-glib.c:49: error: for each function it appears in.)
dbus-glib.c:49: error: syntax error before ')' token
dbus-glib.c: In function `dbus_g_connection_ref':
dbus-glib.c:61: error: `DBusConnection' undeclared (first use in this
function)
dbus-glib.c:61: error: `c' undeclared (first use in this function)
dbus-glib.c:63: error: syntax error before ')' token
dbus-glib.c:64: warning: implicit declaration of function
`dbus_connection_ref'
dbus-glib.c:64: warning: nested extern declaration of
`dbus_connection_ref'
dbus-glib.c: In function `dbus_g_connection_unref':
dbus-glib.c:77: error: `DBusConnection' undeclared (first use in this
function)
dbus-glib.c:77: error: `c' undeclared (first use in this function)
dbus-glib.c:79: error: syntax error before ')' token
dbus-glib.c:80: warning: implicit declaration of function
`dbus_connection_unref'
dbus-glib.c:80: warning: nested extern declaration of
`dbus_connection_unref'
dbus-glib.c: In function `dbus_g_message_ref':
dbus-glib.c:93: error: `DBusMessage' undeclared (first use in this
function)
dbus-glib.c:93: error: `c' undeclared (first use in this function)
dbus-glib.c:95: error: syntax error before ')' token
dbus-glib.c:96: warning: implicit declaration of function
`dbus_message_ref'
dbus-glib.c:96: warning: nested extern declaration of `dbus_message_ref'
dbus-glib.c: In function `dbus_g_message_unref':
dbus-glib.c:108: error: `DBusMessage' undeclared (first use in this
function)
dbus-glib.c:108: error: `c' undeclared (first use in this function)
dbus-glib.c:110: error: syntax error before ')' token
dbus-glib.c:111: warning: implicit declaration of function
`dbus_message_unref'
dbus-glib.c:111: warning: nested extern declaration of
`dbus_message_unref'
dbus-glib.c: In function `dbus_connection_get_g_type':
dbus-glib.c:189: error: `dbus_connection_ref' undeclared (first use in
this function)
dbus-glib.c:190: error: `dbus_connection_unref' undeclared (first use in
this function)
dbus-glib.c: In function `dbus_message_get_g_type':
dbus-glib.c:207: error: `dbus_message_ref' undeclared (first use in this
function)
dbus-glib.c:208: error: `dbus_message_unref' undeclared (first use in this
function)
dbus-glib.c: At top level:
dbus-glib.c:255: error: syntax error before '*' token
dbus-glib.c:257: warning: return type defaults to `int'
dbus-glib.c: In function `dbus_g_connection_get_connection':
dbus-glib.c:258: error: `DBusConnection' undeclared (first use in this
function)
dbus-glib.c:258: error: syntax error before ')' token
dbus-glib.c: At top level:
dbus-glib.c:267: error: syntax error before '*' token
dbus-glib.c:269: warning: return type defaults to `int'
dbus-glib.c: In function `dbus_g_message_get_message':
dbus-glib.c:270: error: `DBusMessage' undeclared (first use in this
function)
dbus-glib.c:270: error: syntax error before ')' token
make[4]: *** [dbus-glib.lo] Error 1
make[4]: Leaving directory `/root/src/dbus-glib-0.71/dbus'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/src/dbus-glib-0.71/dbus'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/src/dbus-glib-0.71/dbus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/dbus-glib-0.71'
make: *** [all] Error 2
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Rossen Karpuzov - www.cointech.net |
| Confidential Information Technologies |
\___________________________________________________/
More information about the dbus
mailing list