Re: [orbitcpp-list] CosNaming.idl compilation problems
Status: Beta
Brought to you by:
philipd
From: Richard A. <ric...@ix...> - 2001-04-29 01:44:57
|
Looks like your system doesn't compile shared libraries. The c++ back-end needs to be compiled as a shared library because it has to be dynamically opened at run time. Make sure you didn't use the the --disable-shared option for configure. I had a similar problem using libstdc++-2.90.8 with gcc-2.95.2 because there was no shared version of libstdc++ (this is probably the problem you are having as well). My suggestion is ditch the RH compiler (2.96) and get a CVS version of gcc-3 and libstdc++-3. There are RPMs and source tarballs at www.codesourcery.com/gcc-snapshots. They are very stable. I've used these compilers recently to compile orbitcpp. Install into a non-standard location so you don't clobber the existing system compiler. You're looking at about 5M download for gcc and libstdc++ binary RPMs. I did this rpm -i --prefix=/usr/develop gcc-XXX.rpm And the same with the libstdc++ rpm Then put /usr/develop at the top of the search path. You'll also need to set LD_LIBRARYPATH and LD_RUNPATH environment variables to point to /usr/develop/lib. Hope this helps Rich On Sun, 29 Apr 2001 05:29:03 Ryan Olson wrote: > Hi, > > I've been trying to compile orbitcpp-0.30 and can't seem to get around > the following compile error: > > make[2]: Entering directory `/usr/local/src/orbitcpp-0.30/services/name' > /usr/bin/orbit-idl -l c++ --backenddir=../../compiler/.libs > ./CosNaming.idl > > ** WARNING **: Module load failed: > ../../compiler/.libs/liborbit-idl-c++-backend.so: cannot open shared > object file: No such file or directory > > ** CRITICAL **: file orbit-idl-driver.c: line 50 (orbit_idl_to_backend): > assertion `binfo && binfo->op_output' failed. > > ** WARNING **: ./CosNaming.idl compilation failed > sed -e 's/#include \"CosNaming\.h\"/#include > \"ORBitservices\/CosNaming.h\"/' CosNaming-cpp-common.hh > CosNaming.hh > sed: can't read CosNaming-cpp-common.hh: No such file or directory > make[2]: *** [CosNaming.cc] Error 2 > make[2]: Leaving directory `/usr/local/src/orbitcpp-0.30/services/name' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/orbitcpp-0.30/services' > make: *** [all-recursive] Error 1 > > > The only files in the compiler/.libs dir are: > > total 4960 > -rw-r--r-- 1 root root 5061762 Apr 28 00:53 > liborbit-idl-c++-backend.a > lrwxrwxrwx 1 root root 30 Apr 28 00:53 > liborbit-idl-c++-backend.la -> ../liborbit-idl-c++-backend.la > -rw-r--r-- 1 root root 672 Apr 28 00:53 > liborbit-idl-c++-backend.lai > > > FWIW, I'm using RedHat 7.0 with gcc 2.96, with the ORBit-0.5.7-ximian.3 > and ORBit-devel-0.5.7-ximian.3 packages. > > Any advice? TIA > > Ryan Olson > > > _______________________________________________ > orbitcpp-list mailing list > orb...@li... > http://lists.sourceforge.net/lists/listinfo/orbitcpp-list > |