Date: Fri, 16 Feb 2001 14:40:21 -0500 (EST) From: Dorens Jay <jdorens73@mail.com> To: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> Cc: freebsd-stable@freebsd.org Subject: Re: Problems compiling 4.2-STABLE from 4.2-RELEASE Message-ID: <382281753.982352421087.JavaMail.root@web569-mc>
next in thread | raw e-mail | index | archive | help
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 <jdorens73@mail.com> 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 <i386/xm-i386.h>' > config.h > echo '#include <xm-freebsd.h>' >> 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 <freebsd.h>' >> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?382281753.982352421087.JavaMail.root>