From kde-devel Fri Jul 28 01:07:25 2006 From: "Yang Sheng" Date: Fri, 28 Jul 2006 01:07:25 +0000 To: kde-devel Subject: Problem when compiling kdepim from svn Message-Id: X-MARC-Message: https://marc.info/?l=kde-devel&m=115404886429105 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0760109052==" --===============0760109052== Content-Type: multipart/alternative; boundary="----=_Part_250853_22277843.1154048845514" ------=_Part_250853_22277843.1154048845514 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I am trying to build kde4 for knote development. The qt-copy, kdelibs and kdepim-libs have been built successful. But when I try to compile kdepim, the problem begins. At first, cmake reports some destinations weren't defined. I found variable $AUTOSTART_INSTALL_DIR was not defined, so I define it manually to /opt/kde- 4.0/autostart (kde4 at /opt/kde-4.0 and qt at /opt/qt-4.2). Then cmake completed Makefile, but make reports at beginning: Linking CXX executable kode /usr/bin/ld: warning: libkdecore.so.4, needed by /usr/bin/../lib/libvcard.so.0, may conflict with libkdecore.so.5 /usr/bin/ld: warning: libkdecore.so.4, needed by /usr/bin/../lib/libvcard.so.0, may conflict with libkdecore.so.5 CMakeFiles/kode_bin.dir/kodemain.o: In function `create(KCmdLineArgs*)': /home/kde4/development/KDE/kdepim/kode/kodemain.cpp:373: undefined reference to `KABC::AddressBook::findByEmail(QString const&) const' collect2: ld returned 1 exit status make[2]: *** [kode/kode] Error 1 make[1]: *** [kode/CMakeFiles/kode_bin.dir/all] Error 2 make: *** [all] Error 2 It seems like some librareis were not contained. But I don't know how to deal with it. Please help. Thanks. -- regards, Yang Sheng ------=_Part_250853_22277843.1154048845514 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi

I am trying to build kde4 for knote development. The qt-copy, kdelibs and kdepim-libs have been built successful.

But when I try to compile kdepim, the problem begins.

At first, cmake reports some destinations weren't defined. I found variable $AUTOSTART_INSTALL_DIR was not defined, so I define it manually to /opt/kde- 4.0/autostart (kde4 at /opt/kde-4.0 and qt at /opt/qt-4.2). Then cmake completed Makefile, but make reports at beginning:

Linking CXX executable kode
/usr/bin/ld: warning: libkdecore.so.4, needed by /usr/bin/../lib/libvcard.so.0, may conflict with libkdecore.so.5
/usr/bin/ld: warning: libkdecore.so.4, needed by /usr/bin/../lib/libvcard.so.0, may conflict with libkdecore.so.5
CMakeFiles/kode_bin.dir
/kodemain.o: In function `create(KCmdLineArgs*)':
/home/kde4/development/KDE/kdepim/kode/kodemain.cpp:373: undefined reference to `KABC::AddressBook::findByEmail(QString const&) const'
collect2: ld returned 1 exit status
make[2]: *** [kode/kode] Error 1
make[1]: *** [kode/CMakeFiles/kode_bin.dir/all] Error 2
make: *** [all] Error 2

It seems like some librareis were not contained. But I don't know how to deal with it.

Please help.

Thanks.

--
regards,
Yang Sheng
------=_Part_250853_22277843.1154048845514-- --===============0760109052== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0760109052==--