From owner-freebsd-current Thu Jul 25 16:41:49 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C401137B400 for ; Thu, 25 Jul 2002 16:41:42 -0700 (PDT) Received: from mail19b.rapidsite.net (mail19b.rapidsite.net [161.58.134.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 2B14843E8A for ; Thu, 25 Jul 2002 16:41:42 -0700 (PDT) (envelope-from rob@pythonemproject.com) Received: from www.pythonemproject.com (198.104.176.109) by mail19b.rapidsite.net (RS ver 1.0.63s) with SMTP id 087084255; Thu, 25 Jul 2002 19:49:17 -0400 (EDT) Message-ID: <3D408C0C.B6344144@pythonemproject.com> Date: Thu, 25 Jul 2002 16:38:52 -0700 From: Rob X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Peter Wemm , Current Subject: Re: make buildworld fails at gperf References: <20020725232601.6DE3E2A7D6@canning.wemm.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop-Detect: 1 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm wrote: > > Rob wrote: > > With a fresh cvsup and rm -r /usr/obj, I then get the following error in > > gperf when typing make buildworld: > > > > Am I doing something wrong? Thanks, Rob. > > > > ----------------------------------- snip > > The problem is that you do not have a viable libstdc++.so.4 with the builtin > new/delete/etc operators. gcc-3.x moved stuff from libgcc.a to libstdc++. > > The easiest way out of this is: > mv /usr/include/g++ /usr/include/g++.old > mkdir -p /usr/include/g++/bits /usr/include/g++/ext /usr/include/g++/backward > cd src/gnu/lib/libstdc++ > make obj > make includes > cd ../libsupc++ > make obj > make includes > cd ../libstdc++ > make depend > make all install > cd ../libsupc++ > make depend > make all install > > This should build you a fresh libstdc++.so.4, libsupc++.a and a matching > /usr/include/g++/* > > The resulting /usr/include/g++ should look roughly like this: > peter@overcee[3:52pm]~src/gnu/lib/libsupc++-105> /bin/ls -F /usr/include/g++ > FlexLexer.h cstdlib list > algorithm cstring locale > backward/ ctime map > bits/ cwchar memory > bitset cwctype new > cassert cxxabi.h numeric > cctype deque ostream > cerrno exception queue > cfloat exception_defines.h set > ciso646 ext/ sstream > climits fstream stack > clocale functional stdexcept > cmath iomanip streambuf > complex ios string > csetjmp iosfwd typeinfo > csignal iostream utility > cstdarg istream valarray > cstddef iterator vector > cstdio limits > > If you are really stuck, or do not have time to mess around, you might > prefer to fetch and extract this: > http://people.freebsd.org/~peter/c++fixit.tgz > Move your old /usr/include/g++ out of the way before extracting it > and save a copy of your /usr/lib/libstdc++* files as well. > > Cheers, > -Peter > -- > Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com > "All of this is for nothing if we don't go to the stars" - JMS/B5 > Thanks, Peter. I actually got Ruslam's suggestion working, using the older Makefile.inc1, and make buildworld is running right now. It didn't work at first as I didn't do a make clean. If it crashes, I will use your method. Thanks, Rob. -- ----------------------------- The Numeric Python EM Project www.pythonemproject.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message