Re: WebKit Example cannot compile
Posted in 1997
Sarah, Try this (all on one line): c4gl -I${INFORMIXDIR}/incl/tools fgl_cust.4gl -o fgl_cust.exe -L${INFORMIXDIR}/lib/tools -l4glcgi I took me a while to figure that one out. I can run the cgi program now but I do not receive any data from my queries..!?!.. I think I will post that one here. Chad Laity chad_laity@arrowintl.com Sarah Chase-Kruszewski wrote: > > Hi, > > My system/software config is: > > IBM RISC 6000 AIX 4.1.4 > Informix 4GL Vers 6.03.UC2 > Informix 4GL WebKit V6.0?? (Can't find the exact number ) > > When I try to compile informix/examples/webkits/customer/fgl_cust.4gl > using this command: > > c4gl -I${INFORMIXDIR}/incl fgl_cust.4gl -o fgl_cust.exe > -L${INFORMIXDIR}/lib -l4glcgi > > I get the following errors: > ld: 0711-317 ERROR: Undefined symbol: gls_env > ld: 0711-317 ERROR: Undefined symbol: .initgls > ld: 0711-317 ERROR: Undefined symbol: .gl_ext_errno > ld: 0711-317 ERROR: Undefined symbol: .gl_full_mbschr > ld: 0711-317 ERROR: Undefined symbol: .ifx_getpwuid > ld: 0711-317 ERROR: Undefined symbol: .ifx_strtok > ld: 0711-317 ERROR: Undefined symbol: .ifxOS_sleep > ld: 0711-317 ERROR: Undefined symbol: .ifxOS_mutexDestroy > ld: 0711-317 ERROR: Undefined symbol: .ifxOS_mutexInit > ld: 0711-317 ERROR: Undefined symbol: .ifxOS_mutexLock > ld: 0711-317 ERROR: Undefined symbol: .ifxOS_mutexUnLock > > The actual command that c4gl is trying to execute is: > cc /SARAH/informix/incl/tools /SARAH/informix/incl/esql > /SARAH/informix/lib/tool > s -l4gl -lnforms -lfesql -lc -lmsaa -lcurses -los -lasf > /SARAH/informix/lib/tool > s/netlib.a -los -lasf -lgen -ltli > > I think I'm missing a library file or something (I'm not very > experienced in reading these errors). I tried the -bnoquiet option, and > it points to a problem with the libasf.a file, but I have that file and > the perms are the same as the rest of the library files. > > If anyone can shed some light - even if just some ideas on how to get > more info on the problem - I would appreciate it. > > Thanks. > > BTW- Everything is a brand new installation - I don't have any other > programs etc under the /SARAH tree. And I've checked the $INFORMIXDIR > and $INFORMIXSERVER variables too.