[comp.lang.c++] Help needed for compiling NIH 3.0

zq@eecg.toronto.edu (Qing Zheng) (01/05/91)

  Now I'm trying to compile NIH 3.0 on Sun-3 with SunOS 3.5. I use AT&T
  C++ 2.0. I have passed 'make' and 'make verify', however, when I try
  to build the multiple inheritance with 'make mi', I get the following
  error message. 

  Could you help me to solve this problem ? My e-mail address is

	zq@eecg.toronto.edu

  Thanks in advance.

%make mi
cd lib; make -f MAKEFILE -b \
	CC=/tube/cplus/bin/CC  CCDEBUG= CCFLAGS="+p -I/tube/cplus/include/CC -I/banff1/zq/include" I=/tube/cplus/include/CC SYS=BSD NESTED_TYPES= BUGDEFS="" DEBUGDEFS="" MAIN=_main.c_p LNFLAGS=-s \
	MI=-DMI NIHCLLIB=libnihclmi.a
make generic _main.c
`_main.c' is up to date.
/tube/cplus/bin/CC -DMI  +p -I/tube/cplus/include/CC -I/banff1/zq/include    -c ArrayOb.c
CC  +p ArrayOb.c:
"ArrayOb.c", line 72: error: ambiguous Object::nil and Object::nil (one not in virtual base)
"ArrayOb.c", line 129: error: ambiguous Object::nil and Object::nil (one not in virtual base)
"ArrayOb.c", line 140: error: ambiguous Object::nil and Object::nil (one not in virtual base)
"ArrayOb.c", line 177: error: two initializers for Collection
"ArrayOb.c", line 177: error: two initializers for Object
"ArrayOb.c", line 218: error: two initializers for Collection
"ArrayOb.c", line 218: error: two initializers for Object
7 errors
*** Error code 1

Stop.
*** Error code 1

Stop.