Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: jrm7262 on March 13, 2012, 06:22:40 AM

Title: gcc not working
Post by: jrm7262 on March 13, 2012, 06:22:40 AM
Hi all,

        Have just installed tc4 and the compiletc extention.

When I run ./configure it fails with:

     root@box:/mnt/sda1/keep/reaver-1.4/src# ./configure
     checking for gcc... gcc
     checking whether the C compiler works... no
     configure: error: in `/mnt/sda1/keep/reaver-1.4/src':
     configure: error: C compiler cannot create executables

Is the error in gcc or the src files?

Apologies for any stupidity in the question, I haven't compiled anything since college and that was quite some time ago.
Any guidance greatly appreciated, even if its - "read this ...."

Kindest regards
James
Title: Re: gcc not working
Post by: bmarkus on March 13, 2012, 06:25:25 AM
Install libmpc.tcz and retry.
Title: Re: gcc not working
Post by: jrm7262 on March 13, 2012, 11:11:02 AM
hi bmarcus,

                  Thank you for your reply, unfortunately even with libmpc.tcz the same error persists.

Kindest regards
James
Title: Re: gcc not working
Post by: Juanito on March 13, 2012, 01:53:00 PM
     configure: error: C compiler cannot create executables

This error is often due to one of the extensions listed in compiletc.tcz.dep (and their deps in turn) being missing - it would be good to check that they are all there and loaded properly