Informix ESQL/C use C++ under SCO OpenServer
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration
Now I write my ESQL/C program useing C++, The compile is ok. But when do link,it can not link with informix library, some symbol undefined. it reported: undefined symbol _iqdbase(char*,int) _iqlocate_cursor(char*,int) ... If the ESQL/C can not use C++ mode compile? -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
jiangxiaoxi@163.net wrote: > > Now I write my ESQL/C program useing C++, > The compile is ok. > But when do link,it can not link with informix library, > some symbol undefined. > it reported: > > undefined > symbol > _iqdbase(char*,int) > _iqlocate_cursor(char*,int) > ... > > If the ESQL/C can not use C++ mode compile? You have to be very careful if building with C++ compilers instead of C compilers. If you can find esql++ in the IIUG archives, use it. If not, contact me -- it should be there. http://www.iiug.org -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>