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

2009-04-07 Thread Eugen Dedu

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
mah...@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 -
mah...@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
mah...@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.cx

[Ekiga-devel-list] [Static build] Anyone for a Static 3.2 ?

2009-04-07 Thread michel memeteau
Hi , sorry if this sound again really as a repeated request.

You could say that I could do this by myself , I would love to but the
answer is that I'm still missing Time and knowledge for doing this.

I'm facing a lot of cases ( family friends )  who have old or unsupported
distro such as mandriva 2007.0 and are still using Ekiga 2.0X .

They have the feeling that their experience is far below what thay could
expect right now iusing H261 and limited framerate.

So my point was to provide them a static build with all dependencies
included, but I guess the version of few externals libs still impact :
Mandriva 2007.0 contains :

gcc-4.1.1-3 

 glibc-2.4-7 


My first try with an install of mdva 2009.0 with statified just
coredumped on 2007.0

1- Do you think a static build of a gtkonly variant of ekiga 3.2 would
work in that case ?
2- Is there anyone that build successfully ekiga-gtkonly 3.2 on
Whatever distro could give a try to a static build ?

Cheers.





-- 
%<--->%
Michel memeteau
Blog 0.2 : http://memeteau.free.fr
Fixe :  0974763294 Mobile : 0624808051
VOIP | Visio: sip:freeche...@ippi.fr 
jabber/GTalk : xmpp:freeche...@jabbe
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list

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

2009-04-07 Thread Mahesh Sukumar
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
mah...@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 

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

2009-04-07 Thread Eugen Dedu

Mahesh Sukumar wrote:
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: 





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.


Look at 
http://wiki.ekiga.org/index.php/Windows_Users#Download_Ekiga_3.0.2_installer



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
mah...@akhanda-bharatham:~/Desktop/ekiga-stable/ekiga-3.0.0/win32$


Do these errors still appear with svn or 3.2.0?


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?


Will soon be available.


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 -
mah...@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: ***


I do not understand why the others do not have this error...


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?


Maybe.  Look at opal-svn/plugins/video/H.264/shared/h264frame.cxx:

#ifndef LICENCE_MPL
  #ifndef _WIN32
#include "../gpl/enc-ctx.h"
#include "../gpl/x264loader_unix.h"
extern X264Library X264Lib;
  #else
#define X264_NAL_ENCODE x264_nal_encode
  #endif
#endif

I suppose it's because you do not have _WIN32 defined.  Could you check 
please?  You can also look at ../gpl/enc-ctx.h, line

  #define X264_NAL_ENCODE X264Lib.Xx264_nal_encode
if you can...

--
Eugen
___
Ekiga-devel-list mailing list
Ekiga-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-devel-list