This forum has been archived. All content is frozen. Please use KDE Discuss instead.

building amarok-1.4.2 and latest svn with mtp support fails with gcc-3.3.6

Tags: None
(comma "," separated)
thac
Registered Member
Posts
1
Karma
0
it fails with this i hav tested with libmtp 0.0.10 0.0.11 and 0.0.12
also tried ti build with latest svn with same result

if /bin/sh ../../../../libtool --silent --tag=CXX --mode=compile i586-mandrake-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../amarok/src -I../../../../amarok/src -I../../../../amarok/src/amarokcore -I../../../../amarok/src/amarokcore -I../../../../amarok/src/engine -I../../../../amarok/src/engine -I../../../../amarok/src/mediadevice -I/usr/include/taglib -I/usr/lib/qt3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=i586 -mcpu=pentiumpro -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT mtpmediadevice.lo -MD -MP -MF ".deps/mtpmediadevice.Tpo" -c -o mtpmediadevice.lo mtpmediadevice.cpp; \
then mv -f ".deps/mtpmediadevice.Tpo" ".deps/mtpmediadevice.Plo"; else rm -f ".deps/mtpmediadevice.Tpo"; exit 1; fi
In file included from mtpmediadevice.h:33,
                from mtpmediadevice.cpp:28:
/usr/include/libmtp.h:274: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:276: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:279: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:282: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:293: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:295: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:299: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
/usr/include/libmtp.h:303: error: `const' qualifiers cannot be applied to `int ()(long long unsigned int, long long unsigned int, const void*)'
mtpmediadevice.cpp: In member function `virtual bool MtpMediaDevice::openDevice(bool)':
mtpmediadevice.cpp:637: error: `LIBMTP_Get_Ownername' undeclared (first use this function)
mtpmediadevice.cpp:637: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[5]: *** [mtpmediadevice.lo] Error 1
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
try checking out again - I believe this has been fixed very recently


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]