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

From: Brian W. Gardner <bgardner_at_infinet.com>
Date: 1995/06/21
Message-ID: <3s988n$54d_at_horus.infinet.com>#1/1


Kishan Rao Yerrabelli (kishan_at_walt.cs.msstate.edu) wrote:
: 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/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?
Shan,

Although I don't have a makefile handy at this juncture, I have noticed that the ORDER of the libraries makes a difference, and some libraries have to be included more than once. Try messing around with the order of the libraries in the makefile. I would especially try to move libora to the front.

Good luck!

--
Brian W. Gardner                       "Captain, I protest; I am not a
495 Park Blvd.                          merry man!" - Lt. Worf
Worthington, OH 43085
bgardner_at_infinet.com (home)            bgardner_at_hublink.com (office)
Received on Wed Jun 21 1995 - 00:00:00 CEST

Original text of this message