Re: Question on linking SQL*Forms & Pro*C executable file ...

From: Kishan Rao Yerrabelli <kishan_at_walt.cs.msstate.edu>
Date: 1995/06/04
Message-ID: <3qrbiu$enh_at_NNTP.MsState.Edu>#1/1


LOYERJ () wrote:

: Look in the ORACLE_HOME/forms30/lib directory for the sqlforms30.mk
: you need to create a new runform with your code linked into it.
: This assumes you are using forms V3.
 

: Good Luck

	Yes, I did try to create a new runform with my example (demo) code
	linked into it.  But when I make using 
	$ make -f sqlforms30.mk sqlforms30x
	the compilation carried as follows:


/usr/local/oracle/bin/pcc include=/usr/local/oracle/c/lib
ireclen=132 oreclen=132 select_error=no iname=iaxpcc.pc ORACLE Precompiler: Version 1.3.18.1.1 on Sat Jun 3 22:09:06 1995 Copyright (c) Oracle Corporation 1979, 1989. All rights reserved. Pro*C Production. Precompiling iaxpcc.pc
/usr/5bin/cc -c -I. -O -I. iaxpcc.c
/usr/5bin/cc -c -I. -O -I. iapxtb.c
/usr/5bin/cc -Bstatic -o sqlforms30x
/usr/local/oracle/forms30/lib/iaddrvc.o iaxpcc.o iapxtb.o
/usr/local/oracle/forms30/lib/ifmdmf.o
/usr/local/oracle/forms30/lib/ifplut.o
/usr/local/oracle/forms30/lib/libforms30c.a
/usr/local/oracle/forms30/lib/libforms30.a
/usr/local/oracle/forms30/lib/libforms30p.a
/usr/local/oracle/orakit/lib/liboktc.a
/usr/local/oracle/orakit/lib/libokt.a
/usr/local/oracle/rdbms/lib/libpls.a
/usr/local/oracle/forms30/lib/libforms30c.a
/usr/local/oracle/forms30/lib/libforms30.a
/usr/local/oracle/rdbms/lib/libocic.a
/usr/local/oracle/rdbms/lib/libsql.a
/usr/local/oracle/rdbms/lib/osntab.o
/usr/local/oracle/rdbms/lib/libsqlnet.a
/usr/local/oracle/rdbms/lib/libora.a
ld: Undefined symbol _sqlcex *** Error code 2 make: Fatal error: Command failed for target `sqlforms30x' So the crux of the problem for me is Undidentified symbol _sqlcex I used sqlforms30.mk file as it is without any change. Do I have to include any other library along with it? Any help/sugession in this regard is very much appreciated.
Thanks, Shan Received on Sun Jun 04 1995 - 00:00:00 CEST

Original text of this message