This content has been marked as final.
Show 2 replies
-
1. Re: undefined reference to `SQLCA'
Bob Finan-Oracle Jul 21, 2014 10:41 PM (in response to 2709482)Hi:
There are a few different things that could be occurring:
How you defined LD_LIBRARY_PATH.
A problem the Pro*C pre-compiler has with your code.
If you are mixing C and C++ code it could be the compiler you are using doesn't accept the way your are doing it.
Regards,
Bob Finan
-
2. Re: undefined reference to `SQLCA'
Masa-Oracle Jul 22, 2014 9:01 AM (in response to 2709482)Hello,
The reason is that sqlca.h conflicts Tuxedo and Oracle Database.
Solution is here:
CFLAGS="-I$ORACLE_HOME/precomp/public" buildserver -f ...or
remove your $TUXDIR/include/sqlca.h (it is for Tuxedo/SQL, if you are not using it)
Thanks,
-Masa