From owner-freebsd-stable Fri Feb 16 11:40:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rmx614-mta.mail.com (rmx614-mta.mail.com [165.251.48.52]) by hub.freebsd.org (Postfix) with ESMTP id 61AC837B4EC for ; Fri, 16 Feb 2001 11:40:25 -0800 (PST) Received: from web569-mc (web569-mc.mail.com [165.251.48.92]) by rmx614-mta.mail.com (8.9.3/8.9.3) with SMTP id OAA22949; Fri, 16 Feb 2001 14:40:22 -0500 (EST) Message-ID: <382281753.982352421087.JavaMail.root@web569-mc> Date: Fri, 16 Feb 2001 14:40:21 -0500 (EST) From: Dorens Jay To: Wolfgang Zenker Subject: Re: Problems compiling 4.2-STABLE from 4.2-RELEASE Cc: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: mail.com X-Originating-IP: 151.188.17.248 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I figured it out. I had installed ~/.bash_profile from my linux box. It contained this line - CFLAGS="-O -pipe -mcpu=i586 -march=i586" Apparently FreeBSD gets confused by the quotes. After deleteing that line from .bash_profile, I entered this into /etc/make.conf -- CFLAGS= -O -pipe -mcpu=i586 -march=i586 No quotes. Now it compiles make buildworld just fine! Be wary of the little details - they can blindside you. JD ------Original Message------ From: wolfgang@lyxys.ka.sub.org (Wolfgang Zenker) To: Dorens Jay Sent: February 16, 2001 9:52:24 AM GMT Subject: Re: Problems compiling 4.2-STABLE from 4.2-RELEASE > Trying to upgrade from 4.2-RELEASE to 4.2-STABLE, but I keep getting this > same error (below). [..] Can you reproduce the error if you run mkdep for exception.cc by hand? If you can, try to ktrace the mkdep to see where it is looking for the header files. > Here is the error: > cd /usr/src/gnu/lib/libgcc; make depend; make all; make install > echo '#include ' > config.h > echo '#include ' >> config.h > echo '#include "gansidecl.h"' > tconfig.h > echo '#include "i386/xm-i386.h"' >> tconfig.h > echo '#include "i386/i386.h"' > tm.h > echo '#include "i386/att.h"' >> tm.h > echo '#include "svr4.h"' >> tm.h > echo '#include ' >> tm.h > echo '#include "i386/freebsd.h"' >> tm.h > echo '#include "i386/perform.h"' >> tm.h > rm -f .depend > mkdep -f .depend -a -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I. -DIN_GCC -D_PTHREADS -DGTHREAD_USE_WEAK -I/usr/obj/usr/src/i386/usr/include /usr/src/gnu/lib/libgcc/../../../contrib/gcc/frame.c > mkdep -f .depend -a -nostdinc++ -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/inc /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/tinfo.cc /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/tinfo2.cc /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/new.cc /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/exception.cc > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/exception.cc:33: gansidecl.h: No such file or directory > /usr/src/gnu/lib/libgcc/../../../contrib/gcc/cp/exception.cc:34: eh-common.h: No such file or directory > mkdep: compile failed > *** Error code 1 ______________________________________________ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message