Re: [Ekiga-devel-list] Cross-compiling ekiga for win32
- From: Michael Rickmann <mrickma gwdg de>
- To: Ekiga development mailing list <ekiga-devel-list gnome org>
- Subject: Re: [Ekiga-devel-list] Cross-compiling ekiga for win32
- Date: Wed, 08 Jul 2009 12:23:20 +0200
Yes things have changed a week ago with "Split ekiga into an exec and
helper libs". This has been done to make the Win32 version Ekiga-plugin
capable, eventually.
Am Mittwoch, den 08.07.2009, 11:28 +0200 schrieb Thierry Simonnet:
> I don't have celt trouble for compiling.
> make-2.patch and make-3.patch resolve all cross compile trouble for me
> (Debian lenny).
>
> It is now possible to test a win32 version.
>
> Thanks a lot for your patches
>
> Jarmo Pussinen wrote:
> > Michael Rickmann wrote:
> >
> >> As we cannot download the win32 subdir separately from git. Starting to
> >> build Ekiga would change as follows.
> >> Obtain Ekiga
> >> git clone git://git.gnome.org/ekiga
> >> Make a copy of the win32 directory
> >> cp -a ekiga/win32 .
> >> Change into that subdirectory, it will be your "BUILDROOT"
> >> cd win32
> >> Get all the sources
> >> make update-sources
> >> Build Ekiga
> >> make
> >> The Makefile will try to move the already downloaded Ekiga to the right
> >> place during the make update-sources.
> >>
> >
> > Is this still the proper advice on how to build win32 version?
> >
> > I have installed mingw32 version that was mentioned in erlier mails,
> > but I still get three errors. I kind of fixed them, but the resulting
> > executable crashes on video call and on exit.
> >
> > I have attached the bug logs and my patches how I fixed them.
> > (The patches are incremental and should be applied after each
> > corresponding bug, because of the way the build script creates
> > the source tree.)
> >
> > Especially the first bug seems weird in celt/configure:
> > ./configure: line 12345: syntax error near unexpected token `tools="tools",'
> > ./configure: line 12345: ` XIPH_PATH_OGG(tools="tools", tools="")'
> >
> > And I am sure that my fix replacing 'XIPH_PATH_OGG(tools="tools",
> > tools="")' with 'tools="tools"' is not very good.
> >
> > The second bug is about undefined _win32_sysconfdir.
> >
> > And the third bug is about misplace ekiga-rc.o.
> >
> > The latter two I fixed in a reasonable manner (I hope)
> > by adding libgmplatform.la to Makefile and by fixing ekiga-rc.o path
> > in another Makefile.
> >
Could you test whether attached diff also works for you it is similar to
yours with respect to the _win32_sysconfdir and fixes the ekiga-rc.o
trouble right from the beginning.
> > I cannot give much debug help about crashes, because starting
> > Ekiga with command line "ekiga.exe -d 4" causes an additional
> > command line window named
> > c:\Program Files\Ekiga\plugins\h264_video_pwplugin_helper.exe
> > to appear, but that window stays empty.
> >
> > Thanks
> > jarmo
> >
That Window is absolutely harmless. It is caused by some code in Opal
when debug output is selected and should only contain messages from the
h264_video_pwplugin_helper.exe. Ekiga's debug output should be contained
in a file ekiga-stderr.txt which should appear on your desktop. This
change of file location has become necessary because of security
features of newer Windows versions. I start Ekiga in debug mode from an
extra shortcut symbol with -d 4 added to the command line.
Regards
Michael
diff -ur src/ekiga/configure.ac ekiga/configure.ac
--- src/ekiga/configure.ac 2009-07-03 14:11:30.000000000 +0200
+++ ekiga/configure.ac 2009-07-06 11:59:42.000000000 +0200
@@ -101,11 +101,9 @@
;;
mingw* )
- LT_PROG_RC
-
gm_platform="mingw"
- CFLAGS="$CFLAGS -DSTATIC_LIBS_USED"
- CXXFLAGS="$CXXFLAGS -DSTATIC_LIBS_USED"
+ CFLAGS="$CFLAGS -Wl,--enable-auto-import"
+ CXXFLAGS="$CXXFLAGS -Wl,--enable-auto-import"
win32=1
;;
diff -ur src/ekiga/lib/engine/framework/Makefile.am ekiga/lib/engine/framework/Makefile.am
--- src/ekiga/lib/engine/framework/Makefile.am 2009-07-06 07:23:07.000000000 +0200
+++ ekiga/lib/engine/framework/Makefile.am 2009-07-06 10:18:28.000000000 +0200
@@ -52,4 +52,5 @@
libgmframework_la_LDFLAGS = $(STACKLIB_LDFLAGS)
libgmframework_la_LIBADD = \
$(top_builddir)/lib/gmconf/libgmconf.la \
+ $(top_builddir)/lib/platform/libgmplatform.la \
$(SIGC_LIBS) $(GLIB_LIBS) $(XML_LIBS)
diff -ur src/ekiga/lib/Makefile.am ekiga/lib/Makefile.am
--- src/ekiga/lib/Makefile.am 2009-06-29 15:05:25.000000000 +0200
+++ ekiga/lib/Makefile.am 2009-07-06 10:18:28.000000000 +0200
@@ -22,10 +22,8 @@
libekiga_la_LDFLAGS = -export-dynamic
libekiga_la_LIBADD = \
- gmconf/libgmconf.la \
gui/libgmwidgets.la \
- toolbox/libtoolbox.la \
- platform/libgmplatform.la
+ toolbox/libtoolbox.la
if !WIN32
libekiga_la_LIBADD += pixops/libpixops.la
diff -ur src/ekiga/src/Makefile.am ekiga/src/Makefile.am
--- src/ekiga/src/Makefile.am 2009-06-29 15:05:26.000000000 +0200
+++ ekiga/src/Makefile.am 2009-07-06 10:18:28.000000000 +0200
@@ -136,7 +136,7 @@
endif
.rc.o:
- $(LIBTOOL) --tag=RC --mode=compile $(RC) $< -o $@ -I $(top_srcdir)
+ $(RC) $< -o $@ -I $(top_srcdir)
GIT_REVISION=\"$$(cd ../.git; git describe )\"
CACHED_REVISION=$$(cat revision.h 2>/dev/null | cut -c24-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]