Compile error in ktrm.cpp

Sagara Wijetunga sagaralists2 at yahoo.com
Thu May 5 14:16:06 BST 2005


Hi all

Following compilation error develops in
kdemultimedia-3.4.0:

ktrm.cpp: In member function `int
KTRMRequestHandler::startLookup(KTRMLookup*)':
/usr/include/tunepimp/tp_c.h:636: error: too few
arguments to function `int tp_AddFile(void*, const
char*, int)'
ktrm.cpp:67: error: at this point in file
ktrm.cpp: In constructor
`KTRMRequestHandler::KTRMRequestHandler()':
ktrm.cpp:122: error: invalid conversion from `void
(*)(void*, void*, TPCallbackEnum, int)' to `void
(*)(void*, void*, TPCallbackEnum, int, TPFileStatus)'
ktrm.cpp:122: error:   initializing argument 2 of
`void tp_SetNotifyCallback(void*, void (*)(void*,
void*, TPCallbackEnum, int, TPFileStatus), void*)'
ktrm.cpp: In member function `virtual void
KTRMLookup::collision()':
ktrm.cpp:461: error: base operand of `->' has
non-pointer type `artistresult_t'
ktrm.cpp:462: error: base operand of `->' has
non-pointer type `albumresult_t'
ktrm.cpp:464: error: base operand of `->' has
non-pointer type `albumresult_t'
make[3]: *** [ktrm.o] Error 1
make[3]: Leaving directory
`/usr/src/kde/kdemultimedia-3.4.0/juk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/kde/kdemultimedia-3.4.0/juk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/kde/kdemultimedia-3.4.0'
make: *** [all] Error 2

I'm using current CVS version of libtunepimp (0.3.0+)
where the tp_AddFile is defined in
/usr/include/tunepimp/tp_c.h as follows:

int  tp_AddFile  (tunepimp_t o, const char *fileName,
int readMetadataNow);

The same issue was mentioned in Bug 94988. This bug is
now closed without any comment on how they closed it!

Appreciate any comment on this. 

Kind regards
Sagara


		
__________________________________ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 



More information about the kde-multimedia mailing list