[MPlayer-users] Can not compile mplayer svn - libavcodec(dsputils.c) error
Zuxy Meng
zuxy.meng at gmail.com
Sun Jun 17 11:08:31 CEST 2007
Hi,
"totsoi san" <totsoi.san at gmail.com> дÈëÏûÏ¢ÐÂÎÅ:725dcaf70706160613ye12f7dfgc599b5c988f1fd0d at mail.gmail.com...
> Hello,
>
> I was unable to compile the latest mplayer svn. After issuing
> "./configure --enable-gui --enable-largefiles --prefix=/usr/" and then
> "make" it compiles a bit and then hangs up here:
>
>
> cc -I../libswscale -I../libavcodec -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
> -I../libavutil -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall
> -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=pentium-m
> -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -I/usr/include/directfb -I/usr/include -I/usr/include/
> -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr//include/freetype2 -I/usr//include -I/usr/include/fribidi
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr//include/freetype2 -I/usr//include -I/usr/include/libpng12
> -c -o dsputil.o dsputil.c
> In file included from dsputil.c:30:
> avcodec.h:2252: warning: 'ImgReSampleContext' is deprecated
> avcodec.h:2258: warning: 'ImgReSampleContext' is deprecated
> dsputil.c: In function 'dct_sad8x8_c':
> dsputil.c:3397: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'dct264_sad8x8_c':
> dsputil.c:3440: warning: passing argument 1 of 's->dsp.diff_pixels'
> from incompatible pointer type
> dsputil.c: In function 'dct_max8x8_c':
> dsputil.c:3462: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'quant_psnr8x8_c':
> dsputil.c:3479: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c:3480: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'rd8x8_c':
> dsputil.c:3505: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'bit8x8_c':
> dsputil.c:3583: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
> dsputil.c: In function 'dsputil_init':
> dsputil.c:4141: error: 'ENABLE_MMX' undeclared (first use in this
> function)
> dsputil.c:4141: error: (Each undeclared identifier is reported only once
> dsputil.c:4141: error: for each function it appears in.)
> dsputil.c:4142: error: 'ENABLE_ARMV4L' undeclared (first use in this
> function)
> dsputil.c:4143: error: 'ENABLE_MLIB' undeclared (first use in this
> function)
> dsputil.c:4144: error: 'ENABLE_SPARC' undeclared (first use in this
> function)
> dsputil.c:4145: error: 'ENABLE_ALPHA' undeclared (first use in this
> function)
> dsputil.c:4146: error: 'ENABLE_POWERPC' undeclared (first use in this
> function)
> dsputil.c:4147: error: 'ENABLE_MMI' undeclared (first use in this
> function)
> dsputil.c:4148: error: 'ENABLE_SH4' undeclared (first use in this
> function)
> dsputil.c:4149: error: 'ENABLE_BFIN' undeclared (first use in this
> function)
> make[1]: *** [dsputil.o] Error 1
> make[1]: Leaving directory `/usr/local/src/mplayer/libavcodec'
> make: *** [libavcodec/libavcodec.a] Error 2
>
>
>
> The mplayer svn revision is 23561, and the libavutil / libavcodec /
> libavformat / libpostproc revisions are 9332. I'm using ubuntu feisty
> 7.04, and my laptop runs on a 2ghz pentium m processor with 1024 ram.
It happens frequently. What you should do is:
0 svn up
1 make; if succeed then exit
2 rerun configure
3 make; if succeed then exit
4 make clean;
5 make; if succeed then exit
6 wait for a couple of days before goto 0 or report a bug.
--
Zuxy
More information about the MPlayer-users
mailing list