linking the C++ libs
Posted in 2004
Martin — — source: Usenet: comp.databases.informix
Hi, I'm having some trouble linking the Informix C++ libraries to my own C++ code. My code includes the <it.h> header file and compiles ok, but whenever I try using one of the library classes/objects, I get an 'undefined reference to' error when linking. First I thought I wrongly linked the libraries to my .o file, but even the examples (demo/c++) don't link correcly as they give the exact same errors ('make curstst' for example). Is there any way of checking if the installed libraries are working? I installed SDK 2.81 and try compiling with g++ version 3.3.1. Thanks for any help, Martin