Am Sonntag, den 05.02.2012, 11:17 +0100 schrieb Patrick Ohly:
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.
Is there already a bug report for Ubuntu? There seem to be some issues
with bluetooth and I had the impression that some people are at least
looking into that. So it might be good to make them look into this issue
as well.
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.