[Ekiga-devel-list] Mingw32 : Having problem with ffmpeg



Hello,

I am currently trying to cross-compile ekiga from git stable branch (gnome 2-26), and it failed due to some errors with ffmpeg library. I did make update-sources, and then make; i had to change the version for libxml2, since version 2.6.26 is no more available from ftp, so i use 2.6.30.
Now i have this problem:

ekiga winnie:/home/devel/win32/ekiga/win32: make
make  -j1 DEBUG=1 debug -C /home/devel/win32/ekiga/win32/ptlib
make[1]: Entering directory `/home/devel/win32/ekiga/win32/ptlib'
make DEBUG=1 default_target
make[2]: Entering directory `/home/devel/win32/ekiga/win32/ptlib'
make[2]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib'
set -e; if test -e src/ptlib/msos ; then make -C src/ptlib/msos debug; fi;
make[2]: Entering directory `/home/devel/win32/ekiga/win32/ptlib/src/ptlib/msos'
make DEBUG=1 default_target
make[3]: Entering directory `/home/devel/win32/ekiga/win32/ptlib/src/ptlib/msos'
make[3]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src/ptlib/msos'
make[2]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib/src/ptlib/msos'
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib'
make DEBUG=1 -C /home/devel/win32/ekiga/win32/ptlib install
make[1]: Entering directory `/home/devel/win32/ekiga/win32/ptlib'
( for dir in /home/devel/win32/ekiga/win32/lib \
             /home/devel/win32/ekiga/win32/bin \
             /home/devel/win32/ekiga/win32/include/ptlib \
                     /home/devel/win32/ekiga/win32/include/ptlib/msos/ptlib \
                     /home/devel/win32/ekiga/win32/include/ptclib \
                     /home/devel/win32/ekiga/win32/share/ptlib/make ; \
        do mkdir -p $dir ; chmod 755 $dir ; \
    done )
/usr/bin/install -c -m 444 /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/libpt_d.dll.2.4.1 /home/devel/win32/ekiga/win32/lib
/usr/bin/install -c -m 444 /home/devel/win32/ekiga/win32/ptlib/lib_mingw_x86/libpt_d_s.a /home/devel/win32/ekiga/win32/lib
(cd /home/devel/win32/ekiga/win32/lib ; \
        rm -f  libpt_d.dll.2.4 ; \
        ln -sf libpt_d.dll.2.4.1 libpt_d.dll.2.4 \
    )
(cd /home/devel/win32/ekiga/win32/lib ; \
        rm -f  libpt_d.dll.2 ; \
        ln -sf libpt_d.dll.2.4.1 libpt_d.dll.2 \
    )
(cd /home/devel/win32/ekiga/win32/lib ; \
        rm -f  libpt_d.dll ; \
        ln -sf libpt_d.dll.2.4.1 libpt_d.dll \
    )
/usr/bin/install -c -m 444 include/ptlib.h                /home/devel/win32/ekiga/win32/include
/usr/bin/install -c -m 444 include/ptbuildopts.h          /home/devel/win32/ekiga/win32/include
(for fn in include/ptlib/*.h include/ptlib/*.inl; \
        do /usr/bin/install -c -m 444 $fn /home/devel/win32/ekiga/win32/include/ptlib; \
    done)
(for fn in include/ptlib/msos/ptlib/*.h include/ptlib/msos/ptlib/*.inl ; \
        do /usr/bin/install -c -m 444 $fn /home/devel/win32/ekiga/win32/include/ptlib/msos/ptlib ; \
    done)
(for fn in include/ptclib/*.h ; \
        do /usr/bin/install -c -m 444 $fn /home/devel/win32/ekiga/win32/include/ptclib; \
    done)
(for fn in make/*.mak ; \
        do /usr/bin/install -c -m 444 $fn /home/devel/win32/ekiga/win32/share/ptlib/make; \
    done)
/usr/bin/install -c -m 755 make/ptlib-config /home/devel/win32/ekiga/win32/share/ptlib/make/
(cd /home/devel/win32/ekiga/win32/bin; rm -f ptlib-config ; ln -snf ../share/ptlib/make/ptlib-config ptlib-config)
mkdir -p /home/devel/win32/ekiga/win32/lib/pkgconfig
chmod 755 /home/devel/win32/ekiga/win32/lib/pkgconfig
/usr/bin/install -c -m 644 ptlib.pc /home/devel/win32/ekiga/win32/lib/pkgconfig/
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ptlib'
make  -C /home/devel/win32/ekiga/win32/ffmpeg/libavutil
make[1]: Entering directory `/home/devel/win32/ekiga/win32/ffmpeg/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ffmpeg/libavutil'
make  -C /home/devel/win32/ekiga/win32/ffmpeg/libavcodec
make[1]: Entering directory `/home/devel/win32/ekiga/win32/ffmpeg/libavcodec'
i586-mingw32msvc-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I"/home/devel/win32/ekiga/win32/ffmpeg" -I/home/devel/win32/ekiga/win32/include -march=pentium-mmx -DPTRACING -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -O3 -fno-math-errno   -c -o imgresample.o imgresample.c
In file included from imgresample.c:157:
i386/mmx.h:24:2: warning: #warning Everything in this header is deprecated, use plain asm()! New code using this header will be rejected.
imgresample.c:362: warning: 'ImgReSampleContext' is deprecated
imgresample.c:429: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'img_resample_init':
imgresample.c:430: warning: 'img_resample_full_init' is deprecated (declared at avcodec.h:2352)
imgresample.c: At top level:
imgresample.c:440: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'img_resample_full_init':
imgresample.c:441: warning: 'ImgReSampleContext' is deprecated
imgresample.c:446: warning: 'ImgReSampleContext' is deprecated
imgresample.c: At top level:
imgresample.c:487: warning: 'ImgReSampleContext' is deprecated
imgresample.c:509: warning: 'ImgReSampleContext' is deprecated
imgresample.c:526: error: conflicting types for 'sws_getContext'
../libswscale/swscale.h:133: error: previous declaration of 'sws_getContext' was here
imgresample.c: In function 'sws_getContext':
imgresample.c:541: warning: 'img_resample_init' is deprecated (declared at imgresample.c:429)
imgresample.c:543: warning: 'ImgReSampleContext' is deprecated
imgresample.c: In function 'sws_freeContext':
imgresample.c:561: warning: 'img_resample_close' is deprecated (declared at imgresample.c:510)
imgresample.c: At top level:
imgresample.c:583: error: conflicting types for 'sws_getCachedContext'
../libswscale/swscale.h:261: error: previous declaration of 'sws_getCachedContext' was here
imgresample.c: In function 'sws_scale':
imgresample.c:638: warning: 'img_convert' is deprecated (declared at avcodec.h:2504)
imgresample.c:669: warning: 'img_resample' is deprecated (declared at imgresample.c:489)
imgresample.c:677: warning: 'img_convert' is deprecated (declared at avcodec.h:2504)
make[1]: *** [imgresample.o] Error 1
make[1]: Leaving directory `/home/devel/win32/ekiga/win32/ffmpeg/libavcodec'
make: *** [/home/devel/win32/ekiga/win32/bin/avcodec.dll] Error 2


Does anyone have the same issue? Does someone manage to fixed this error?
Thanks you.


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