From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 01:30:05 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB2F216A46C for ; Wed, 7 Nov 2007 01:30:05 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 403C913C494 for ; Wed, 7 Nov 2007 01:30:05 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 74049 invoked by uid 1002); 7 Nov 2007 01:03:18 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.104.100):. Processed in 6.355934 secs); 07 Nov 2007 01:03:18 -0000 Received: from unknown (HELO ?192.168.30.110?) (steve@ibctech.ca@208.70.104.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 7 Nov 2007 01:03:12 -0000 Message-ID: <47310E66.7040103@ibctech.ca> Date: Tue, 06 Nov 2007 20:01:26 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Rod Person References: <20071106193829.531e3067@atomizer.opensourcebeef.net> In-Reply-To: <20071106193829.531e3067@atomizer.opensourcebeef.net> X-Enigmail-Version: 0.95.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: C compiler cannot create executables X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 01:30:05 -0000 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