OpenELEC Forum
Error Compiling 4.1.4 for RPi and Generic - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: MISCELLANEOUS (https://forum.openelec.tv/forumdisplay.php?fid=23)
+--- Thread: Error Compiling 4.1.4 for RPi and Generic (/showthread.php?tid=72437)



[Solved] Error Compiling 4.1.4 for RPi and Generic - doug - 08-17-2014

Hi,
I'm trying to compile OE 4.1.4 but am getting the following:
Code:
BUILD gcc (bootstrap)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-openelec-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /home/doug/OpenELEC.tv/build.OpenELEC-Generic.x86_64-4.1.4/toolchain/bin/sed
checking for gawk... gawk
checking for libcilkrts support... yes
checking for libvtv support... yes
checking for x86_64-linux-gnu-gcc... /home/doug/OpenELEC.tv/build.OpenELEC-Generic.x86_64-4.1.4/toolchain/bin/host-gcc
checking for C compiler default output file name...
configure: error: in `/home/doug/OpenELEC.tv/build.OpenELEC-Generic.x86_64-4.1.4/gcc-4.9.1/.x86_64-openelec-linux-gnu-bootstrap':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make: bbcode.txt done insert_posts.sh mybb_posts.csv mybb_posts.sql new newnew oej34_kunena_messages.csv oej34_kunena_messages_text.csv oej34_kunena_messages_text.sql oej34_kunena_users_banned.csv oej34_kunena_users.csv oej34_users.csv old openelecj34prod.sql posts.sh replace.sh table_posts test.csv test.txt update_sample.sql [release] Error 77
My config.log

Nearest I can figure is something to do with
Code:
configure:4235: /home/doug/OpenELEC.tv/build.OpenELEC-Generic.x86_64-4.1.4/toolchain/bin/host-gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.

But I'm a novice with this stuff, so any help is appreciated.

Doug


Error Compiling 4.1.4 for RPi and Generic - doug - 08-17-2014

Well, it's fixed, but I still get the same error. Must not be relevant. Wiping out OpenELEC.tv, "make clean", and "rm -rf ~/.ccache-openelec" seem to be the best way to resolve all the weird stuff I can figure out.