[Ffmpeg-devel] swscale.c compile error

Aaron Williams aaronw
Thu Nov 2 09:10:50 CET 2006


make[1]: Entering directory `/home/aaronw/ftp/mpeg/ffmpeg/ffmpeg/libswscale'
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I/home/aaronw/ftp/mpeg/ffmpeg/ffmpeg
-I/home/aaronw/ftp/mpeg/ffmpeg/ffmpeg
-I/home/aaronw/ftp/mpeg/ffmpeg/ffmpeg/libavutil -g -fomit-frame-pointer
-march=athlon64 -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Winline -O3
-fPIC -DPIC -c -o swscale.o swscale.c
swscale.c: In function ?yuv2packedXinC?:
swscale.c:661: warning: pointer of type ?void *? used in arithmetic
swscale.c:667: warning: pointer of type ?void *? used in arithmetic
swscale.c:678: warning: pointer of type ?void *? used in arithmetic
swscale.c:697: warning: pointer of type ?void *? used in arithmetic
swscale.c:712: warning: pointer of type ?void *? used in arithmetic
swscale.c:723: warning: pointer of type ?void *? used in arithmetic
swscale.c:734: warning: pointer of type ?void *? used in arithmetic
swscale.c:745: warning: pointer of type ?void *? used in arithmetic
swscale.c:754: warning: pointer of type ?void *? used in arithmetic
swscale.c:785: warning: unused variable ?g?
swscale.c:785: warning: unused variable ?b?
swscale.c:785: warning: unused variable ?r?
swscale.c:793: warning: unused variable ?g?
swscale.c:793: warning: unused variable ?b?
swscale.c:793: warning: unused variable ?r?
swscale.c: In function ?getSwsFunc?:
swscale.c:1504: error: ?swScale_C? undeclared (first use in this function)
swscale.c:1504: error: (Each undeclared identifier is reported only once
swscale.c:1504: error: for each function it appears in.)
swscale.c: In function ?gray16swap?:
swscale.c:1789: warning: initialization from incompatible pointer type
swscale.c:1790: warning: initialization from incompatible pointer type
swscale.c: In function ?getSwsFunc?:
swscale.c:1507: warning: control reaches end of non-void function
make[1]: *** [swscale.o] Error 1
make[1]: Leaving directory `/home/aaronw/ftp/mpeg/ffmpeg/ffmpeg/libswscale'

My last successful build was r6280. 
FFmpeg version SVN-r6280, Copyright (c) 2000-2006 Fabrice Bellard, et al.
  configuration:  --enable-libogg --enable-vorbis --enable-faad
--enable-faac --enable-xvid --enable-x264 --enable-a52 --enable-dts
--enable-dc1394 --enable-gpl --enable-mp3lame --enable-swscaler
--enable-pp --enable-amr_wb --enable-amr_nb --enable-amr_if2
--cpu=athlon64 --extra-cflags=-g --enable-shared
  libavutil version: 49.0.2
  libavcodec version: 51.23.0
  libavformat version: 50.6.0
  built on Oct 31 2006 17:03:39, gcc: 4.1.0 (SUSE Linux)






More information about the ffmpeg-devel mailing list