[MPlayer-users] Compile-error, h264.c

Øyvind Stegard oyvinst at ifi.uio.no
Thu Nov 30 20:37:05 CET 2006


Hi,

I'm trying to compile mplayer-svn with debugging because of a
DVD-playback related stack-smashing crash (I figured I would need a
backtrace, at least, before reporting a bug). However, I cannot
currently compile it successfully with --enable-debug. 

$ svn info mplayer-svn/
Path: mplayer-svn
URL: svn://svn.mplayerhq.hu/mplayer/trunk
Repository Root: svn://svn.mplayerhq.hu/mplayer
Repository UUID: b3059339-0415-0410-9bf9-f77b7e298cf2
Revision: 21404
Node Kind: directory
Schedule: normal
Last Changed Author: reimar
Last Changed Rev: 21404
Last Changed Date: 2006-11-30 18:55:00 +0100 (Thu, 30 Nov 2006)
Properties Last Updated: 2006-11-30 19:51:32 +0100 (Thu, 30 Nov 2006)

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c
++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)


I run configure with the following parameters:
./configure --disable-esd --disable-ossaudio --disable-arts \
--disable-vidix-internal --disable-vidix-external \
--enable-largefiles \
--win32codecsdir=/usr/lib/codecs --enable-debug


I get the following compiler error:
In file included from h264.c:36:
cabac.h:366: warning: 'inline' is not at beginning of declaration
h264.c: In function 'hl_decode_mb':
h264.c:3661: warning: suggest parentheses around arithmetic in operand
of ^
h264.c:3667: warning: suggest parentheses around arithmetic in operand
of ^
h264.c: In function 'print_short_term':
h264.c:4326: warning: comparison between signed and unsigned
h264.c: At top level:
h264.c:6009: warning: 'inline' is not at beginning of declaration
h264.c: In function 'decode_cabac_residual':
h264.c:6143: warning: passing argument 4 of
'decode_significance_8x8_x86' discards qualifiers from pointer target
type
h264.c:6070: warning: unused variable 'last'
h264.c: At top level:
h264.c:6218: warning: 'inline' is not at beginning of declaration
h264.c: In function 'filter_mb_fast':
h264.c:7101: warning: dereferencing type-punned pointer will break
strict-aliasing rules
h264.c: In function 'decode_unregistered_user_data':
h264.c:7593: warning: comparison between signed and unsigned
h264.c:7598: warning: pointer targets in passing argument 1 of 'sscanf'
differ in signedness
h264.c: At top level:
h264.c:8652: warning: missing initializer
h264.c:8652: warning: (near initialization for 'h264_parser.next')
In file included from h264.c:8655:
svq3.c: In function 'svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function 'svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for 'svq3_decoder.next')
cabac.h:109: warning: 'put_cabac_static' defined but not used
cabac.h:155: warning: 'put_cabac_terminate' defined but not used
cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
cabac.h: In function 'get_cabac_noinline':
cabac.h:522: error: can't find a register in class 'GENERAL_REGS' while
reloading 'asm'
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory
`/home/oyvind/tmp/build/mplayer-svn/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


Regards,
Øyvind S.
-- 
< Øyvind Stegard < oyvinst at ifi uio no >
 < http://www.oyvind.nu/




More information about the MPlayer-users mailing list