Hello everyone,

I'm late to the party, and replying to an older email than the end of the
thread, but I'll try to answer the remaining questions.

On Fri, 22 Jul 2011 15:55:53 +0200, Eugen Dedu
<eugen.d...@pu-pm.univ-fcomte.fr> wrote:
> On 22/07/11 15:38, Ozkan Sezer wrote:
> > On Fri, Jul 22, 2011 at 4:16 PM, Eugen Dedu
> > <eugen.d...@pu-pm.univ-fcomte.fr>  wrote:
> >> I have a big linux application and I use mingw to build it for windows
> >> too.  When I use mingw32 everything goes well, but when I use mingw-w64
> >> in 32bit mode and execute it on Windows I receive the error: application
> >> has not been initialised correctly, error 0xc0000142.  I looked on
> >> Internet, but nothing is useful (one page
> >> http://support.microsoft.com/kb/838857 told that this is an error on
> >> rights or some files, but the same application built with mingw32 works,
> >> so there must be other thing).  What have I missed?
> >
> > If it is a c++ app, make sure that libgcc_s_sjlj-1.dll is on your PATH
> > )or put it in the same directory as your exe.)
> 
> It is a c++ application.  I do not find this file on my machine. 
> Stephen, is this file the same as
> gcc-mingw-w64: /usr/lib/gcc/i686-w64-mingw32/4.6/libgcc.a
> ?  Could the .dll be included in debian package?

As Ruben pointed out, the Debian mingw-w64 packages currently disable shared
libraries, so there no DLL is required here. I'm working on supporting shared
libraries, their lack shouldn't prevent a successful Ekiga build...

Concerning the package structure, they're currently split only by source (so
binutiles, gcc and mingw-w64), with dependencies on existing packages for
duplicate files (libstdc++6-4.6-dev for C++ headers for example).

Ruben, I'm not sure from your emails to the thread whether you've identified
configure flags I should use but don't, or whether your last comment means
that the flags you thought were missing are actually there. If there are
missing flags (which is definitely possible), would you mind telling me which
ones?

Eugen, did you try your Ekiga build with one of the builds Ruben suggested?
Also, could you tell me what changes you made to the Ekiga build to have it
work with mingw-w64 (well, build at least)? I've made the obvious changes to
the man Makefile, but ptlib's build fails with

cd /usr/src/ekiga-win32/ptlib/plugins; aclocal && autoconf
configure.in:297: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected
in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.in:297: the top level
autoconf: Undefined macros:
configure.in:28:  AC_MSG_NOTICE(Plugins disabled)
configure.in:297:    AC_COMPILE_IFELSE([[
configure.in:338:AC_CONFIG_FILES(Makefile)
configure.in:339:AC_CONFIG_FILES(vidinput_v4l2/Makefile)
configure.in:340:AC_CONFIG_FILES(vidinput_dc/Makefile)
make: *** [/usr/src/ekiga-win32/ptlib/configure] Error 1

Thanks in advance,

Stephen

Attachment: signature.asc
Description: PGP signature

Reply via email to