[omniORB] Having trouble building omniORB-4.1.4 on Linux RHEL 5.5
Jayanth Venkatraj
jayanthv at cmsinc.com
Fri Sep 14 22:22:50 BST 2012
Thanks for your replies, I figured out what the problem was.
As Duncan mentioned, icc wasn't using the libstc++ library by default, even though the PATH for it was included in the LD_LIBRARY_PATH. So, I made CC= "icc -lstdc++ "
And also as Tim mentioned, the CXX should be "icpc -lstdc++" and not icc.
The other problem I had was, the python executable on this system was a 64 bit, I had to compile the 32 bit executable, and used it for configure in omniORB4.1.4
Thanks,
Jay Venkatraj
-----Original Message-----
From: Tim Theisen [mailto:ttheisen at accuray.com]
Sent: Friday, September 14, 2012 4:57 PM
To: Duncan Grisby; Jayanth Venkatraj
Cc: omniorb-list at omniorb-support.com
Subject: RE: [omniORB] Having trouble building omniORB-4.1.4 on Linux RHEL 5.5
I have used omniORB compiled with the Intel compiler (including version 11.1) on Linux (including CentOS 5.4 and 5.6) for many years.
Here is the configure command that I use:
./configure CC=icc CXX=icpc --disable-static --prefix=/opt/omniORB
I used the python (version 2.4.3) that comes with CentOS. It should work fine on your system.
...Tim
--------------------------------------
Tim Theisen
Lead Research Software Engineer
Accuray Incorporated
1240 Deming Way
Madison, WI 53717-1954
USA
-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Friday, September 14, 2012 11:29
To: Jayanth Venkatraj
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] Having trouble building omniORB-4.1.4 on Linux RHEL 5.5
On Fri, 2012-08-24 at 19:11 +0000, Jayanth Venkatraj wrote:
> I am on a RHEL 5.5 machine, and the compiler I am using is Intel C++
> compiler version 11.1
I'm not sure anyone has ever tried using the Intel compiler with omniORB
before...
> I downloaded omniORB-4.1.4 from the sourceforge page
Why did you get an old version? The current release is 4.1.6.
> (omniORB-4.1.4.tar.gz) and I downloaded omniPython also from the same
> page(omnipython-i586_linux_2.0_glibc2.1.tar.gz)
You shouldn't use that. Use the Python that's distributed with RHEL 5.5.
[...]
> omniidl: (The error was
> '/home/local/NT/jayanthv/omniORB-4.1.4/lib/_omniidlmodule.so:
> undefined symbol: __cxa_pure_virtual')
That should be provided by the C++ runtime library. Does the Intel
compiler have its own C++ library or does it use the system libstdc++?
Do you perhaps need to add something to the icc command line to tell it
to link as C++?
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
_______________________________________________
omniORB-list mailing list
omniORB-list at omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list
WARNING - CONFIDENTIAL INFORMATION:
The information contained in the e-mail may contain confidential
and privileged information and is intended solely for the use of
the intended recipient(s). Access for any review, re-transmission,
dissemination or other use of, or taking of any action in regard
and reliance upon this e-mail by persons or entities other than
the intended recipient(s) is unauthorized and prohibited. If you
are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message and
any attachments.
More information about the omniORB-list
mailing list