I am facing following error while compiling C code with esql libraries in Solaris 8 machine. Informix version used is Informix 7.2.3. Earlier the same code was compiled in SunOS4.1.3.

Undefined first referenced
symbol in file
_gl_ext_errno /opt/informx7/lib/esql/libsql.a(iqfetch.o)
ASF_FreeNSReg /opt/informx7/lib/esql/libsql.a(iqconnct.o)
gl_mbstimeinfo /opt/informx7/lib/esql/libgen.a(initgls.o)
gl_get_ltime_fmts /opt/informx7/lib/esql/libgen.a(gdtfmt.o)
gl_cv_outbuflen /opt/informx7/lib/esql/libsql.a(iqfetch.o)
gl_full_charoffset /opt/informx7/lib/esql/libsql.a(iqinsert.o)
gl_lc_pieces2lc_spec /opt/informx7/lib/esql/libgen.a(initgls.o)
ld: fatal: Symbol referencing errors. No output written to saw
make: *** exit code 1 making saw

Please help me rectify this error. Thanks in advance!