Discussion:
[omniORB] Having trouble building omniORB-4.1.4 on Linux RHEL 5.5
Jayanth Venkatraj
2012-08-24 19:11:38 UTC
Permalink
I am on a RHEL 5.5 machine, and the compiler I am using is Intel C++ compiler version 11.1

I downloaded omniORB-4.1.4 from the sourceforge page (omniORB-4.1.4.tar.gz) and I downloaded omniPython also from the same page(omnipython-i586_linux_2.0_glibc2.1.tar.gz)
./configure --prefix=/home/local/NT/jayanthv/omniInst CC=/opt/intel/Compiler/11.1/080/bin/ia32/icc CXX=/opt/intel/Compiler/11.1/080/bin/ia32/icc PYTHON=/home/local/NT/jayanthv/omniORB-4.1.4/bin/omnipython
The config.log looks fine, and I don't want to post that right now, because it will make this post look really verbose.

After I run make/gmake, everything goes fine, till it hits


gmake[3]: Leaving directory `/home/local/NT/jayanthv/omniORB-4.1.4/src/lib/omnithread'
making export in src/lib/omniORB...
gmake[3]: Entering directory `/home/local/NT/jayanthv/omniORB-4.1.4/src/lib/omniORB'
../../../bin/omniidl -bcxx -p../../../src/lib/omniORB -Wbdebug -Wba -p../../../src/lib/omniORB -Wbdebug -v -ComniORB4 ../../../idl/Naming.idl


omniidl: ERROR!

omniidl: Could not open IDL compiler module _omniidlmodule.so
omniidl: Please make sure it is in directory /home/local/NT/jayanthv/omniORB-4.1.4/lib
omniidl: (or set the PYTHONPATH environment variable)

omniidl: (The error was '/home/local/NT/jayanthv/omniORB-4.1.4/lib/_omniidlmodule.so: undefined symbol: __cxa_pure_virtual')


gmake[3]: *** [omniORB4/Naming.hh] Error 1
gmake[3]: Leaving directory `/home/local/NT/jayanthv/omniORB-4.1.4/src/lib/omniORB'
gmake[2]: *** [export] Error 1
gmake[2]: Leaving directory `/home/local/NT/jayanthv/omniORB-4.1.4/src/lib'
gmake[1]: *** [export] Error 1
gmake[1]: Leaving directory `/home/local/NT/jayanthv/omniORB-4.1.4/src'
gmake: *** [all] Error 1


Am I missing something here? Any advice will be appreciated. I even made the LD_LIBRARY_PATH point to the Intel C++ ia32 libs folder.

Thanks,
Jay Venkatraj
Credit Management Solutions, Inc.
6640 Eli Whitney Drive, Suite 200
Columbia, MD 21046
(410) 953-8437

"The information contained in this email message may be privileged and/or confidential and protected from disclosure under applicable law. It is intended only for the individual to whom or entity to which it is addressed as shown at the beginning of the message. If the reader of this message is not the intended recipient, or if the employee or agent responsible for delivering the message is not an employee or agent of the intended recipient, you are hereby notified that any review, dissemination, distribution, use, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by return email and permanently delete this message and your reply to the extent it includes this message. Any views or opinions presented in this message or attachments are those of the author and do not necessarily represent those of the Company. All emails and attachments sent and received are subject to monitoring, reading and archival by the Company."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120824/30ac9820/attachment.html>
Duncan Grisby
2012-09-14 16:28:52 UTC
Permalink
Post by Jayanth Venkatraj
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...
Post by Jayanth Venkatraj
I downloaded omniORB-4.1.4 from the sourceforge page
Why did you get an old version? The current release is 4.1.6.
Post by Jayanth Venkatraj
(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.

[...]
Post by Jayanth Venkatraj
omniidl: (The error was
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 --
Jayanth Venkatraj
2012-09-14 21:22:50 UTC
Permalink
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
Post by Jayanth Venkatraj
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...
Post by Jayanth Venkatraj
I downloaded omniORB-4.1.4 from the sourceforge page
Why did you get an old version? The current release is 4.1.6.
Post by Jayanth Venkatraj
(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.

[...]
Post by Jayanth Venkatraj
omniidl: (The error was
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.
Loading...