On Sun, 2012-02-05 at 15:33 +0530, Rohan Garg wrote:
> Hi
> I tried to build SyncEvolution master on the current development
> version of Ubuntu and met with some compile errors as follows :
> 
> In file included from /usr/include/bluetooth/sdp.h:35:0,
>                  from ../syncevolution/src/syncevo/eds_abi_wrapper.h:67,
>                  from ../syncevolution/src/syncevo/SmartPtr.h:27,
>                  from ../syncevolution/src/syncevo/SoupTransportAgent.h:28,
>                  from ../syncevolution/src/syncevo/SoupTransportAgent.cpp:20:
> /usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_le64(void*)':
> /usr/include/bluetooth/bluetooth.h:131:9: error: invalid conversion
> from 'void*' to 'bt_get_le64(void*)::<anonymous struct>*'
> [-fpermissive]

This is a known bug in the new bluez header files:
http://thread.gmane.org/gmane.linux.bluez.kernel/20364

> Any pointers on how to fix the build would be appreciated since I'm
> not quite familiar with SyncEvolution internals.

There's no workaround in SyncEvolution. My hope still is that distros
will patch the Bluez header files.

If that hope turns out to be futile, then the easiest workaround might
be to copy the bluetooth.h header file at compile time before using it
and patching it locally - certainly not nice.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.


_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to