when I try to compile synce-kde I get the following errors: emerge synce-kde Calculating dependencies ...done! >>> emerge (1 of 1) app-pda/synce-kde-0.6.1 to / >>> md5 src_uri ;-) synce-kde-0.6.1.tar.gz >>> Unpacking source... >>> Unpacking synce-kde-0.6.1.tar.gz to /var/tmp/portage/synce-kde-0.6.1/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -frepo... yes not using lib directory suffix checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking if gcc static flag works... no checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for char... yes checking size of char... 1 checking for dlopen in -ldl... yes checking for shl_unload in -ldld... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for Xinerama... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt checking if Qt compiles without flags... no checking for moc... /usr/qt/3/bin/moc checking for uic... /usr/qt/3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /usr/kde/3.2/lib, headers /usr/kde/3.2/include checking for KDE paths... defaults checking for dcopidl... /usr/kde/3.2/bin/dcopidl checking for dcopidl2cpp... /usr/kde/3.2/bin/dcopidl2cpp checking for mcopidl... /usr/kde/3.2/bin/mcopidl checking for artsc-config... /usr/kde/3.2/bin/artsc-config checking for kde-config... /usr/kde/3.2/bin/kde-config checking for meinproc... /usr/kde/3.2/bin/meinproc checking whether byte ordering is bigendian... no checking for MAXPATHLEN... 4096 checking for main in -lsynce... yes checking synce.h usability... yes checking synce.h presence... yes checking for synce.h... yes checking for CeRapiInit in -lrapi... yes checking rapi.h usability... yes checking rapi.h presence... yes checking for rapi.h... yes checking for rra_new in -lrra... yes checking librra.h usability... yes checking librra.h presence... yes checking for librra.h... yes checking if AvantGo synchronization is wanted... no checking if malloc debugging is wanted... no checking if doc should be compiled... yes checking if icons should be compiled... yes checking if po should be compiled... yes checking if raki should be compiled... yes checking if rapip should be compiled... yes checking if sounds should be compiled... yes checking if vdccm should be compiled... yes configure: creating ./config.status fast creating Makefile fast creating doc/Makefile fast creating doc/en/Makefile fast creating icons/Makefile fast creating po/Makefile fast creating raki/Makefile fast creating raki/interfaces/Makefile fast creating raki/plugins/Makefile fast creating raki/plugins/agsync/Makefile fast creating raki/plugins/kdeaddressbooksync/Makefile fast creating rapip/Makefile fast creating sounds/Makefile fast creating vdccm/Makefile config.status: creating config.h config.status: executing depfiles commands Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1' Making all in doc make[2]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc' Making all in . make[3]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc' Making all in en make[3]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc/en' /usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook make[3]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc/en' make[2]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/doc' Making all in icons make[2]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/icons' Making all in . make[3]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/icons' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/icons' make[2]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/icons' Making all in po make[2]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/po' Making all in raki make[2]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki' Making all in plugins make[3]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins' Making all in agsync make[4]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins/agsync' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins/agsync' Making all in kdeaddressbooksync make[4]: Entering directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins/kdeaddressbooksync' /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../raki -I../../../raki/interfaces -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fno-exceptions -fno-check-new -c -o kdeaddressbooksyncfactory.lo `test -f 'kdeaddressbooksyncfactory.cpp' || echo './'`kdeaddressbooksyncfactory.cpp /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../raki -I../../../raki/interfaces -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fno-exceptions -fno-check-new -c -o kdeaddressbooksync.lo `test -f 'kdeaddressbooksync.cpp' || echo './'`kdeaddressbooksync.cpp /usr/qt/3/bin/moc ./kdeaddressbooksync.h -o kdeaddressbooksync.moc.cpp /usr/qt/3/bin/moc ./kdeaddressbooksyncfactory.h -o kdeaddressbooksyncfactory.moc.cpp /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../raki -I../../../raki/interfaces -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fno-exceptions -fno-check-new -c -o kdeaddressbooksync.moc.lo `test -f 'kdeaddressbooksync.moc.cpp' || echo './'`kdeaddressbooksync.moc.cpp kdeaddressbooksync.cpp: In member function `virtual bool KdeAddressBookSync::sync()': kdeaddressbooksync.cpp:343: error: no matching function for call to ` KABC::ResourceFile::ResourceFile(KABC::AddressBook*&, QCString)' /usr/kde/3.2/include/kabc/resourcefile.h:49: error: candidates are: KABC::ResourceFile::ResourceFile(const KABC::ResourceFile&) /usr/kde/3.2/include/kabc/resourcefile.h:63: error: KABC::ResourceFile::ResourceFile(const QString&, const QString&) /usr/kde/3.2/include/kabc/resourcefile.h:58: error: KABC::ResourceFile::ResourceFile(const KConfig*) kdeaddressbooksync.cpp:450: warning: `save' is deprecated (declared at /usr/kde/3.2/include/kabc/stdaddressbook.h:86) make[4]: *** [kdeaddressbooksync.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins/kdeaddressbooksync' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1/raki' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/synce-kde-0.6.1/work/synce-kde-0.6.1' make: *** [all] Error 2 !!! ERROR: app-pda/synce-kde-0.6.1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make I am using the standard CFLAGS, but am running ACCEPT_KEYWORDS="~x86" Reproducible: Always Steps to Reproduce: 1. emerge synce-kde 2. 3. Actual Results: compilation fails Expected Results: compilation should succeed ;-)
Could it be that this application is not compatible with kde-3.2?
I too have found this bug. I am running KDE 3.2. Looking at the SF.net site for this package it appears that version 0.7 support KDE 3.2.
I have the same problem and am running KDE 3.2. Versoin 0.7 of synce-kde now supports KDE 3.2.
Version 0.7.2 is available since end of March, therefore closing this Bug as reportedly the compile error is fixed with this. Also Bug 53813 handles the request to update to the latest 0.7.3.