Re: Client SDK C++ and g++ 2.8.1 compile problem
Posted in 1999
Topics: Platform-Specific Issues
swilcoxon688@my-dejanews.com wrote: > > I'm trying to compile the demo C++ applications that came with ClientSDK > 2.10UC1 on an UltraSparc Solaris 2.5.1 system running GCC 2.8.1 and I'm > getting all sorts of undefined symbol errors: > > __12ITConnection cnvex.o > __0FEsetwi /opt/informix/lib/c++/libifc++.so > __0FHsetfilli /opt/informix/lib/c++/libifc++.so > __0oHostreamlsPFR6Dios_R6Dios /opt/informix/lib/c++/libifc++.so > __0oOunsafe_ostreamlsd /opt/informix/lib/c++/libifc++.so > __0oOunsafe_ostreamlsl /opt/informix/lib/c++/libifc++.so > __0dHfilebufIopenprot /opt/informix/lib/c++/libifc++.so > __0oKostrstreamctPciTC /opt/informix/lib/c++/libifc++.so > __0FMsetprecisioni /opt/informix/lib/c++/libifc++.so > __7ITQueryRC12ITConnection cnvex.o > __0fOunsafe_ostreamGoutstrPCcTB /opt/informix/lib/c++/libifc++.so > Open__12ITConnection cnvex.o > __0oKostrstreamdtv /opt/informix/lib/c++/libifc++.so > __0fKunsafe_iosIsetstatei /opt/informix/lib/c++/libifc++.so > __0fOunsafe_ostreamHdo_osfxv /opt/informix/lib/c++/libifc++.so > __0oOunsafe_ostreamlsUl /opt/informix/lib/c++/libifc++.so > __8ITString cnvex.o > __0oIifstreamdtv /opt/informix/lib/c++/libifc++.so > __0fMstrstreambufDstrv /opt/informix/lib/c++/libifc++.so > ExecOneRow__7ITQueryRC8ITStringPP11ITEssential cnvex.o > ld: fatal: Symbol referencing errors. No output written to cnvex > make: *** [cnvex] Error 1 > > Does anyone have any pointers or do we have so much of a name mangling > issue here that I'll have to get Sun's C++? I've easily gotten my RH > Linux systems to compile these. GCC and Sun's C++ compiler do have different name mangling algorhythms. Since we compile the libraries with the Sun C++ compiler, I doubt LibC++ will work correctly with GCC. Rob Z.
In article <36F956AF.67A4EB49@informix.com>, Rob Zook <rzook@informix.com> wrote: > swilcoxon688@my-dejanews.com wrote: > > > > I'm trying to compile the demo C++ applications that came with ClientSDK > > 2.10UC1 on an UltraSparc Solaris 2.5.1 system running GCC 2.8.1 and I'm > > getting all sorts of undefined symbol errors: > > > > __12ITConnection cnvex.o ..snip... > > __0fMstrstreambufDstrv /opt/informix/lib/c++/libifc++.so > > ExecOneRow__7ITQueryRC8ITStringPP11ITEssential cnvex.o > > ld: fatal: Symbol referencing errors. No output written to cnvex > > make: *** [cnvex] Error 1 > > > > Does anyone have any pointers or do we have so much of a name mangling > > issue here that I'll have to get Sun's C++? I've easily gotten my RH > > Linux systems to compile these. > > GCC and Sun's C++ compiler do have different name mangling algorhythms. > Since we compile the libraries with the Sun C++ compiler, I doubt LibC++ > will work correctly with GCC. > > Rob Z. Considering how Sun makes you buy their C++ compiler seperately, would Informix release a G++ version? If not, is there any chance of release the source to just the C++ Classes so developers can compile it themselves? S.W. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own