Re: [Ekiga-devel-list] Challenges for generation of Ekiga 4.x



On Tue, Feb 5, 2013 at 10:25 AM, Markus Elfring <Markus Elfring web de> wrote:
>>> checking PTLIB has video... no
>>
>> This is the problem.  Why does not ptlib have video support?!
>
> I get the following result if I reduce the command line parameters for the
> affected configuration test a bit.
>
> elfring Sonne:~/Projekte/OpalVoip/OPAL/Probe> LANG=C g++ -o Video1 -Wall -Wextra
> -Wstrict-aliasing -Wfloat-equal -Wno-comment -Wno-unused -Winit-self
> -Wno-missing-field-initializers -Wreorder -felide-constructors -fexceptions
> -fPIC -DP_64BIT -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -I/usr/local/include
> -I/usr/include/SDL -L/usr/local/lib64 -lpt_s -lrt -lsasl2 -lldap -llber -lldap_r
> -lssl -lcrypto -lexpat -llua -lSDL -lpthread -lodbc -lresolv -ldl Video1.cpp
> /tmp/ccc6uWN0.o: In function `main':
> Video1.cpp:(.text+0x17): undefined reference to `PVideoChannel::PVideoChannel()'
> Video1.cpp:(.text+0x2b): undefined reference to `PVideoChannel::~PVideoChannel()'
> /tmp/ccc6uWN0.o: In function `__static_initialization_and_destruction_0(int, int)':
> Video1.cpp:(.text+0x8c): undefined reference to
> `PFactoryLoader::PluginLoaderStartup_link()'
> Video1.cpp:(.text+0x97): undefined reference to
> `PPlugin_PVideoInputDevice_FakeVideo_link()'
> Video1.cpp:(.text+0xa2): undefined reference to
> `PPlugin_PVideoInputDevice_Application_link()'
> Video1.cpp:(.text+0xad): undefined reference to
> `PPlugin_PVideoInputDevice_FFMPEG_link()'
> Video1.cpp:(.text+0xb8): undefined reference to
> `PPlugin_PVideoInputDevice_YUVFile_link()'
> Video1.cpp:(.text+0xc3): undefined reference to
> `PPlugin_PVideoOutputDevice_SDL_link()'
> collect2: error: ld returned 1 exit status
>
>
> Would you like to share any more advices?

I've seen issues with building ptlib/opal in the past if you don't
have all the right dependencies in place. The ptlib/opal/ekiga combo
for ekiga 4.0 build just fine with gcc 4.7.x as that what Fedora 17/18
use.

The dependencies (Fedora naming so will need adjusting for other
distros) I have for ptlib are:

BuildRequires:	pkgconfig, expat-devel, flex, bison
BuildRequires:  alsa-lib-devel, libv4l-devel
BuildRequires:  openldap-devel, SDL-devel, openssl-devel
BuildRequires:  boost-devel, pulseaudio-libs-devel

The configure I use is:
%configure --prefix=%{_prefix} --disable-static --enable-plugins
--disable-oss --enable-v4l2 --disable-avc --disable-v4l --enable-pulse

I disable the old v4l and just use v4l2 as it's been dropped from newer kernels.

Deps for opal are:
BuildRequires:	ptlib-devel = 2.10.9
BuildRequires:	openldap-devel
BuildRequires:	openssl-devel
BuildRequires:	libtheora-devel
BuildRequires:	speex-devel
BuildRequires:	SDL-devel
BuildRequires:	expat-devel

and the configure line I use is:
%configure --disable-silk

Regards,
Peter

Peter


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