[MPlayer-dev-eng] Linker error with last svn

Vicente Sendra visenri at yahoo.es
Thu Mar 7 01:04:43 CET 2013


Yesterday i tried to compile mplayer with ffmpeg using newest svn:

downloaded using:

git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

I'm using MinGW under windows XP.

I'm using a build environment with MinGW gcc 4.6.2 (with needed libs installed), where r35196 compiles ok, but with current svn i get a lot of errors about mng (in vo_mng), and it fails final link:

libvo/vo_mng.o:vo_mng.c:(.text+0x105): undefined reference to `mng_initialize'
libvo/vo_mng.o:vo_mng.c:(.text+0x121): undefined reference to `mng_setcb_openstream'
libvo/vo_mng.o:vo_mng.c:(.text+0x139): undefined reference to `mng_setcb_closestream'
...

ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status


Today, I also tried pre-build enviroment:
http://sourceforge.net/projects/smplayer/files/MinGW/mplayer/

And i got even more errors, but after fixing some files (in config.h : #define CONFIG_ICONV 1 , and in stream_cddb.c change #include <ddk/ntddcdrm.h> by #include <ntddcdrm.h>) i get the same exact result, failing final link.


I'm using these option for configure:

./configure \
    --disable-mencoder          \
    --prefix=/mingw             \
    --enable-static             \
    --enable-runtime-cpudetection  \
    --enable-md5sum             \
    --enable-menu               \
    --enable-faac               \
    --enable-enca               \
    --enable-sdl                \
    --enable-caca               \
    --enable-gl                 \
    --enable-freetype           \
    --enable-png                \
    --enable-mng                \
    --enable-jpeg               \
    --enable-gif                \
    --enable-tga                \
    --enable-mad                \
    --enable-tv                 \
    --enable-theora             \
    --disable-vidix             \
    --disable-faac-lavc         \
    --disable-inet6

Is there any logical expanation to this?


More information about the MPlayer-dev-eng mailing list