List Info

Thread: cant compile teamwork plugin from svn




cant compile teamwork plugin from svn
country flaguser name
Germany
2007-06-06 13:15:46
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.


best regarts

Sascha Pfau
-- 

.·´¯`·.¸.·´¯`·.¸¸.·´¯`·.¸.·´¯`·.¸.·´Â
¯`·.¸.·´¯`·.¸¸.·´
            °        °           °
             °      °            °
     ><((((º>      °              °
                    °            °
                   °          
 <º)))><
                  <º)))><
_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel
Re: cant compile teamwork plugin from svn
user name
2007-06-06 14:26:48
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?

I'm not a linker expert but I thought that its not needed to
explicitly
link against libraries that you don't use symbols of, i.e.
the linker
"does the right thing" here. I notice though that
you use gcc 4.2, so
maybe thats something that got stricter there (as it seems
to be much
stricter in many parts).

Anybody around with some good compiler knowledge? (I'd like
to avoid
extracting needed libraries from the linkflags returned by
pkg-config,
because that gets ugly with cmake).

Andreas

-- 
You will be winged by an anti-aircraft battery.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: cant compile teamwork plugin from svn
user name
2007-06-06 15:16:00
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.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

  
  
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )