Re: Help with compiling
Posted in 1993
Topics: Error Codes & Troubleshooting, Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration
In article <1993Mar13.032115.22600@hubcap.clemson.edu> dpotlur@hubcap.clemson.edu (Potluri Dora) writes: [deleted] STEP 2: I link the .o file that I obtained earlier with other .o files to make an executable file as follows. cc biis.o welcome_biis.o categories.o query_window.o hitbrowser.o category_aux.o llist.o db_gui_interface.o -L/usr/lib/DXM/lib/Xt -L/usr/lib/DXM/lib/Xm -L/usr/local/uimx2.0/lib -L/usr/informix/lib/esql/libsql.a -luimx -lXm -lXt -lX11 -lm -o biis The following are the error messages: ld: Undefined: _iqlocate_cursor sqlca _iqdbase _iqcdcl _iqdcopen _iqcftch _iqslct _iqclose _iqfree rgetmsg *** Error code 1 [deleted] Am I missing something? Are there anyfiles that I need to link along with that?? At least on the HP version of OnLine 5.00 you have to link the following three libraries: /usr/informix/lib/esql/libsql.a /usr/informix/lib/esql/libgen.a /usr/informix/lib/esql/libos.a The order is important because of dependencies between the libraries. -- ------------------------------------------------------------------------- Hannu Peltonen Telephone : +358-0-451 3244 Helsinki University of Technology FAX : +358-0-451 3293 Department of Computer Science Internet : hpe@cs.hut.fi Otakaari 1, SF-02150 Espoo, FINLAND -------------------------------------------------------------------------