[MPlayer-users] Avcodec compilation problem

Kevin DeKorte kdekorte at gmail.com
Mon Nov 10 17:15:57 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

mindcry wrote:
> On 10/11/2008 09:47, Attila Kinali wrote:
>> On Sun, 09 Nov 2008 19:11:52 +0100
>> mindcry<mindcry at free.fr>  wrote:
>>
>>    
>>> ==>  ERREUR: La compilation a échoué.
>>>       Abandon...
>>>      
>> parse error before ERREUR... unknown language.
>>
>> Also read bugreports.html, you've given way too little
>> information for us to be able to give you any advice.
>>
>> 			Attila Kinali
>>
>>    
> Hum sorry, ERREUR is because of the package manager of archlinux .
> 
> ==>  ERREUR: La compilation a échoué.
>       Abandon...
> 
> It means Error, the compilation failed.
> 
> 
> but that's not the problem, I'm in a 32 bit archlinux system, gcc 4.3.2, 
> my configure options are :
>    ./configure --prefix=/usr \
>                  --confdir=/etc/mplayer \
>            --enable-gui \
>            --language=all\
>            --disable-esd \
>            --disable-mencoder \
>            --disable-tv \
>            --disable-jack \
>            --disable-smb \
>            --disable-aa \
>            --disable-caca \
>            --disable-gif \
>            --disable-png \
>            --disable-jpeg \
>            --disable-cddb \
>            --disable-dga2 \
>            --disable-dga1 \
>            --disable-v4l2 \
>            --disable-dvb \
>            --disable-dvbhead \
>            --disable-pnm \
>            --disable-tga \
>            --disable-md5sum \
>            --disable-fbdev \
>            --disable-yuv4mpeg \
>            --enable-menu \
>            --disable-cdparanoia  || return 1
> 
> And when I try to build mplayer-svn, i have this error during avcodec 
> compilation :
> 
> cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I..
> -I.. -Wdisabled-optimization -Wno-pointer-sign
> -Wdeclaration-after-statement -std=gnu99 -march=i686 -mtune=generic -O2
> -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I.  -I/usr/include/SDL  -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/include -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/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12     -c -o h264.o h264.c
> h264.c: In function 'fill_caches':
> h264.c:125: warning: assignment discards qualifiers from pointer target type
> h264.c:164: warning: assignment discards qualifiers from pointer target type
> h264.c:166: warning: assignment discards qualifiers from pointer target type
> h264.c:170: warning: assignment discards qualifiers from pointer target type
> h264.c: In function 'pred_direct_motion':
> h264.c:1052: warning: assignment from incompatible pointer type
> h264.c:1053: warning: assignment from incompatible pointer type
> h264.c: In function 'filter_mb':
> h264.c:6429: warning: initialization from incompatible pointer type
> h264.c:6430: warning: initialization from incompatible pointer type
> cabac.h: In function 'get_cabac_noinline':
> cabac.h:527: error: can't find a register in class 'GENERAL_REGS' while
> reloading 'asm'
> cabac.h:527: error: 'asm' operand has impossible constraints
> make[1]: *** [h264.o] Error 1
> make[1]: Leaving directory
> `/home/leo/Pkg/SVN/mplayer-svn/src/mplayer-build/libavcodec'
> make: *** [libavcodec/libavcodec.a] Erreur 2
> 
> HAve you any idea ?
> 

Try a make distclean first. I had this problem this morning as well and
make distclean seemed to fix it.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org

iEYEARECAAYFAkkYXj0ACgkQ6w2kMH0L1dFmVgCeLgZmXCkH34bcLWuQNZ9ICjIz
UbAAn0Iojnhc+vsI/Vdc7BJZ+Pn51eTY
=UVYW
-----END PGP SIGNATURE-----



More information about the MPlayer-users mailing list