[d-bus 0.21] problem with error message for Qt headers missing, and compiling on gcc296

Maarten Stolte m.stolte at orangenose.com
Sun Apr 4 20:14:09 EST 2004


Hi,

when running configure, the script reports it detects the Qt devel 
package is not installed, where it should report that the kdelibs devel 
package is not installed, since Qt is installed, and it just goes on to 
detect kdelibs headers, but still fails with the Qt message.

Another problem seems to be that on a gcc296 machine (gcc version 2.96 
20000731 (Red Hat Linux 7.2 2.96-121.caos), I get the following error:

make  all-am
make[3]: Entering directory `/root/dbus/S/dbus-0.21/dbus'
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. 
-I..  -DDBUS_COMPILATION  -DDBUS_API_SUBJECT_TO_CHANGE=1   -g -O2 -Wall 
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT 
dbus-message.lo -MD -MP -MF ".deps/dbus-message.Tpo" \
  -c -o dbus-message.lo `test -f 'dbus-message.c' || echo 
'./'`dbus-message.c; \
then mv -f ".deps/dbus-message.Tpo" ".deps/dbus-message.Plo"; \
else rm -f ".deps/dbus-message.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION 
-DDBUS_API_SUBJECT_TO_CHANGE=1 -g -O2 -Wall -Wchar-subscripts 
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs 
-Wpointer-arith -Wcast-align -Wsign-compare -MT dbus-message.lo -MD -MP 
-MF .deps/dbus-message.Tpo -c dbus-message.c  -fPIC -DPIC -o 
.libs/dbus-message.o
dbus-message.c: In function `get_type_alignment':
dbus-message.c:433: warning: `alignment' might be used uninitialized in 
this function
dbus-message.c: In function `dbus_message_append_args_valist':
dbus-message.c:1885: `unsigned char' is promoted to `int' when passed 
through `...'
dbus-message.c:1885: (so you should pass `int' not `unsigned char' to 
`va_arg')
dbus-message.c: In function `load_one_message':
dbus-message.c:5265: warning: unused variable `prev'
make[3]: *** [dbus-message.lo] Error 1
make[3]: Leaving directory `/root/dbus/S/dbus-0.21/dbus'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/dbus/S/dbus-0.21/dbus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dbus/S/dbus-0.21'
make: *** [all] Error 2

Any ideas?

Maarten



More information about the dbus mailing list