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

Gary D. Duzan gdd0@gte.com
Fri, 11 Jun 1999 09:38:29 -0400


   You need to find where cpp lives under that compiler version and add a

CPP = /path/to/cpp

to your mk/platforms/powerpc_aix_4.2_funky_compiler.mk file and rebuild
omniidl2. In xlC 3.1.4 /lib/cpp is a link to /usr/ccs/lib/cpp, so you
might look there. It might also need to be installed separately; check
if you have something like "ibmcxx.cpp" or some such thing installed.
(It is in "xlC.cpp" in 3.1.4, but the packages changed around in
3.6.x.)

					Gary Duzan
					GTE Laboratories



In Message <111302C972D7D01185A00060977D7D415B6809@DATALEX_NT> ,
   PJ McKenna <pj.mckenna@datalex.ie> wrote:

=>Folks,
=>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
=>`/home/pj/omniorb_2.7.1/src/lib/omniORB2'
=>	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
=>`/home/pj/omniorb_2.7.1/src/tool/omniidl2/driver'
=>	xlC_r -c -O  -I../include  -DIDL_CFE_VERSION='"1.3.0"'
=>-DCPP_LOCATION=\"/lib/cpp
=>	\" -D__aix__ -D__powerpc__ -D__OSVERSION__=4 -o drv_init.o
=>drv_init.cc
=>
=>
=>Any ideas?
=>
=>-P.J.
=>