[omniORB] AIX issues: gcc 3.3
Alexy Khrabrov
alexy.khrabrov at setup.org
Tue Jul 8 18:18:01 BST 2003
So, how do I make sure omni links things right using gcc on AIX?
E.g., where would I add gcc's libstdc++, and/or whether gcc can link
libraries instead of makeC++SharedLib_r? When I hack the examples,
I tweak the installed $(TOP)/config/config.mk and $(TOP)/mk...,
which, BTW, are not copied to $(PREFIX) for whatever reason -- do I
have to tweak them in omni's source prior to the build? (I use a
separate build directory.)
Cheers,
Alexy
On Tue, Jul 08, 2003 at 08:51:13AM +0200, Harri Pasanen wrote:
> On Tuesday 08 July 2003 07:41, Alexy Khrabrov wrote:
> > After 2.5 tweaks and 10 hours of crunching, I've built
> > GCC 3.3 on AIX 5.2, 64 bit (details on the gcc list).
> >
> > When building omniORB 4.0.1 with it, the following stop
> > occurs:
> >
> > gmake[5]: Leaving directory
> > `/home/rutgers/jwest/src/omni/omni-gcc/src/tool/omni idl/cxx/cccp'
> > + rm -f _omniidlmodule.so.1.0
> > + makeC++SharedLib_r -n init_omniidl -o _omniidlmodule.so.1.0
> > -bI:/usr/bin/../.. /opt/freeware/lib/python2.2/config/python.exp
> > -L../../../../lib -L../../../../.. /omniORB-4.0.1/lib -bhalt:4
> > -T512 -H512 y.tab.o lex.yy.o idlerr.o idlutil.o idlt ype.o
> > idlrepoId.o idlscope.o idlexpr.o idlast.o idlvalidate.o idldump.o
> > idlconfi g.o idlfixed.o idlpython.o -p 40
> > ld: 0711-317 ERROR: Undefined symbol: ._ZdlPv
> > ld: 0711-317 ERROR: Undefined symbol: ._Znwm
> > ld: 0711-317 ERROR: Undefined symbol: ._Znam
> > ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
> > ld: 0711-317 ERROR: Undefined symbol: ._ZdaPv
> > ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0
> > ld: 0711-317 ERROR: Undefined symbol: __cxa_pure_virtual
>
> What ever this makeC++SharedLib_r is (must be AIX specific), it does
> not seem to understand GCC. So at least libstdc++ is missing from
> the link, maybe other libs as well.
>
> Harri
More information about the omniORB-list
mailing list