arm-linux-gnueabi-gcc is unable to create an executable file.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

arm-linux-gnueabi-gcc is unable to create an executable file.

Code Wiget
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!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

config.log (346K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: arm-linux-gnueabi-gcc is unable to create an executable file.

Carl Eugen Hoyos-2
2018-12-07 1:19 GMT+01:00, Code Wiget <[hidden email]>:

> 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
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: arm-linux-gnueabi-gcc is unable to create an executable file.

Carl Eugen Hoyos-2
2018-12-07 1:46 GMT+01:00, Carl Eugen Hoyos <[hidden email]>:

> 2018-12-07 1:19 GMT+01:00, Code Wiget <[hidden email]>:
>> 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

> You can also remove --enable-cross-compile to simplify the
> configure line.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".