On 2014-05-15 10:13:01 +0800, James Yu wrote:
> On 15 May 2014 02:13, Janne Grunau <[email protected]> wrote:
> 
> > On 2014-05-15 00:16:48 +0800, James Yu wrote:
> > > On 14 May 2014 21:12, James Yu <[email protected]> wrote:
> > >
> > > I found this fails even in master branch. Could you help check? Thanks
> > >
> > > commit 7e90133f6420b1c53652f972b9561600822881ee
> > > Author: Janne Grunau <[email protected]>
> > > Date:   Wed May 14 00:05:27 2014 +0200
> > >
> > >     build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not
> > defined
> > >
> > >     Avoids including disabled library Makefiles.
> > >
> > > .....
> > > TEST    vsynth1-mpeg4
> > > --- ./tests/ref/vsynth/vsynth1-mpeg4 2014-05-13 12:17:43.000000000 +0000
> > > +++ tests/data/fate/vsynth1-mpeg4 2014-05-15 00:12:50.220000001 +0000
> > > @@ -1,4 +0,0 @@
> > > -dc927acd770e19a97456ecbd4d786938 *tests/data/fate/vsynth1-mpeg4.mp4
> > > -540180 tests/data/fate/vsynth1-mpeg4.mp4
> > > -8828a375448dc5c2215163ba70656f89
> > > *tests/data/fate/vsynth1-mpeg4.out.rawvideo
> > > -stddev:    7.97 PSNR: 30.10 MAXDIFF:  105 bytes:  7603200/  7603200
> > > make: *** [fate-vsynth1-mpeg4] Error 127
> >
> > a simple make fate-* only works for native builds. It's a more complicated
> > for cross builds and requires extra configuration.
> >
> > If you're using qemu-aarch64 something like
> > make TARGET_EXEC='qemu-aarch64 -L $SYSROOT' make fate should work. you can
> > set --target-exec at configure time.
> >
> > If you have a real target, the build directory needs to be available on
> > target. If you can't mount to the same path use
> > --target-path=/path/to/build_dir/on_target . As --target-exec something
> > like
> > 'ssh target' should work.
> >
> > Hi,
> 
> Yes, I'm using a real armv7 target for rewrite to intrinsics.
> 
> Here is my configure argument
> ======================================
> ./configure --prefix=/home/james/src/libav/install-armv7
> --samples=/home/james/src/libav/fate-suite --enable-gpl
> --enable-cross-compile --cc=arm-linux-gnueabihf-gcc
> --extra-cflags='-mfpu=neon' --disable-debug --arch=arm --target-os=linux
> --enable-thumb --disable-doc --enable-shared --enable-pic
> --logfile=/home/james/src/libav/config.log --target-exec='ssh
> [email protected]' --target-path=/home/linaro/libav/libav
> --target-samples=/home/linaro/libav/fate-suite
> =====================================
> 
> It still have same fail when I run "make fate-vsynth1-mpeg4" on my host.
> Do I miss something? Thanks.

probably missing libraries on the target as it is a shared build. You have 
to set LD_LIBRARY_PATH on the target or install them so that the runtime 
linker finds them. Or remove the --enable-shared.

make sure `ssh [email protected] /home/linaro/libav/libav/avconv -h` works

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to