ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Demo program "audiotx" dropping RTP packets


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Demo program "audiotx" dropping RTP packets
Date: Wed, 19 Mar 2003 13:27:29 +0100
User-agent: Mutt/1.5.3i

On Tue, Mar 18, 2003 at 11:52:15PM +0100, Robert Szelepcsenyi wrote:
> Hi,
> 
> Perhaps the problem ist platform-specific. I decided to try the same thing
> on FreeBSD. However, the library does not compile. This is the result:
> 

        Um, it is unlikely, since ccRTP is mostly developed and used
on GNU/Linux systems...

> Robert
> 
> 
> 
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I../src    -Wall -ansi -pedantic -O -pipe  -I/u
> sr/local/include/cc++2 -D_THREAD_SAFE -O -pipe -I/usr/local/include -D_GNU_S
> OURCE -I../src -c phone.cpp
> In file included from /usr/include/g++/stl_alloc.h:54,
>                  from /usr/include/g++/alloc.h:21,
>                  from /usr/include/g++/std/bastring.h:39,
>                  from /usr/include/g++/string:6,
>                  from /usr/local/include/cc++2/cc++/strchar.h:49,
>                  from /usr/local/include/cc++2/cc++/exception.h:54,
>                  from /usr/local/include/cc++2/cc++/thread.h:58,
>                  from /usr/local/include/cc++2/cc++/file.h:54,
>                  from server.h:17,
>                  from phone.cpp:17:
> /usr/include/stdlib.h:110: warning: ANSI C++ does not support `long long'
> /usr/include/stdlib.h:114: warning: ANSI C++ does not support `long long'
> In file included from phone.cpp:18:
> /usr/local/include/getopt.h:115: declaration of C function `int getopt()'
> conflicts with
> /usr/include/unistd.h:112: previous declaration `int getopt(int, char *const
> *, const char *)' here

        I would say this error is due to the fact that you seem to
have two getopt libraries installed on your system
(/usr/local/include/getopt.h defines getopt, which is already defined
in /usr/include/unistd.h). Anyway, the error affects the phone
application, do the ccrtp library compile well (there should be some
libccrtp... files under src/.libs/)?

> gmake[1]: *** [phone.o] Error 1
> gmake[1]: Leaving directory
> `/home/admin/CCRTP/ccrtp-1.0pre2/freebsd/work/ccrtp-1.0pre2/phone'
> gmake: *** [all-recursive] Error 1
> *** Error code 2
> 
> Stop in /home/admin/CCRTP/ccrtp-1.0pre2/freebsd.
> 




reply via email to

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