Iīm using PROC with C++ and into 2 classes I made communication with an Oracle Database. All classes compile OK and when linking the compiler gives me this message. I Tryed changing the exec sql include sqlca by #include "sqlca.h" without success.
Need I to put all PROC code into the same class (or file) ??? Is there any good solution?
the output is :
/bin/ld: Duplicate symbol "sqlca" in files cofcarquivoentrada.o and ofc_cobill.o
/bin/ld: Duplicate symbol "oraca" in files cofcarquivoentrada.o and ofc_cobill.o
/bin/ld: Found 2 duplicate symbol(s)
collect2: ld returned 1 exit status
*** Error exit code 1