Re: [Ekiga-devel-list] Ekiga win32 compilation issue with opal (H.264)



Thanks Eugen. Everytime I try to build the latest versions, I get stuck with the x264 problem:

obj/h264frame.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/../shared/h264frame.cxx:103:
undefined reference to `_x264_nal_encode'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:207:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:208:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:259:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:262:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:289:
undefined reference to `_x264_encoder_encode'
obj/enc-ctx.o: In function `~X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o: In function `X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
collect2: ld returned 1 exit status
make[4]: *** [h264_video_pwplugin_helper.exe] Error 1
make[4]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl'
make[3]: *** [h264_video_pwplugin.dll] Error 2
make[3]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/mahesh/Downloads/ekiga-3.2.0/win32/opal'
make: *** [/home/mahesh/Downloads/ekiga-3.2.0/win32/lib/libopal_s.a] Error 2

Even using older snapshots of x264 do not help!

I am able to build the linux and win32 versions using the Ekiga 3.0.0 sources. The only glitch that I see with this is the command-line window that pops up along with the win32 version of Ekiga. I am looking out for the specific changes that were done to avoid this issue.

Thanks,
Mahesh.

Eugen Dedu wrote:
Hi,

I see that you uses ekiga 3.0.0. Could you use ekiga SVN trunk (better) or SVN gnome-2-26 branch? Probably these errors have been fixed since ekiga 3.0.0.

Cheers,
Eugen

Mahesh Sukumar wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Now that the gnome-doc-utils.make problem is solved, I now get an error
with lib/engine/components/opal/sip-endpoint.h

In file included from
.../../../../lib/engine/components/opal/opal-gmconf-bridge.cpp:48:
.../../../../lib/engine/components/opal/sip-endpoint.h: At global scope:
.../../../../lib/engine/components/opal/sip-endpoint.h:177: error:
expected ‘,’ or ‘...’ before ‘&’ token
.../../../../lib/engine/components/opal/sip-endpoint.h:177: error: ISO
C++ forbids declaration of ‘SIPDialogNotification’ with no type
/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/include/ptclib/pstun.h:309:
warning: ‘PPlugin_PNatMethod_STUN_Registration_Static_Library_Loader’
defined but not used
make[7]: *** [opal-gmconf-bridge.lo] Error 1
make[7]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/lib/engine/components/opal'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/lib/engine/components'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/lib/engine'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga'
make: ***
[/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/src/ekiga.exe]
Error 2
mahesh akhanda-bharatham:~/Desktop/ekiga-stable/ekiga-3.0.0/win32$


I am able to compile the linux version (Ekiga ver. 3.0.0) without any
trouble while the win32 build throws so many errors!!! Can any one
please tell me the link to the ekiga source snapshot that compiles (both
linux and win32) without these problems?

Thanks,
Mahesh.

Mahesh Sukumar wrote:
It works when I copy  /usr/share/gnome-doc-utils/gnome-doc-utils.make to

win32/ekiga/

Thanks,
Mahesh.

Mahesh Sukumar wrote:
I have disabled x264 in the opal plugins Makefile and hence am able to
get past the reported error. I'm now stuck with the following error on
running the win32 Makefile -
mahesh akhanda-bharatham:~/Desktop/ekiga-stable/ekiga-3.0.0/win32$ make
-
-
-
Running automake-1.10...
automake-1.10: cannot open < gnome-doc-utils.make: No such file or directory
make: ***
[/home/mahesh/Desktop/ekiga-stable/ekiga-3.0.0/win32/ekiga/config.status]
Error 1
mahesh akhanda-bharatham:~/Desktop/ekiga-stable/ekiga-3.0.0/win32$

Thanks,
Mahesh.

Mahesh Sukumar wrote:
I still get almost the same error (after setting CFLAGS and CXXFLAGS to
--verbose -save-temps)
I am using 64bit Ubuntu (and therefore 64bit H.264 libs and libs-dev)
for this cross compilation. Can this be a cause for this problem?
_*ERROR OUTPUT:*_
GNU C++ version 4.2.1-sjlj (mingw32-2) (i586-mingw32msvc)
    compiled by GNU C version 4.2.3 20071210 (prerelease) (Ubuntu
4.2.2-4ubuntu1).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 154b8a53992189755305fccd99087270
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/as
-o obj/h264helper_win32.o h264helper_win32.s
i586-mingw32msvc-g++ -mms-bitfields -g
-L/home/mahesh/Downloads/ekiga-3.2.0/win32/lib -lx264   -o
h264_video_pwplugin_helper.exe obj/h264frame.o obj/trace.o obj/enc-ctx.o
obj/h264helper_win32.o
obj/h264frame.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/../shared/h264frame.cxx:103:
undefined reference to `_x264_nal_encode'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:207:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:208:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:259:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:262:
undefined reference to `_x264_encoder_open'
obj/enc-ctx.o:/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:289:
undefined reference to `_x264_encoder_encode'
obj/enc-ctx.o: In function `~X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:123:
undefined reference to `_x264_encoder_close'
obj/enc-ctx.o: In function `X264EncoderContext':
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:76:
undefined reference to `_x264_param_default'
/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl/enc-ctx.cxx:108:
undefined reference to `_x264_encoder_open'
collect2: ld returned 1 exit status
make[4]: *** [h264_video_pwplugin_helper.exe] Error 1
make[4]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264/gpl'
make[3]: *** [h264_video_pwplugin.dll] Error 2
make[3]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins/video/H.264'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/mahesh/Downloads/ekiga-3.2.0/win32/opal/plugins'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/mahesh/Downloads/ekiga-3.2.0/win32/opal' make: *** [/home/mahesh/Downloads/ekiga-3.2.0/win32/lib/libopal_s.a] Error 2
mahesh akhanda-bharatham:~/Downloads/ekiga-3.2.0/win32$
Thanks,
Mahesh.
jamesmikedupont googlemail com wrote:
are you linking them?
please post the linker output.

try CFLAGS="--verbose -save-temps "
 CXXFLAGS="--verbose -save-temps "

On Fri, Apr 3, 2009 at 10:17 PM, Mahesh Sukumar
<smahesh1982rulzz netscape net> wrote:
Thanks Peter, but I already have x.264 libraries on the host system and the win32 makefile too pulled the x.264 source automatically! Should I be doing
any modifications to the OPAL plugins Makefile?

Mahesh.

Peter Robinson wrote:
On Fri, Apr 3, 2009 at 5:08 AM, Mahesh Sukumar
<smahesh1982rulzz netscape net> wrote:

Hi All,

I am trying to cross-compile Ekiga (Ver. 3.2) for win32 and am getting
the following error with Opal (H.264) -

Can anyone please let me know if I am missing any step here? I get the
same error with Ekiga Ver. 3.1.2 too!

You'll need the x264 library. Their web site is
http://www.videolan.org/developers/x264.html

Peter
_______________________________________________
Ekiga-devel-list mailing list
Ekiga-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list


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