cant compile teamwork plugin from svn

Andreas Pakulat apaku at gmx.de
Wed Jun 6 20:16:00 UTC 2007


On 06.06.07 21:26:48, Andreas Pakulat wrote:
> On 06.06.07 20:15:46, Sascha Pfau wrote:
> > hello list,
> > 
> > i've tried to compile the new kdevplatform with support for teamwork. sounds 
> > very interesting by the way. but ld aborts with
> > 
> > Linking CXX executable testexec
> > /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libccext2.so: undefined 
> > reference to `gnutls_record_send'
> > /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libccext2.so: undefined 
> > reference to `gnutls_handshake'
> > /usr/lib/gcc/i686-pc-linux-gnu/4.2.0/../../../libccext2.so: undefined 
> > reference to `gnutls_global_deinit'
> > 
> > the cmake module founds commoncpp2, but it seems it doesnt honor -lgnutls 
> > switch in pkgconfig for libccext2.
> 
> It doesn't because thats
> 
> a) not needed on my system (which is where the macro was written)
> b) not the right way to handle libraries with cmake
> 
> A short test program (attached main.cpp and testccpp.pro, can be built
> by running qmake and make) links fine here. Does it link for you too?

Forgot the files, here they are.

Andreas

-- 
Try to have as good a life as you can under the circumstances.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 71 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070606/6cad3075/attachment.cpp>
-------------- next part --------------
######################################################################
# Automatically generated by qmake (2.01a) Mi Jun 6 21:20:03 2007
######################################################################

TEMPLATE = app
TARGET = 
DEPENDPATH += .
INCLUDEPATH += . 
LIBS += -lccext2 -lccgnu2

# Input
SOURCES += main.cpp


More information about the KDevelop-devel mailing list