Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 19:45:59 -0500
From:      Will Andrews <andrews@technologist.com>
To:        Patrick Mau <patrick@oscar.prima.de>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.ORG>
Subject:   Re: 'make world' fails
Message-ID:  <20000401194559.J98577@argon.blackdawn.com>
In-Reply-To: <20000402013915.A27424@tony.dorf.wh.uni-dortmund.de>; from patrick@oscar.prima.de on Sun, Apr 02, 2000 at 01:39:15AM %2B0200
References:  <20000402013915.A27424@tony.dorf.wh.uni-dortmund.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 02, 2000 at 01:39:15AM +0200, Patrick Mau wrote:
> Hi all,
> 
> the subject says it all. It fails with the follwing messages:
> 
> ===> libssh
> cd /usr/src/gnu/lib/libgcc;  make depend;  make all;  make install
> echo '#include <i386/xm-i386.h>'        > config.h
> echo '#include "gansidecl.h"'                           > tconfig.h
> echo '#include <xm-freebsd.h>'                          >> config.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 <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 -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
> 
> [root@oscar /usr/src] locate gansidecl.h
> /usr/src/contrib/gcc/gansidecl.h
> 
> [root@oscar /usr/src] locate eh-common.h
> /usr/src/contrib/gcc/eh-common.h

I had a similar problem that plagued me for 2 months before I finally
figured it out 2 days ago. You need to remove your CXXFLAGS definition in
/etc/make.conf, it is conflicting with CXXFLAGS in /usr/share/mk/sys.mk.

-- 
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000401194559.J98577>