From owner-freebsd-questions@FreeBSD.ORG Fri Jun 6 14:32:09 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DB84644 for ; Fri, 6 Jun 2014 14:32:09 +0000 (UTC) Received: from keptprivate.com (keptprivate.com [38.117.1.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.keptprivate.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E66A52749 for ; Fri, 6 Jun 2014 14:32:08 +0000 (UTC) Received: (qmail 13054 invoked by uid 89); 6 Jun 2014 14:27:53 -0000 Received: from (HELO ) (katmai@keptprivate.com) by keptprivate.com with ESMTPA; 6 Jun 2014 14:27:53 -0000 Message-ID: <5391CFEB.8030802@keptprivate.com> Date: Fri, 06 Jun 2014 16:27:55 +0200 From: Stefanita Rares Dumitrescu User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Thunderbird/30.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: configure: error: C compiler cannot create executables References: <534E5702.6040601@keptprivate.com> In-Reply-To: <534E5702.6040601@keptprivate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jun 2014 14:32:09 -0000 Hey guys, I posted this a while ago, does anyone have any suggestions please? On 16/04/2014 12:10, Stefanita Rares Dumitrescu wrote: > Hi guys, i have a problem over here. > > I can't upgrade any packages because i am getting "configure: error: C > compiler cannot create executables" > > Here's the part where it fails from config.log. > > configure:3448: checking whether the C compiler works > configure:3470: cc -I/usr/local/include -O2 -pipe > -fno-strict-aliasing -Wl,-rpath,/usr/lib:/usr/local/lib -pthread > conftest.c -L/usr/local/lib -Wl,-rpath,/usr/lib:/usr/local/lib > -pthread >&5 > /usr/lib/libpthread.so: undefined reference to > `__elf_phdr_match_addr@FBSDprivate_1.0' > configure:3474: $? = 1 > configure:3512: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "" > | #define CANONICALIZATION_FOR_MATHN 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:3517: error: in `/usr/ports/lang/ruby19/work/ruby-1.9.3-p484': > configure:3520: error: C compiler cannot create executables > See `config.log' for more details > > The thing with this system is: i was using a custom kernel, and i > tried to upgrade to freebsd 8.4 from 8.3. I didn't realise that the > kernel did not get upgraded after the freebsd-update utility ran, and > i am still running the 8.3 kernel but seemingly on a 8.4 system. > > I can't recompile world/kernel right now because it errors out at > pthreads. > > Do you have any idea on what could i do to get the system back in > shape ? The thing is i am cautious with this, since it's a production > server. > > The thing is i have upgraded about 13 other machines from either 8.3 > to 8.4 or 9.0->9.2 without issues, and only this one borked out. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"