[Dbus-cxx-users] compile problem
Status: Beta
Brought to you by:
rvinyard
|
From: Daren S. W. <da...@da...> - 2010-06-16 17:59:48
|
I'm trying to compile dbus-cxx but get a compile error. Configure ran
okay, at least I saw no errors, and it made a Makefile.
Using gcc 4.5.0, on 64-bit Arch Linux. AFIK, I have all dependencies
and tools, libs etc are reasonably up to date. My hunch is either I
need to feed ./configure some magic cookie, or there's some other dbus
binding installed with an interfering header file.
make all-am
make[3]: Entering directory `/usr/local/src/dbus-cxx-0.7.0/dbus-cxx'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I.. -I../. -I../. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -g -O2 -MT
callmessage.lo -MD -MP -MF .deps/callmessage.Tpo -c -o callmessage.lo
callmessage.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../. -I../.
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -g -O2 -MT
callmessage.lo -MD -MP -MF .deps/callmessage.Tpo -c callmessage.cpp
-fPIC -DPIC -o .libs/callmessage.o
In file included from ../dbus-cxx/types.h:26:0,
from ../dbus-cxx/messageiterator.h:21,
from ../dbus-cxx/message.h:26,
from callmessage.h:19,
from callmessage.cpp:19:
../dbus-cxx/signature.h:90:33: error: 'DBus::signature' declared as an
'inline' variable
../dbus-cxx/signature.h:90:33: error: 'uint8_t' was not declared in this
scope
...
Dozens of errors follow... It attempts to compile other files, and
every one gives errors. A typical one:
../dbus-cxx/messageiterator.h:224:16: error: expected type-specifier
before 'uint8_t'
--
Daren Scot Wilson
Orlando FL
|