Error Undefined Symbol Sqlca
Contents |
SQLCA while linking If this is your first visit, be sure to check out the FAQ by sqlca.h header file clicking the link above. You may have to register before
Sqlca H No Such File Or Directory
you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 2 of 2 Thread: undefined symbol SQLCA while linking Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 07-02-2002,03:49 PM #1 pdh View Profile View Forum Posts Junior Member Join Date Sep 2001 Posts 34 Hi Guys, I am having trouble linking pro*C programs with GNU gcc on SUN SOLARIS server. I am getting undefined symbol "sqlca" while linking. thanks in advance. The error message is as follows: Undefined first referenced symbol in file sqlca sqlio.o ld: fatal: Symbol referencing errors. No output written to ccmsdaly collect2: ld returned 1 exit status *** Error code 1 The following command caused the error: gcc -o ccmsdaly ccmsmain.o ccmsdaly.o sqlio.o ccmslib.o commmemb.o commhear.o commloc.o chartcod.o dailyfil.o membrec.o validbil.o votedet.o votesum.o -L-L. -L/disk1/app/oracle/product/8.1.7/lib/ -lclntsh `cat /disk1/app/oracle/product/8.1.7/lib/sysliblist` -R/disk1/app/oracle/product/8.1.7/lib -laio -lm make: Fatal error: Command failed for target `ccmsdaly' Reply With Quote 07-03-2002,02:50 PM #2 pdh View Profile View Forum Posts Junior Member Join Date Sep 2001 Posts 34 Found the problem and fixed. Now it is working fine. Reply With Quote Quick Navigation Oracle Development Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Oracle Forums Oracle Database Administration Oracle Applications DBA Oracle Development Oracle Certification Oracle : How To Oracle Careers Oracle Posi
friend Pro*C -- Linker Error: Undefined symbol _sqlcxt in module [message #211340] Thu, 28 December 2006 01:09 umrigar_kunal Messages: 10Registered: December 2006 Location: pune Junior Member hi all, #I m trying a Pro C program. #I m using Oracle9i DB preCompilier.. #The file temp.pc contains.. /////////////////temp.pc starts/////////////////////////////// #include
Topic: Informix + Cobol in AIX, cant build a simple app 2 replies Latest Post - 2014-09-21T21:23:07Z by Alberto.f Display:ConversationsBy Date 1-3 of 3 Previous Next Alberto.f https://www.ibm.com/developerworks/community/forums/html/topic?id=0bbe6d40-4e69-4065-a4ee-9c43b00d7e68 270002J597 2 Posts Pinned topic Informix + Cobol in AIX, cant build a simple app 2014-09-19T11:34:55Z | Tags: Answered question This question has been answered. Unanswered question This question has not been answered yet. 'm having troubles trying to compile a simple Cobol with Informix, it compiles, but it doesnt link and generate the executable This is the error undefined message that I get: ld: 0711-317 ERROR: Undefined symbol: .GETENV ld: 0711-317 ERROR: Undefined symbol: .ECO_DB ld: 0711-317 ERROR: Undefined symbol: .ECO_SQC ld: 0711-317 ERROR: Undefined symbol: .ECO_XIM ld: 0711-317 ERROR: Undefined symbol: .ECO_STM ld: 0711-317 ERROR: Undefined symbol: .ECO_OC ld: 0711-317 ERROR: Undefined symbol: .ECO_BOC ld: 0711-317 ERROR: Undefined symbol: .ECO_SLC ld: 0711-317 ERROR: Undefined symbol: .ECO_CMT ld: error undefined symbol 0711-317 ERROR: Undefined symbol: .ECO_CDB ld: 0711-317 ERROR: Undefined symbol: .ECO_DCON ld: 0711-317 ERROR: Undefined symbol: .ECO_CONN ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: The error code from the last command is 8. I though that is a was a problem with the libpath, but this is my .profile. export PATH=$PATH:/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/informix/lib:. export INFORMIXDIR=/usr/informix export PATH=$PATH:$INFORMIXDIR/bin export INFORMIXCOB=cob2 export INFORMIXCOBDIR=/usr/lpp/cobol export INFORMIXCOBTYPE=ibm export INFORMIXCOBDIR=/usr/lpp/cobol export COBDIR=/usr/lpp/cobol export INFORMIXCOB=cob2 export LIBPATH=$LIBPATH:/usr/informix/lib:/usr/informix/lib/esql:/usr/lpp/cobol/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lpp/cobol/lib:/usr/informix/lib:/usr/informix/lib/esql I have tried several thing but with no results.. this is my make, but I also try cob2 objet.o with the same result. This is the makefile this is my make, but I also try cob2 objet.o with the same result. ################################################################################ # Licensed Materials - Property of IBM # # ? Copyright IBM Corp. 2013 # # The source code is provided "AS IS" without warranty of any kind. It is # provided solely as a sample. It may be used, executed, copied, and modified # for internal use only by Licensee without royalty. ################################################################################ ###################