WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gcc not working  (Read 3744 times)

Offline jrm7262

  • Newbie
  • *
  • Posts: 22
gcc not working
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: gcc not working
« Reply #1 on: March 13, 2012, 06:25:25 AM »
Install libmpc.tcz and retry.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jrm7262

  • Newbie
  • *
  • Posts: 22
Re: gcc not working
« Reply #2 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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: gcc not working
« Reply #3 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