Subject: problems with 960413 source
To: Current Users <current-users@NetBSD.ORG>
From: Jukka Marin <jmarin@teeri.jmp.fi>
List: current-users
Date: 04/18/1996 09:27:58
While compiling libs and bins on Sparc, I get these:

g++ -O -I/home/jmarin/src/gnu/lib/libg++/libg++/src -I/home/jmarin/src/gnu/
lib/libg++/libg++/src/../../libio -Werror -nostdinc++ -I/home/jmarin/src/
gnu/lib/libg++/libg++/src/../../include  -I/home/jmarin/src/gnu/lib/libg++/
libg++/src/../../libio -I/home/jmarin/src/gnu/lib/libg++/libg++/src/../../
libstdc++  -c AllocRing.cc
In file included from /home/jmarin/src/gnu/lib/libg++/libg++/src/../../
libstdc++/new.h:6, from AllocRing.cc:24:
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:25:
 declaration of `__nw' as array of functions
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:25:
 `__nw' redeclared as different kind of symbol
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:24:
 previous declaration of `void * operator new (unsigned int)'
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:27:
 declaration of `__dl' as array of functions
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:27:
 `__dl' redeclared as different kind of symbol
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:26:
 previous declaration of `void  operator delete (void *)'
/home/jmarin/src/gnu/lib/libg++/libg++/src/../../libstdc++/std/new.h:31:
 syntax error before `{'
*** Error code 1

And then, if I cd to ../src/gnu/usr.bin and make depend; make:

cc -o bi-arity bi-arity.o bi-parser.o bi-lexer.o bi-reverse.o obstack.o
./bi-arity < /home/jmarin/src/gnu/usr.bin/gcc/common/bytecode.def > bc-arity.h
yacc -b c -d c-parse.y
yacc: e - line 30 of "c-parse.y", syntax error
%expect 34
^
*** Error code 1

I wanted to build the world, but can't seem to do it :-I  Am I doing something
stupid?

  -jm


P.S. The 'can't build libc' problem was solved: I had an extra copy of ctags
     in /usr/local/bin and that copy couldn't handle very long command lines.
     I simply removed /usr/local/bin/ctags and everything was fine..

-- 

                     ---> http://www.jmp.fi/~jmarin/ <---