[Migrated content. Thread originally posted on 09 February 2012]
Hello,
I am trying to use COBSQL to compile code against Oracle 11g as the database.
I have usedCONFIRM CONSTANT DATABASE"ORACLE" p(cobsql) CSQLT=ORACLE11 CST CSP DIS MAKESYN SQLDEBUG VERBOSE KEEPCBL END-C p(cp) CONFIRM LIMITED-SEARCH ENDP ENDP as the COBSQL directives. I have put CSQLT=ORACLE11 not sure if this is ok (documentation seems to allow for ORACLE8)
When I compile the code, it happily invokes the precompilerPro*COBOL: Release 11.2.0.1.0 - Production on Thu Feb 9 15:32:35 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
the compilation is sucessful and and .obj is produced.
when I further try to link this object into an executable I get.OBJ : error LNK2001: unresolved external symbol _csqlsupp
D.OBJ : error LNK2001: unresolved external symbol _ora8lib
D.OBJ : error LNK2001: unresolved external symbol _ora8prot
I have included orasql11.lib and even CSQLSUPP.lib in the link command.
Am I missing something ? Seems that COBSQL inserts some call to oracle8 ? Does COBSQL support oracle 11g ?
PTeng