Discussion:
[FFmpeg-user] arm-linux-gnueabi-gcc is unable to create an executable file.
Code Wiget
2018-12-07 00:19:23 UTC
Permalink
Hi. I’m having trouble cross compiling for a Mangoh Red


 I found a post here: https://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027612.html where someone else had a similar issue, but this command doesn’t work. For some reason, it is saying that my c compiler "is unable to create an executable file”. I’ve built many programs with this CC, it came straight from linaro so that is not the issue.

Here is my command
./configure --enable-cross-compile --cross-prefix=/home/codewiget/repos/tools/linaro/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi- --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree  --extra-libs=-ldl --enable-gpl
What else do I need to include to compile ffmpeg? I included the config.log

Thanks!
Carl Eugen Hoyos
2018-12-07 00:46:18 UTC
Permalink
Hi. I’m having trouble cross compiling for a Mangoh Red…
I found a post
here: https://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027612.html where
someone else had a similar issue, but this command doesn’t work. For some
reason, it is saying that my c compiler "is unable to create an executable
file”. I’ve built many programs with this CC, it came straight from linaro
so that is not the issue.
Here is my command
./configure --enable-cross-compile
--cross-prefix=/home/codewiget/repos/tools/linaro/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-
--arch=armel --target-os=linux --enable-gpl --enable-libx264
--enable-nonfree --extra-libs=-ldl --enable-gpl
Please confirm that you are testing current FFmpeg git head, remove
--enable-nonfree (you don't want it), and try --cpu=armv7-m, if that
doesn't work try --cpu=armv7
You can also remove --enable-cross-compile to simplify the
configure line.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@f
Carl Eugen Hoyos
2018-12-07 01:05:15 UTC
Permalink
Post by Carl Eugen Hoyos
Hi. I’m having trouble cross compiling for a Mangoh Red…
I found a post
here: https://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027612.html where
someone else had a similar issue, but this command doesn’t work. For some
reason, it is saying that my c compiler "is unable to create an executable
file”. I’ve built many programs with this CC, it came straight from linaro
so that is not the issue.
Here is my command
./configure --enable-cross-compile
--cross-prefix=/home/codewiget/repos/tools/linaro/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-
--arch=armel --target-os=linux --enable-gpl --enable-libx264
--enable-nonfree --extra-libs=-ldl --enable-gpl
Please confirm that you are testing current FFmpeg git head, remove
--enable-nonfree (you don't want it), and try --cpu=armv7-m, if that
doesn't work try --cpu=armv7
Or perhaps actually --cpu=cortex-m4
Post by Carl Eugen Hoyos
You can also remove --enable-cross-compile to simplify the
configure line.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsubs

Loading...