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]
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_be64(void*)':
/usr/include/bluetooth/bluetooth.h:136:9: error: invalid conversion
from 'void*' to 'bt_get_be64(void*)::<anonymous struct>*'
[-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_le32(void*)':
/usr/include/bluetooth/bluetooth.h:141:9: error: invalid conversion
from 'void*' to 'bt_get_le32(void*)::<anonymous struct>*'
[-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_be32(void*)':
/usr/include/bluetooth/bluetooth.h:146:9: error: invalid conversion
from 'void*' to 'bt_get_be32(void*)::<anonymous struct>*'
[-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_le16(void*)':
/usr/include/bluetooth/bluetooth.h:151:9: error: invalid conversion
from 'void*' to 'bt_get_le16(void*)::<anonymous struct>*'
[-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_be16(void*)':
/usr/include/bluetooth/bluetooth.h:156:9: error: invalid conversion
from 'void*' to 'bt_get_be16(void*)::<anonymous struct>*'
[-fpermissive]
mv -f src/syncevo/.deps/src_syncevo_libsyncevolution_la-CurlTransportAgent.Tpo
src/syncevo/.deps/src_syncevo_libsyncevolution_la-CurlTransportAgent.Plo
make[2]: *** [src/syncevo/src_syncevo_libsyncevolution_la-SoupTransportAgent.lo]
Error 1
mv -f src/syncevo/.deps/src_syncevo_libsyncevolution_la-SyncML.Tpo
src/syncevo/.deps/src_syncevo_libsyncevolution_la-SyncML.Plo
make[2]: Leaving directory `/home/shadeslayer/GSoC/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shadeslayer/GSoC/build'
make: *** [all] Error 2
I've also attached the entire build log for more info. The command
used to configure the build was : ../syncevolution/configure
--prefix=$PWD/../dist --with-synthesis-src=../libsynthesis/
--disable-shared --enable-developer-mode --disable-ebook
--disable-ecal --enable-dbus-service --enable-akonadi --enable-kwallet
--disable-notify
Any pointers on how to fix the build would be appreciated since I'm
not quite familiar with SyncEvolution internals.
Best
Rohan Garg