Re: [Dbus-cxx-users] Cross compiling dbus-cxx for ARM
Status: Beta
Brought to you by:
rvinyard
From: Rick L. V. Jr. <rvi...@cs...> - 2009-09-28 14:35:38
|
chandraiah gobburu wrote: > Hello, > > I am trying to compile dbus-cxx-0.4.2 for ARM. I have cross compiled > libsigc++-2.2.0. I have also compiled boost_1.40.2 for ARM. > > I am getting the following error when I executed make command. > > connection.cpp:145: error: invalid use of incomplete type 'struct > boost::weak_ptr<DBus::Connection>' > /usr/sol/include/boost/smart_ptr/shared_ptr.hpp:62: error: declaration of > 'struct boost::weak_ptr<DBus::Connection>' > connection.cpp: In static member function 'static > boost::shared_ptr<DBus::Connection> > DBus::Connection::self(DBusConnection*)': This looks like one of the boost library header includes is missing in pointer.h. I noticed that the #include for weak_ptr.hpp is commented out, but I don't remember why since I haven't used the boost libraries in a very long time. You might try uncommenting that line (or adjusting it as necessary) to ensure that weak pointers are included. Once that part is fixed the rest may fall in line. |