Re: [Ekiga-devel-list] Win32 + Git + cross compiling errors

Am Mittwoch, den 29.04.2009, 11:35 +0200 schrieb Thierry Simonnet:
> Hi,
> I'm just back to my office after several weeks and I saw that a lot of 
> things have changed.
> I modified Makefile to handle git, gtk2.16, opal/trunk, ptlib/trunk.... 
> (in attachment).
> I tried to compile Ekiga for win32 using Debian Lenny 32b and 64b. Here 
> are the outputs :
> 32b :
> i586-mingw32msvc-g++ -mms-bitfields -Os -I/root/win32/include 
> -march=pentium-mmx -DPTRACING -Wall -Wextra -Winit-self 
> -I/root/win32/opal/include -c /root/win32/opal/src/opal/recording.cxx -o 
> /root/win32/opal/lib_mingw_x86/obj/recording.o
> /root/win32/opal/src/opal/recording.cxx:198: warning: ignoring #pragma 
> comment
> /root/win32/opal/src/opal/recording.cxx:246: error: extra qualification 
> 'OpalAVIRecordManager::' on member 'IsResultError'
> make[1]: *** [/root/win32/opal/lib_mingw_x86/obj/recording.o] Error 1
> make[1]: Leaving directory `/root/win32/opal'
> make: *** [/root/win32/lib/libopal_s.a] Error 2
> 64b:
> i586-mingw32msvc-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I"/root/win32/ffmpeg" 
> -I/root/win32/include -march=pentium-mmx -DPTRACING -fomit-frame-pointer 
> warning: this is thelocation of the previous definition
> vfwcap.c:46: error: redefinition of 'struct videohdr_tag'
> vfwcap.c:81: error: conflicting types for 'CAPTUREPARMS'
> /usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/vfw.h:698: 
> error: previous declaration of 'CAPTUREPARMS' was here
> make[1]: *** [vfwcap.o] Error 1
> make[1]: Leaving directory `/root/win32/ffmpeg/libavdevice'
> make: *** [/root/win32/bin/avcodec.dll] Error 2
> Any hints?

The 32b : Opal error has not struck me (yet?), but the 64b: ffmpeg one.
Have you applied any patch to ffmpeg? The ffmpeg revision 14200 you are
using is quite old and only works with old Win32 headers. I currently
use 17504 - it helped me porting from Debian Multimedia to Ubuntu. With
that version you need recent Win32 headers. You can copy them where the
old ones are or use my Mingw runtime package.
And add --disable-ffmpeg --disable-ffplay to confffmpeg: in your

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