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 8.1.5.0.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.
Write an OCI program (e.g. myoci.c).
You can find examples in the
$ORACLE_HOME/oci/samples directory.
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.
Bookmarks