Re: Compilation problem

Darren Middleman <[email protected]>
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi,
    
On Wed, Feb 09, 2005 at 01:47:40PM +0100, [email protected]  wrote:
> Hello.
> 
> I`ve a problem compiling orbacus on linux (redhat 9) with naming folder, 
> getting this error:
>
> [carlosb@esmtemip25 naming]$ make min
> making min in src
> make[1]: Entering directory `/home/carlosb/ORBACUS/OB-4.2.1-eval/naming/src'
> rm -f CosNaming.cpp ../include/OB/CosNaming.h
> rm -f CosNaming_skel.cpp ../include/OB/CosNaming_skel.h
> ../../ob/bin/idl --header-dir OB --dll-import OB_NAMING_IMPORT \
> ../idl/OB/CosNaming.idl
> System exception `COMM_FAILURE'
> Reason: temporary failure in name resolution
> Locality: exception has been generated locally
> Completed: no
> Minor code: 0x4f4f0021 (temporary failure in name resolution)
> make[1]: *** [CosNaming.cpp] Error 1
> make[1]: Leaving directory `/home/carlosb/ORBACUS/OB-4.2.1-eval/naming/src'
> make: *** [min] Error 1
> [carlosb@esmtemip
> 
> ¿anybody knows what is happening?
> 
> Thank you
        
There are a few issues with using Orbacus on Redhat 9.  The first involves 
COMM_FAILURE exceptions when running the idl compiler, as you are seeing.  
There are two possible work arounds for this:

 1) You can include the '-IIOPhost' command line option and set it to
    localhost when using the idl compiler
	           
        > idl -IIOPhost localhost Hello.idl

 2) You can force this option to be used during the Orbacus build by
    setting the OB_IDLFLAGS environment variable before building Orbacus.

        > ./runconfig
        > export OB_IDLFLAGS="-IIOPhost localhost"
        > . ./go
        > make

There is also an issue with the Redhat 9 kernel that can cause failures in 
the JTC library.  Setting the LD_ASSUME_KERNEL environment variable to 2.4.1 
should solve this issue.

Regards,
Darren

-- 
Darren Middleman, Software Engineer
Team Orbacus - Your CORBA Source
Email: mailto:[email protected]
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.