If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > c4gl Script

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-08, 08:52
Felix M Mutale Felix M Mutale is offline
Registered User
 
Join Date: Sep 2006
Posts: 17
c4gl Script

Hello Everyone,

Can anyone help me verify this part of c4gl script for IBM Informix-4gl version 7.32.

fi

# If libraries are added or removed make sure to update -libs option
if [ "x$STATOPT" != "x" ]
then
LINKLIBES="${INFDIR}/lib/esql/libifos.a ${INFDIR}/lib/esql/libifgen.a ${INFDIR}/lib/esql/libifsql.a ${INFDIR}/lib/libifasf.
a ${INFDIR}/lib/esql/libifos.a ${INFDIR}/lib/esql/libifgen.a ${INFDIR}/lib/esql/libifgls.a -lnsl -lprot -lx /usr/lib/libgen.a -
lsocket -lm -lsuds -lx -lelf -lprot -lx -ltinfo -lm ${INFDIR}/lib/esql/libifglx.a "
FLIB=${INFDIR}/lib/tools/lib4gl.a
MLIB=${INFDIR}/lib/tools/libnforms.a
FELIB=${INFDIR}/lib/tools/libfe.a
SHLIB=" "
else
LINKLIBES="-lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lprot -lx /usr/lib/libgen.a -lsocket -lm -lsuds -lx -lelf -lprot -
lx -ltinfo -lm ${INFDIR}/lib/esql/checkapi.o -lifglx "
SHLIB=-l4gsh
fi


SYSLIB=""
TLIB="-lcurses "
###SYSNLIB=""
SYSNLIB="-lnsl -lprot -lsocket -lx -lcurses -lm -lcrypt_i"
TLILIB="/osr5/usr/lib/libnsl.so"
DOLINK=yes


I have a feeling that, some libraries could be missing for this version.

Thanx in advance.



Felix M Mutale
Reply With Quote
  #2 (permalink)  
Old 11-22-08, 17:26
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
Sometime feelings can fool you
Why do you think somethink is wrong? What does
c4gl test.4gl
returns?
Reply With Quote
  #3 (permalink)  
Old 11-24-08, 09:43
Felix M Mutale Felix M Mutale is offline
Registered User
 
Join Date: Sep 2006
Posts: 17
c4gl Script

Hello there,

I tried to compile i.e. c4gl test.4gl, I got test.o and no .4ge. Could there be something wrong.

Concerned.
Reply With Quote
  #4 (permalink)  
Old 11-24-08, 09:57
ibm.ids ibm.ids is offline
Registered User
 
Join Date: Nov 2008
Posts: 64
By any chance, did you get file named a.out?
That is default executable name when compiling c programs on most unix/linux platforms.
Try
c4gl -o test.4ge test.4gl
and if there's no error you should have test.4ge
HTH
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On