[omniORB] Compiling Under Linux

ryan.tecco rtecco@voxel.ummu.umich.edu
Mon, 24 May 1999 09:15:48 -0400 (EDT)


Here is as much information as I can provide on my problem. Hopefully
someone out there can help.

I am running Red Hat 6.0. The kernel version is 2.2.5. A 'g++ -v' reveals:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

I can compile the libraries fine. Examples 'eg1' and 'eg2_xxxx' run
perfectly fine. To prepare to run the third example, I set up the
nameservice as follows:

OMNINAMES_LOGDIR=/var/omninames
OMNIORB_CONFIG=/home/rtecco/omniORB_2.7.1/config
LD_LIBRARY_PATH=/home/rtecco/omniORB_2.7.1/lib/i586_linux_2.0_glibc

In the OMNIORB_CONFIG directory, I place the omniORB.cfg file the IOR
given to me by omniNames.

I then attempt to run 'eg3_impl', but the program aborts early on. I
compile with debug information on, but 'gdb' seg. faults right after I
load, so I can't even run the program to generate a backtrace.

Any help would be much appreciated.