Error while Linking C generated from Pro C
I am facing the following error while trying to link sample.c program generated from sample.pc (Pro c).
Undefined symbol _SQLCXT in module sample.c
Undefined symbol _SQLGLM in module sample.c
This Pro C program has to connect to my oracle database using EXEC SQL CONNECT :username IDENTIFIED BY :password.
I am using Oracle 8i Release 126.96.36.199.0 database with Pro*C Compiler version 8.1.6 under Windows 2000 SP3 environment. And I am trying to generate exe file using Turbo C compiler 3.0.
I believe i am missing some of the libraries reqd in this environment.
Can anyone help me pls ? Thanks in anticapiting the solution.
Please refer to the steps below..
Write an OCI program (e.g. myoci.c).
You can find examples in the
Copy the make file $ORACLE_HOME/oci/samples/make
into the directory where your OCI program is located.
You can also copy some of the sample OCI files (cdemo1.c, etc.)
provided by Oracle to compile and link.
Issue the following command
You should also set the path to your compiler..
Click Here to Expand Forum to Full Width