http://bugs.meego.com/show_bug.cgi?id=6367

           Summary: 1.0.1 fails to build without libsoup (I think)
    Classification: MeeGo Projects
           Product: SyncEvolution
           Version: unspecified
          Platform: All
      Architecture: ---
            Status: NEW
          Severity: normal
          Priority: Undecided
         Component: SyncEvolution
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected],
                    [email protected]
   Estimated Hours: 0.0


Hi folks,

I've been having a build failure compiling 1.0.1 on an i386 Debian stable
system. The (first) error was "invalid use of undefined type TransportAgent" or
something similar in syncevo-dbus-server.cpp (I forgot to copy the full error,
sorry). My analysis is that the file TransportAgent.h is not included in
syncevo-dbus-server.cpp, while it does define a subclass of TransportAgent.
syncevo-dbus-server.cpp does include SoupTransportAgent.h, which includes
TransportAgent.h (but only when libsoup is enabled). Thus I suspect that this
build failure only happens when building with libsoup disabled.

Here's a trivial patch that fixed compilation for me:

Index: syncevolution-1.0.1+ds1/src/syncevo-dbus-server.cpp
===================================================================
--- syncevolution-1.0.1+ds1.orig/src/syncevo-dbus-server.cpp    2010-09-07
10:23:29.000000000 +0200
+++ syncevolution-1.0.1+ds1/src/syncevo-dbus-server.cpp 2010-09-07
10:24:06.000000000 +0200
@@ -27,6 +27,7 @@
 #include <syncevo/LogRedirect.h>
 #include <syncevo/util.h>
 #include <syncevo/SyncContext.h>
+#include <syncevo/TransportAgent.h>
 #include <syncevo/SoupTransportAgent.h>
 #include <syncevo/SyncSource.h>
 #include <syncevo/SyncML.h>

-- 
Configure bugmail: http://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to