[Libav-user] Fail to compile under ubuntu 14041 64bit OS error in libavfilter/vf_noise.c (assemby code)

Self User selfuser at gmail.com
Mon Apr 24 07:58:55 EEST 2017


Hi

user at user-VirtualBox:~/iptv/IPM-R2$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.4-2ubuntu1~14.04.3'
--with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap
--enable-plugin --with-system-zlib --disable-browser-plugin
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)

I will try to disable it.

On Sun, Apr 23, 2017 at 6:40 PM, Paul B Mahol <onemda at gmail.com> wrote:

> On 4/23/17, Self User <selfuser at gmail.com> wrote:
> > Hi again,
> >
> > I would like to update that I am using a private application above ffmpeg
> > package.
> >
> > I tried to compile the ffmpeg alone and it worked !
> >
> > I used this configuration:
> >
> > ./configure --disable-yasm --disable-zlib --disable-stripping
> >  --enable-debug=3 --disable-optimizations --enable-swresample
> > --disable-avdevice --disable-swscale --disable-programs --disable-doc
> > --disable-htmlpages  --disable-manpages --disable-podpages
> > --disable-txtpages --disable-encoders --disable-decoders --disable-muxers
> > --disable-demuxers --enable-decoder=h264 --enable-decoder=mpeg2video
> > --enable-decoder=mp2 --enable-decoder=aac --enable-decoder=ac3
> > --enable-parser=h264 --enable-demuxer=mpegts --enable-demuxer=mpegtsraw
> > --enable-demuxer=hls --enable-demuxer=rtsp --enable-demuxer=rtp
> > --enable-protocol=hls --enable-filter=ebur128 --enable-gpl
> > --disable-filter=pp --bindir="bin" --libdir="/home/dev/ffmpeg32/
> build/lib"
> > --shlibdir="/home/dev/ffmpeg32/build/lib"
> > --incdir="/home/dev/ffmpeg32/build/include"
> > --enable-rpath --enable-shared --disable-static
> > --prefix=/home/dev/ffmpeg32/
> > build
> >
> > the package compiled perfect.
> >
> >
> > but when I am using my app (which has a lot of files...) I get the
> > vf_noise.c compile error.
> >
> > Is there any flag that can cause or affect ffmpeg? (I saw STDINT - and I
> am
> > not sure I know what it means...) ?
>
> What compiler you use?
> You can disable noise filter as workaround.
>
> >
> >
> >
> >
> >
> > On Sun, Apr 23, 2017 at 6:20 PM, Self User <selfuser at gmail.com> wrote:
> >
> >> ffmpeg version 3.2
> >>
> >> thanks
> >>
> >>
> >> On Sun, Apr 23, 2017 at 6:05 PM, Paul B Mahol <onemda at gmail.com> wrote:
> >>
> >>> On 4/23/17, Self User <selfuser at gmail.com> wrote:
> >>> > hi all,
> >>> >
> >>> > i am getting this errors:
> >>> >
> >>> > libavfilter/vf_noise.c: Assembler messages:
> >>> > libavfilter/vf_noise.c:230: Error: `(%rdx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:231: Error: `(%rcx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:235: Error: `(%rsi,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:260: Error: `(%rdx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:261: Error: `(%rcx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:265: Error: `(%rsi,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:298: Error: `(%rcx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:299: Error: `(%rdx,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:300: Error: `(%rsi,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:301: Error: `(%rdi,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> > libavfilter/vf_noise.c:317: Error: `(%r8,%eax)' is not a valid
> >>> base/index
> >>> > expression
> >>> >
> >>> >
> >>> > I saw in google that it naybe concern to the 64 bit, but how can I
> >>> resolve
> >>> > the errors?
> >>>
> >>> What version of FFmpeg?
> >>> _______________________________________________
> >>> Libav-user mailing list
> >>> Libav-user at ffmpeg.org
> >>> http://ffmpeg.org/mailman/listinfo/libav-user
> >>>
> >>
> >>
> >
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170424/6596d794/attachment.html>


More information about the Libav-user mailing list