trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

kdepim - kcal-caldav build error: ‘caldav_tasks_get_object’ was not declared in this scope

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 05 May 2011 21:55:12 -0500
Tim, Serghei,

   Building kdepim with -DWITH_CALDAV=ON resulted in the following error:

[ 83%] Building CXX object 
kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/reader.cpp.o
cd /home/david/tblds/trinity-kdepim/src/build/kresources/caldav && /usr/bin/c++ 
   -Dkcal_caldav_shared_EXPORTS -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H 
-march=i686 -mtune=generic -O2 -pipe   -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT 
-include tqt.h -fPIC 
-I/home/david/tblds/trinity-kdepim/src/build/kresources/caldav 
-I/home/david/tblds/trinity-kdepim/src/kdepim 
-I/home/david/tblds/trinity-kdepim/src/kdepim/libkdepim -I/opt/trinity/include 
-I/opt/qt/include -I/opt/qt/include/tqt -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/libcaldav-0.6.2   -o 
CMakeFiles/kcal_caldav-shared.dir/reader.cpp.o -c 
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp: In 
member function ‘virtual int KCal::CalDavReader::runTasksJob(runtime_info*)’:
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp:89:100: 
error: ‘caldav_tasks_getall_object’ was not declared in this scope
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp:92:141: 
error: ‘caldav_tasks_get_object’ was not declared in this scope
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp: In 
member function ‘virtual int KCal::CalDavReader::runJournalsJob(runtime_info*)’:
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp:123:106: error: 
‘caldav_tasks_getall_object’ was not declared in this scope
/home/david/tblds/trinity-kdepim/src/kdepim/kresources/caldav/reader.cpp:126:147: error: 
‘caldav_tasks_get_object’ was not declared in this scope
make[2]: *** [kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/reader.cpp.o] 
Error 1
make[2]: Leaving directory `/home/david/tblds/trinity-kdepim/src/build'
make[1]: *** [kresources/caldav/CMakeFiles/kcal_caldav-shared.dir/all] Error 2
make[1]: Leaving directory `/home/david/tblds/trinity-kdepim/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...

Full cmake options:

   cmake ${srcdir}/${_svnmod} \
     -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
     -DCMAKE_VERBOSE_MAKEFILE=ON \
     -DQT_VERSION=3 \
     -DWITH_ARTS=ON \
     -DWITH_BIRTHDAYS=ON \
     -DWITH_CALDAV=ON \
     -DWITH_EGROUPWARE=ON \
     -DWITH_GROUPDAV=ON \
     -DWITH_INDEXLIB=ON \
     -DWITH_PAM=ON \
     -DWITH_SASL=ON \
     -DBUILD_ALL=ON
   make

What to try?

-- 
David C. Rankin, J.D.,P.E.