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 <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message