Bug #3509
Cannot cross compile master
0%
Description
when cross compiling master i get the following failure. this used to work up to 2 days ago... (don't bother with tvheadend-4.1.9 shown below.. it is actually latest master)
checking whether we are cross compiling... configure: error: in `/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/yasm-1.3.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
Makefile.ffmpeg:134: recipe for target '/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/yasm-1.3.0/.tvh_build' failed
make1: * [/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/yasm-1.3.0/.tvh_build] Error 1
make1: Waiting for unfinished jobs....
2016-01-20 04:34:25 URL:http://ffmpeg.org/releases/ffmpeg-2.8.2.tar.bz2 [8573586/8573586] -> "/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/ffmpeg-2.8.2.tar.bz2" [1]
SHA1SUM test '1952aeb9ec3f569514d8db4f30c195b765392639' == '1952aeb9ec3f569514d8db4f30c195b765392639': OK
UNTAR ffmpeg-2.8.2.tar.bz2
patching file libavcodec/libvpxenc.c
make1: Leaving directory '/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi'
Makefile:692: recipe for target '/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a' failed
make: [/home/mark/src/OpenELEC.tv/build.OpenELEC-WeTek_Play.arm-7.0-devel/tvheadend-4.1.9/.armv7a-openelec-linux-gnueabi/build.linux/ffmpeg/build/ffmpeg/lib/libavcodec.a] Error 2
make: * Waiting for unfinished jobs....
History
Updated by Paolo Roascio almost 9 years ago
I had the same issue building my own openelec addon.
If you don't need transcoding, try to configure with:
--disable-ffmpeg_static --disable-x264_static