ccrtp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ccrtp-devel] Using ccRTP


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Using ccRTP
Date: Tue, 23 Sep 2003 10:07:24 +0200
User-agent: Mutt/1.3.28i


        Hi,

        the errors you get seem to be related to wrong cc++ (and
libxml) linking flags. Since ccRTP depends on cc++, to link in cc++
you should use the flags provided by ccgnu2-config (included in
cc++). ccgnu2-config is explained in the cc++ manual. Besides the
ccgnu2-config flags, you should also link ccrtp1.

On Mon, Sep 22, 2003 at 11:35:18PM +0200, address@hidden wrote:
> Hi! 
>  
> I have a question regarding "things" that must be done in order to use ccRTP. 
> What libraries need to be linked and what headers must be included? 
>  
> Curently, I have linked the following libraries (some of them come from 
> commoncpp, which I have downloaded and installed): 
> -lccrtp1 
> -lpthread 
> -lccext2 
> -lccgnu2 
>  
> ...and the following headers: 
> <ccrtp/rtp.h> 
> <cstdio> 
> <ctime> 
>  
> ...and I have this in my .cpp-file: 
> #ifdef  CCXX_NAMESPACES 
> using namespace ost; 
> using namespace std; 
> #endif 
>  
> When I have this configuration I got the following errors when I comepile (I 
> use KDevelop): 
> ******************************************************************************
>  
> /usr/local/lib/libccext2.so: undefined reference to `deflate'  
> /usr/local/lib/libccext2.so: undefined reference to `xmlCreatePushParserCtxt' 
>  
> /usr/local/lib/libccext2.so: undefined reference to `inflate'  
> /usr/local/lib/libccext2.so: undefined reference to `xmlParseChunk'  
> /usr/local/lib/libccext2.so: undefined reference to `inflateInit_'  
> /usr/local/lib/libccext2.so: undefined reference to `deflateInit_'  
> /usr/local/lib/libccext2.so: undefined reference to `xmlFreeParserCtxt'  
> /usr/local/lib/libccext2.so: undefined reference to `inflateEnd'  
> /usr/local/lib/libccext2.so: undefined reference to `deflateEnd'  
> collect2: ld returned 1 exit status  
> gmake[2]: *** [rtptest] Error 1  
> ***************************************************************************** 
> Is there anything that I have missed or have I made something wrong? 
>  
> Thanks in advance :) 
> /Marcus 
>  
>  
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> _______________________________________________
> Ccrtp-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/ccrtp-devel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]