[MPlayer-users] Compilation error 'conflicting types for 'swab'

turbos10 turbos11 at gmail.com
Mon Apr 18 01:24:20 CEST 2011


I try compile mplayer svn revision: 33269(newest). Under
Windows/minGW. I have this error:
In file included from ffmpeg/libavutil/common.h:30,
                from libmpdemux/aviheader.h:25,
                from libmpdemux/stheader.h:23,
                from command.c:29:
i:/mingw/include/errno.h:91: warning: redundant redeclaration of '_errno'
i:/mingw/include/stdlib.h:137: warning: previous declaration of '_errno' was her
e
In file included from libmpdemux/aviheader.h:26,
                from libmpdemux/stheader.h:23,
                from command.c:29:
./mpbswap.h:35: error: conflicting types for 'swab'
i:/mingw/include/string.h:115: error: previous declaration of 'swab' was here
command.c: In function 'run_command':
command.c:3457: error: implicit declaration of function 'strsep'
command.c:3457: warning: assignment makes pointer from integer without a cast
make: *** [command.o] Error 1

MinGW Build Environment with gcc 4.2.5  is from site
http://oss.netfarm.it/mplayer-win32.php
Ffmpeg i get from
http://www.ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
(http://www.ffmpeg.org/download.html)
Regards


More information about the MPlayer-users mailing list