linking errors in informix & c.
Posted in 1997
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Here is a small problem. I am creating an executable "sim_errs". This program is dependent on user dependant functions like fourgl.a, err_hndlr.a. Apart from this, this file also links with informix related libraries which is as shown below. The order of these libraries appears to be in-appropiate. I would like to know the correct order of these libraries so that the following or any other suggestions: Compilation procedure is via make: Compile procedure : cc -o sim_errs -Ae -Dconst= -Dvolatile= -Dsigned= -I.. -I../sys -I/usr/informix/incl/tools -O -I/usr/include -Dhp9000s800 sim_errs.o err_hndlr.a ../sys/fourgl.a ../sys/libesql.a /usr/informix/lib/tools/lib4gl.a /usr/informix/lib/esql/libsql.a /usr/informix/lib/tools/netlib.a /usr/informix/lib/esql/libos.a /usr/informix/lib/tools/libasf.a /usr/informix/lib/esql/libgen.a /usr/lib/libnsl_s.a /usr/lib/libm.a /usr/lib/libV3.a /usr/ccs/bin/ld: Unsatisfied symbols: _oschkinternet (code) _osnrclookup (code) rbasename (code) rdownshift (code) _osrealdbn (code) ggetcwd (code) get_protocol_tab (code) *** Error exit code 1 Thank you all in advance sudupa@telesciences.com mahuja@nyx.net