[FFmpeg-user] make check error (again)

mark edwards edwardsmarkf at gmail.com
Sat Mar 2 18:06:20 CET 2013


hello all -

according to earlier posts, cabac seems to use extra registers that may not
be available on my server. i believe i may have gotten around this
'make-check' problem by including "--disable-optimizations" in the
configure line:

./configure --disable-shared   --enable-static  --enable-libopus
 --enable-libspeex  --enable-libvorbis  --disable-optimizations ;

also, make-check seems to want to find "bc", which was not native on my
server, so i issued this command:

yum  include bc ;


any thoughts or suggestions about using --disable-optimizations ?  one
other post suggested to enable-debug but that didnt help.



On Fri, Mar 1, 2013 at 7:18 PM, mark edwards <edwardsmarkf at gmail.com> wrote:

> hello all -
>
> my issue running "make check" was never resolved for me back on 1.1.1.
> so i ignored it and installed it anyways.
>
> now that we have 1.1.3 available, i would like to resolve it.  here is
> what i have done so far:
>
> # make distclean ;
> #./configure --disable-shared   --enable-static  --enable-libopus
> --enable-libspeex  --enable-libvorbis && make  1>results.txt
> 2>results-error.txt  ;
>
> # ls -l  ./ffmpeg ;
> -rwxr-xr-x 1 root root 10555820 Mar  1 19:13 ./ffmpeg
>
> # ./ffmpeg  -version ;
> ffmpeg version 1.1.3
> built on Mar  1 2013 19:13:18 with gcc 4.4.6 (GCC) 20120305 (Red Hat
> 4.4.6-4)
> configuration: --disable-shared --enable-static --enable-libopus
> --enable-libspeex --enable-libvorbis
> libavutil      52. 13.100 / 52. 13.100
> libavcodec     54. 86.100 / 54. 86.100
> libavformat    54. 59.106 / 54. 59.106
> libavdevice    54.  3.102 / 54.  3.102
> libavfilter     3. 32.100 /  3. 32.100
> libswscale      2.  1.103 /  2.  1.103
> libswresample   0. 17.102 /  0. 17.102
>
>
> # make V=1 check ;
>
> gcc -I. -I./ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -DTEST
> -std=c99 -fomit-frame-pointer -pthread -I/usr/local/include/opus -g
> -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch
> -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith
> -Wredundant-decls -Wno-pointer-sign -Wwrite-strings -Wtype-limits -Wundef
> -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -O3
> -fno-math-errno -fno-signed-zeros -fno-tree-vectorize
> -Werror=implicit-function-declaration -Werror=missing-prototypes
> -Werror=return-type -Werror=vla  -MMD -MF libavcodec/cabac-test.d -MT
> libavcodec/cabac-test.o -c -o libavcodec/cabac-test.o libavcodec/cabac.c
> libavcodec/cabac.c: In function âmainâ:
> libavcodec/x86/cabac.h:169: error: can't find a register in class
> âGENERAL_REGSâ while reloading âasmâ
> ./libavutil/x86/timer.h:33: error: âasmâ operand has impossible constraints
> (repeats SIX times)
> libavcodec/x86/cabac.h:169: error: âasmâ operand has impossible constraints
> ./libavutil/x86/timer.h:33: error: âasmâ operand has impossible constraints
> make: *** [libavcodec/cabac-test.o] Error 1
>
>
> it seems to be having issues with the cabac.c program.   any ideas,
> suggestions, or hints?  any help would be very much appreciated !
>
>
> # gcc -v
> Using built-in specs.
> Target: i686-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=
> http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared
> --enable-threads=posix --enable-checking=release --with-system-zlib
> --enable-__cxa_atexit --disable-libunwind-exceptions
> --enable-gnu-unique-object
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> --enable-java-awt=gtk --disable-dssi
> --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
> --enable-libgcj-multifile --enable-java-maintainer-mode
> --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
> --with-ppl --with-cloog --with-tune=generic --with-arch=i686
> --build=i686-redhat-linux
> Thread model: posix
> gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC)
>
>
> #  uname -a
> Linux server.XX.com 2.6.18-274.3.1.el5.028stab094.3ent #1 SMP Thu Sep 22
> 14:53:28 MSD 2011 i686 i686 i386 GNU/Linux
>
>
>


More information about the ffmpeg-user mailing list