[FFmpeg-trac] #256(build system:open): FFmpeg fails to build after SDL output device addition

FFmpeg trac at avcodec.org
Fri Jun 3 00:11:40 CEST 2011


#256: FFmpeg fails to build after SDL output device addition
-----------------------+---------------------------
Reporter:  KSHawkEye   |       Owner:
    Type:  defect      |      Status:  open
Priority:  important   |   Component:  build system
 Version:  git-master  |  Resolution:
Keywords:  sdl         |  Blocked By:
Blocking:              |  Reproduced:  0
Analyzed:  0           |
-----------------------+---------------------------

Comment (by KSHawkEye):

 ffserver does not build on Windows.

 ffprobe gave me the same error:

 {{{
 i686-w64-mingw32-gcc -I. -I"/home/kyle/software/ffmpeg/source/ffmpeg-git"
 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
 -U__STRICT_ANSI__
 -I/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win32/include
 -I/home/kyle/software/ffmpeg/packages/bzlib/bzlib-1.0.6-win32/include
 -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.4-win32/include
 -I/home/kyle/software/ffmpeg/packages/frei0r/frei0r-1.3-win32/include
 -I/home/kyle/software/ffmpeg/packages/gsm/gsm-1.0.13-3-win32/include
 -I/home/kyle/software/ffmpeg/packages/lame/lame-3.98.4-win32/include
 -I/home/kyle/software/ffmpeg/packages/opencore-amr/opencore-
 amr-0.1.2-win32/include
 -I/home/kyle/software/ffmpeg/packages/openjpeg/openjpeg-1.4-win32/include
 -I/home/kyle/software/ffmpeg/packages/speex/speex-1.2rc1-win32/include
 -I/home/kyle/software/ffmpeg/packages/theora/theora-1.1.1-win32/include
 -I/home/kyle/software/ffmpeg/packages/vorbis/vorbis-1.3.2-win32/include
 -I/home/kyle/software/ffmpeg/packages/libvpx/libvpx-0.9.6-win32/include
 -I/home/kyle/software/ffmpeg/packages/polarssl/polarssl-0.14.3-win32/include
 -I/home/kyle/software/ffmpeg/packages/rtmpdump/librtmp-git-6155179b-
 win32/include
 -I/home/kyle/software/ffmpeg/packages/orc/orc-0.4.11-win32/include
 -I/home/kyle/software/ffmpeg/packages/schroedinger/schroedinger-1.0.10-win32/include
 -I/home/kyle/software/ffmpeg/packages/libogg/libogg-1.2.2-win32/include
 -I/home/kyle/software/ffmpeg/packages/x264/x264-git-c1e60b90-win32/include
 -I/home/kyle/software/ffmpeg/packages/xavs/xavs-r51-win32/include
 -I/home/kyle/software/ffmpeg/packages/xvid/xvid-1.3.2-win32/include
 -I/home/kyle/software/ffmpeg/packages/zlib/zlib-1.2.5-win32/include
 -std=c99 -fno-common -fomit-frame-pointer
 -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.4-win32/include/freetype2
 -I/home/kyle/software/ffmpeg/packages/freetype/freetype-2.4.4-win32/include
 -I/home/kyle/software/ffmpeg/packages/rtmpdump/librtmp-git-6155179b-
 win32/include
 -I/home/kyle/software/ffmpeg/packages/schroedinger/schroedinger-1.0.10-win32/include/schroedinger-1.0
 -I/home/kyle/software/ffmpeg/packages/orc/orc-0.4.11-win32/include/orc-0.4
 -D_GNU_SOURCE=1 -Dmain=SDL_main
 -I/home/kyle/software/ffmpeg/packages/sdl/sdl-1.2.14-win32/include/SDL -g
 -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch
 -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-
 sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-
 prototypes -Wno-pointer-to-int-cast -O3 -fno-math-errno -fno-signed-zeros
 -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-
 prototypes          -MMD -MF ffprobe.d -MT ffprobe.o -c -o ffprobe.o
 /home/kyle/software/ffmpeg/source/ffmpeg-git/ffprobe.c
 /home/kyle/software/ffmpeg/source/ffmpeg-git/ffprobe.c:390:5: error: no
 previous prototype for ‘SDL_main’
 make: *** [ffprobe.o] Error 1
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/256#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list