[FFmpeg-user] Issue Crossbuilding ffplay with openembedded
Patrick Shirkey
pshirkey at boosthardware.com
Fri Jul 11 09:38:16 CEST 2014
On Fri, July 11, 2014 5:02 pm, Carl Eugen Hoyos wrote:
> Rickoo <natural_groove <at> hotmail.fr> writes:
>
>> SRC_URI = "https://www.ffmpeg.org/releases/ffmpeg-2.1.1.tar.gz"
>
> This is horribly outdated, why are you using it?
>
>> DEPENDS = "yasm-native libsdl libx11 zlib libtheora
>> libogg libass libtool"
>
> You don't use libass, why did you add it to depend?
> Not sure about libx11...
>
>> EXTRA_OECONF = "--arch=arm --enable-cross-compile
>> --cross-prefix=${CROSS_COMPILE} --target-os=linux
>
>> --enable-gpl
>
> Unrelated: None of your external libraries need
> --enable-gpl why are you using it?
>
>> --enable-libtheora --enable-libvorbis
>
>> --extra-libs="-ldl"
>
> Why is this necessary?
> Is there a bug that (is reproducible with current git head
> and that) we should fix?
>
>> --enable-ffplay
>
> This is useless, it is the default (and as you found
> out, configure does not warn about it).
> Please remove it.
>
> Please post the content of config.log starting with
> "check_pkg_config sdl" until "check_header linux" or
> "check_header sys".
>
FWIW I have the same result building for android-4.4:
check_header linux/fb.h
check_cpp
BEGIN /tmp/ffconf.DYzvreA6.c
1 #include <linux/fb.h>
2 int x;
END /tmp/ffconf.DYzvreA6.c
/h4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc
--sysroot=/home/patrick/antenna/android/Iris2/4.4/android-4.4-b1/prebuilts/ndk/current/platforms/android-18/arch-arm
-isysroot
/4.4/android-4.4-b1/prebuilts/ndk/current/platforms/android-18/arch-arm
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Dstrtod=avpriv_strtod -DPIC -fno-builtin-sin -fno-builtin-sinf
-I/4.4/android-4.4-b1/external/x264 -march=armv5te -std=c99
-fomit-frame-pointer -fPIC -marm -pthread -E -o /tmp/ffconf.z0SyolNn.o
/tmp/ffconf.DYzvreA6.c
check_header linux/videodev.h
check_cpp
BEGIN /tmp/ffconf.DYzvreA6.c
1 #include <linux/videodev.h>
2 int x;
END /tmp/ffconf.DYzvreA6.c
/home/patrick/antenna/android/Iris2/4.4/android-4.4-b1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc
--sysroot=/4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-isysroot /4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Dstrtod=avpriv_strtod -DPIC -fno-builtin-sin -fno-builtin-sinf
-I/4.4/external/x264 -march=armv5te -std=c99 -fomit-frame-pointer -fPIC
-marm -pthread -E -o /tmp/ffconf.z0SyolNn.o /tmp/ffconf.DYzvreA6.c
check_header linux/videodev2.h
check_cpp
BEGIN /tmp/ffconf.DYzvreA6.c
1 #include <linux/videodev2.h>
2 int x;
END /tmp/ffconf.DYzvreA6.c
/4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc
--sysroot=/4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-isysroot /4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Dstrtod=avpriv_strtod -DPIC -fno-builtin-sin -fno-builtin-sinf
-I/4.4/external/x264 -march=armv5te -std=c99 -fomit-frame-pointer -fPIC
-marm -pthread -E -o /tmp/ffconf.z0SyolNn.o /tmp/ffconf.DYzvreA6.c
check_code cc linux/videodev2.h struct v4l2_frmsizeenum vfse;
vfse.discrete.width = 0;
check_cc
BEGIN /tmp/ffconf.DYzvreA6.c
1 #include <linux/videodev2.h>
2 int main(void) { struct v4l2_frmsizeenum vfse; vfse.discrete.width =
0;; return 0; }
END /tmp/ffconf.DYzvreA6.c
/4.4/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc
--sysroot=/4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-isysroot /4.4/prebuilts/ndk/current/platforms/android-18/arch-arm
-D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Dstrtod=avpriv_strtod -DPIC -fno-builtin-sin -fno-builtin-sinf
-I/4.4/external/x264 -march=armv5te -std=c99 -fomit-frame-pointer -fPIC
-marm -pthread -c -o /tmp/ffconf.z0SyolNn.o /tmp/ffconf.DYzvreA6.c
In file included from /tmp/ffconf.DYzvreA6.c:1:0:
/4.4/prebuilts/ndk/current/platforms/android-18/arch-arm/usr/include/linux/videodev2.h:270:17:
error: field 'timestamp' has incomplete type
/tmp/ffconf.DYzvreA6.c: In function 'main':
/tmp/ffconf.DYzvreA6.c:2:42: error: storage size of 'vfse' isn't known
check_header sys/videoio.h
--
Patrick Shirkey
Boost Hardware Ltd
More information about the ffmpeg-user
mailing list