ports/109253: Amarok 1.4.5 doesn't compile when configured with MTP option
ggg_mail at inbox.ru
Sat Feb 17 09:00:12 UTC 2007
>Synopsis: Amarok 1.4.5 doesn't compile when configured with MTP option
>Arrival-Date: Sat Feb 17 09:00:11 GMT 2007
>Originator: Rechistov Grigory
FreeBSD ipv82-180.rt.private.mipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #3: Thu Jan 25 15:50:36 MSK 2007 GGG at ipv82-180.rt.private.mipt.ru:/usr/obj/usr/src/sys/DELL_v4 i386
The recent version of amarok (1.4.5) produces an error when compiling if it was configured to support MTP mediadevices (first lines of output of make):
In file included from mtpmediadevice.cpp:28:
mtpmediadevice.h:78: error: expected `)' before '*' token
mtpmediadevice.h:188: error: ISO C++ forbids declaration of `LIBMTP_album_t' with no type
As I suppose, this is due to very old version of libmtp in ports collection - 0.0.21, when the current version is 0.1.3.
My attempt to compile libmtp 0.1.x from sources was also unsuccesful
albumart.c: In function `main':
albumart.c:96: error: `LIBMTP_filesampledata_t' undeclared (first use in this function)
It's strange, because LIBMTP_filesampledata_t is defined in sources but I haven't yet figured out why there is an error.
So MTP support is broken at present.
# cd /usr/ports/audio/amarok
# make rmconfig
# make config
Enable MTP support
A compile error happens.
More information about the freebsd-ports-bugs