[omniORB] Building OmniORB 2.7.1 on AIX 4.2, yet another problem.

PJ McKenna pj.mckenna@datalex.ie
Fri, 11 Jun 1999 14:14:20 +0100

I have yet another problem making omniORB2.  The tail of the standard out of
the make is -

	making export in src/lib/omniORB2...
	make[2]: Entering directory
	make[2]: Leaving directory `/home/pj/omniorb_2.7.1/src/lib/omniORB2'
	make[1]: Leaving directory `/home/pj/omniorb_2.7.1/src/lib'     

The last four lines of the standard error is -

	+ ln -s libomnithread2.a.0 libomnithread2.a
	make[2]: *** No rule to make target `Naming.idl', needed by
`Naming.hh'.  Stop.
	make[1]: *** [export] Error 2
	make: *** [export] Error 2

Naming.idl is in the idl subdirectory of the omniORB_2.7.1 directory rather
than in src/lib/omniORB2.  The makefile is too confusing for someone who
doesn't fully understand the glories of 'gnumake'.  Perhaps the problem is
the preprocessor -

	/home/pj/omniorb_2.7.1/idl $omniidl2 ir.idl
	omniidl2: execvp of /lib/cpp failed
	omniidl2: Preprocessor returned non-zero status 1

/lib/cpp doesn't exist.

Has it anything to do with -

	make[3]: Entering directory
	xlC_r -c -O  -I../include  -DIDL_CFE_VERSION='"1.3.0"'
	\" -D__aix__ -D__powerpc__ -D__OSVERSION__=4 -o drv_init.o

Any ideas?