On 15 May 2014 22:57, Janne Grunau <[email protected]> wrote:

> On 2014-05-15 21:41:29 +0800, James Yu wrote:
> > On 15 May 2014 17:08, Janne Grunau <[email protected]> wrote:
> >
> > > > >
> > > > > 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.
> > > > >
> > > > 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
> > >
> >
> > I remove --enable-shared and confirmed that `ssh [email protected]
> > /home/linaro/libav/libav/avconv
> > -h` works. But when I run make V=2 fate-vsynth1-mpeg4 still failed. The
> > different is "Error 1" not 127.
>
> is ~/src/libav/libav on the host the same directory as
> /home/linaro/libav/libav on the target shared with a network file system?
>
> The command on the target writes into
> /home/linaro/libav/libav/tests/data/fate/ and the comparison with the
> desired results runs on the host.
>
> Hi,

I got it. I can reproduce the test fail with my patch. Will analyze it and
resend patch.

Thank you Janne!!

-James


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

Reply via email to