[Libav-user] FFMPEG giving error at compilation

Anshul er.anshul.maheshwari at gmail.com
Fri Feb 8 09:14:24 CET 2013


On 02/08/2013 12:52 PM, Carl Eugen Hoyos wrote:
> Anshul<er.anshul.maheshwari at ...>  writes:
>
>> Guys when I compile ffmpeg1.1 with enable-gpl flag and
>> enable-x264 flag I get an error "can’t find a register
>> in class ‘GENERAL_REGS’"
>> Its in File libpostproc/postprocess_template.c:1094:5
> Please test the following:
> $ make distclean
> $ ./configure --enable-gpl --enable-libx264 && make ffmpeg
>
> If you see the build failure indicated above, please run:
> $ make V=1
>
> and post the complete, uncut console output of the last
> make run. Please do never post the complete, uncut
> console output of the first make call.
>
> And please post your gcc version.
>
> Note that thread-hijacking is very rude and therefore
> not welcome!
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

using command

/configure --enable-gpl --enable-libx264 && make ffmpeg

every thing worked but when i am using the below flag it is giving me
compilation error:

./configure --disable-optimizations --enable-gpl --enable-libx264


error at compile Time
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 -std=c99 
-pthread -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -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  -fno-math-errno -fno-signed-zeros 
-fno-tree-vectorize -Werror=implicit-function-declaration 
-Werror=missing-prototypes -Werror=vla  -MMD -MF 
libpostproc/postprocess.d -MT libpostproc/postprocess.o -c -o 
libpostproc/postprocess.o libpostproc/postprocess.c
In file included from libpostproc/postprocess.c:556:0:
libpostproc/postprocess_template.c: In function ‘dering_MMX2’:
libpostproc/postprocess_template.c:1094:5: error: can’t find a register 
in class ‘GENERAL_REGS’ while reloading ‘asm’
libpostproc/postprocess_template.c:1094:5: error: ‘asm’ operand has 
impossible constraints
make: *** [libpostproc/postprocess.o] Error 1

gcc version 4.6.2

pardon me if I am unintentionaly culprit of thread hi-jacking, but can 
you expain it how.

Note that thread-hijacking is very rude and therefore
not welcome!

Thanks
Anshul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130208/fc0402a6/attachment.html>


More information about the Libav-user mailing list