C compiler cannot create executables

Rod Person rodperson at verizon.net
Tue Nov 6 17:19:37 PST 2007

Hash: SHA1

On Tue, 06 Nov 2007 20:01:26 -0500
Steve Bertrand <iaccounts at ibctech.ca> wrote:

> Rod Person wrote:
> > I seem to have really hosed up my system somehow and I'm not sure
> > what I did. I'm running FreeBSD 7 Beta 1 i386.
> > 
> > I was going to upgrade to Beta 2, but when ever I compile anything
> > it fails and the last line is always:
> > 
> > configure: error: C compiler cannot create executables
> > 
> > I googled for awhile and found the suggestion to reinstall libtool,
> > but that also fails with the same error.
> I had this exact problem with a production box quite a while ago.
> This was on a machine that was running 5.x.
> What I did was remove one of the mirrored drives, booted it in another
> machine. I put in a 6.x CD, ran sysinstall and did a binary upgrade.
> This was the only way I could fix the problem. Since then, the same
> box after being put back into production is currently running fine at
> 6.2
> If you have good backups, or even better, a RAID1 system, a binary
> upgrade may be the easiest fix. It was for me.
> Steve

Thanks Steve,

I was kind of was thinking of doing this if nothing else works. I have
back ups of all the data. Unfortunately, this workstation doesn't have
a RAID setup, but now I'm thinking of this for the future :)

- -- 

Version: GnuPG v1.4.7 (FreeBSD)


More information about the freebsd-questions mailing list