#2 cannot link OCI

open
nobody
None
5
2014-08-25
2009-04-30
Anonymous
No

usr/gnat/obj/oracle_upi.o: In function `oracle_upi__bind':
/usr/gnat/01-Conversion/oracle_upi.adb:35: undefined reference to `sqlabn'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__define':
/usr/gnat/01-Conversion/oracle_upi.adb:55: undefined reference to `sqladf'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__commit':
/usr/gnat/01-Conversion/oracle_upi.adb:73: undefined reference to `upicom'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__describe_select':
/usr/gnat/01-Conversion/oracle_upi.adb:115: undefined reference to `upidsc'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__describe_bind':
/usr/gnat/01-Conversion/oracle_upi.adb:172: undefined reference to `upigbv'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__how_many_vars':
/usr/gnat/01-Conversion/oracle_upi.adb:204: undefined reference to `upihmi'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__logoff':
/usr/gnat/01-Conversion/oracle_upi.adb:228: undefined reference to `upilof'
/usr/gnat/01-Conversion/oracle_upi.adb:229: undefined reference to `upidhs'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__open':
/usr/gnat/01-Conversion/oracle_upi.adb:247: undefined reference to `upiopn'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__cancel':
/usr/gnat/01-Conversion/oracle_upi.adb:266: undefined reference to `upicco'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__close':
/usr/gnat/01-Conversion/oracle_upi.adb:286: undefined reference to `upicls'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__parse':
/usr/gnat/01-Conversion/oracle_upi.adb:317: undefined reference to `upiosd'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__execute':
/usr/gnat/01-Conversion/oracle_upi.adb:339: undefined reference to `upiexn'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__execute__2':
/usr/gnat/01-Conversion/oracle_upi.adb:365: undefined reference to `sqlarp'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__fetch':
/usr/gnat/01-Conversion/oracle_upi.adb:395: undefined reference to `upifcn'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__connect':
/usr/gnat/01-Conversion/oracle_upi.adb:420: undefined reference to `upiahm'
/usr/gnat/01-Conversion/oracle_upi.adb:427: undefined reference to `upiahs'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__logon':
/usr/gnat/01-Conversion/oracle_upi.adb:451: undefined reference to `upilog'
/usr/gnat/01-Conversion/oracle_upi.adb:462: undefined reference to `upilam'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__get_message':
/usr/gnat/01-Conversion/oracle_upi.adb:484: undefined reference to `upigem'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__get_message__2':
/usr/gnat/01-Conversion/oracle_upi.adb:497: undefined reference to `upigem'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__rollback':
/usr/gnat/01-Conversion/oracle_upi.adb:509: undefined reference to `upirol'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__flush_ol_cache':
/usr/gnat/01-Conversion/oracle_upi.adb:522: undefined reference to `sqlfoc'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__sqlca_init':
/usr/gnat/01-Conversion/oracle_upi.adb:531: undefined reference to `sqlsca'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__register_db':
/usr/gnat/01-Conversion/oracle_upi.adb:545: undefined reference to `sqlrdb'
/usr/gnat/01-Conversion/oracle_upi.adb:552: undefined reference to `sqlrdb'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__get_db':
/usr/gnat/01-Conversion/oracle_upi.adb:565: undefined reference to `sqlghp'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__get_hst_oerdef':
/usr/gnat/01-Conversion/oracle_upi.adb:573: undefined reference to `upih2o'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__get_hst_oerdef__2':
/usr/gnat/01-Conversion/oracle_upi.adb:580: undefined reference to `upih2o'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__update_oerdef':
/usr/gnat/01-Conversion/oracle_upi.adb:588: undefined reference to `sqlgoe'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__update_oerdef__2':
/usr/gnat/01-Conversion/oracle_upi.adb:596: undefined reference to `sqlgoe'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__adjust_string_address':
/usr/gnat/01-Conversion/oracle_upi.adb:603: undefined reference to `sqlasa'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__copy_string':
/usr/gnat/01-Conversion/oracle_upi.adb:613: undefined reference to `sqlcpy'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__copy_string__2':
/usr/gnat/01-Conversion/oracle_upi.adb:626: undefined reference to `sqlcpy'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__convert':
/usr/gnat/01-Conversion/oracle_upi.adb:639: undefined reference to `sqlcts'
/usr/gnat/obj/oracle_upi.o: In function `oracle_upi__enable_threads':
/usr/gnat/01-Conversion/oracle_upi.adb:649: undefined reference to `upipi'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__process_error':
/usr/gnat/01-Conversion/sus_oci_intf.adb:127: undefined reference to `OCIErrorGet'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__connect':
/usr/gnat/01-Conversion/sus_oci_intf.adb:209: undefined reference to `OCIInitialize'
/usr/gnat/01-Conversion/sus_oci_intf.adb:222: undefined reference to `OCIEnvInit'
/usr/gnat/01-Conversion/sus_oci_intf.adb:234: undefined reference to `OCIHandleAlloc'
/usr/gnat/01-Conversion/sus_oci_intf.adb:251: undefined reference to `OCILogon'
/usr/gnat/01-Conversion/sus_oci_intf.adb:263: undefined reference to `OCILogon'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__disconnect':
/usr/gnat/01-Conversion/sus_oci_intf.adb:297: undefined reference to `OCILogoff'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__prepare_statement':
/usr/gnat/01-Conversion/sus_oci_intf.adb:391: undefined reference to `OCIHandleAlloc'
/usr/gnat/01-Conversion/sus_oci_intf.adb:401: undefined reference to `OCIStmtPrepare'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__is_select_statement':
/usr/gnat/01-Conversion/sus_oci_intf.adb:440: undefined reference to `OCIAttrGet'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__execute_statement':
/usr/gnat/01-Conversion/sus_oci_intf.adb:475: undefined reference to `OCIStmtExecute'
/usr/gnat/01-Conversion/sus_oci_intf.adb:493: undefined reference to `OCIAttrGet'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__fetch':
/usr/gnat/01-Conversion/sus_oci_intf.adb:528: undefined reference to `OCIStmtFetch'
/usr/gnat/01-Conversion/sus_oci_intf.adb:557: undefined reference to `OCIAttrGet'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__define_array':
/usr/gnat/01-Conversion/sus_oci_intf.adb:601: undefined reference to `OCIDefineByPos'
/usr/gnat/01-Conversion/sus_oci_intf.adb:618: undefined reference to `OCIDefineArrayOfStruct'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__define_data_item':
/usr/gnat/01-Conversion/sus_oci_intf.adb:660: undefined reference to `OCIDefineByPos'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__bind_data_item':
/usr/gnat/01-Conversion/sus_oci_intf.adb:706: undefined reference to `OCIBindByPos'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__bind_array':
/usr/gnat/01-Conversion/sus_oci_intf.adb:752: undefined reference to `OCIBindByPos'
/usr/gnat/01-Conversion/sus_oci_intf.adb:772: undefined reference to `OCIBindArrayOfStruct'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__finish_statement':
/usr/gnat/01-Conversion/sus_oci_intf.adb:815: undefined reference to `OCIHandleFree'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__commit':
/usr/gnat/01-Conversion/sus_oci_intf.adb:872: undefined reference to `OCITransCommit'
/usr/gnat/obj/sus_oci_intf.o: In function `sus_oci_intf__rollback':
/usr/gnat/01-Conversion/sus_oci_intf.adb:915: undefined reference to `OCITransRollback'
collect2: ld returned 1 exit status
gnatlink: error when calling /usr/gnat/bin/gcc
gnatmake: *** link failed.

Discussion