configure: error: C compiler cannot create executables
#1
I'm trying to follow README.android to build Kodi Android and everything was going fine until one particular dependency (pcre) failed to build:
 
What am I missing?
Reply
#2
You toolchain seems to be set up wrong.

Post ls -la /opt/x86-linux-4.9-vanilla /opt/x86-linux-4.9-vanilla/bin
Reply
#3
(2018-05-30, 16:10)Rechi Wrote: You toolchain seems to be set up wrong.

Post ls -la /opt/x86-linux-4.9-vanilla /opt/x86-linux-4.9-vanilla/bin
 Hopefully this helps:
 
Reply
#4
Your correct toolchain argument is /opt/x86-linux-4.9-vanilla/android-21/.
Reply
#5
(2018-05-30, 23:24)Rechi Wrote: Your correct toolchain argument is /opt/x86-linux-4.9-vanilla/android-21/.
 I was compiling for the wrong architecture so I started over from scratch (and added the missing '.'), however, I'm still having the same issue:
 
Reply
#6
NO '.' is just end of the sentence, your previous toolchain argument didn't have android-21 at the end.
Reply
#7
(2018-05-31, 15:19)Rechi Wrote: NO '.' is just end of the sentence, your previous toolchain argument didn't have android-21 at the end.
 Oh, sorry about the confusion.

Now I get a different problem that feels related to the same lib:
Reply
#8
post /home/Ricardo/Workspace/kodi-android/tools/depends/target/pcre/arm-linux-androideabi-21-debug/config.log
Reply
#9
(2018-06-01, 11:59)Rechi Wrote: post /home/Ricardo/Workspace/kodi-android/tools/depends/target/pcre/arm-linux-androideabi-21-debug/config.log
 https://pastebin.com/g1E7r7VQ
Reply
#10
@Rechi Any other steps I could take here?
Reply

Logout Mark Read Team Forum Stats Members Help
configure: error: C compiler cannot create executables0