Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

undefined reference to `SQLCA'

2709482Jul 9 2014 — edited Jul 22 2014

I try compiling c and c++ programs through a Makefile and i get the below error

TBCCheckUser.c: In function 'ACheckUser':

TBCCheckUser.c:304: warning: incompatible implicit declaration of built-in function 'strcpy'

TBCCheckUser.c:327: warning: incompatible implicit declaration of built-in function 'memset'

/tmp/ccDQ9P4h.o: In function `ACheckUser':

TBCCheckUser.c:(.text+0x228): undefined reference to `SQLCA'

TBCCheckUser.c:(.text+0x606): undefined reference to `SQLCA'

collect2: ld returned 1 exit status

CMDTUX_CAT:1832: ERROR: can't execute cc    -I$TUXDIR/include -o TBCCheckUser BS-4dd2.c  -L${TUXDIR}/lib TBCCheckUser.c  -ltux -lbuft  -L${ORACLE_HOME}/lib -lclntsh -lfml -lfml32 -lengine -ldl -lpthread

I installed Tuxedo 12.1.1.0 in Oracle linux 5.6(Enterprise-R5-U6-Server-x86_64). , and i have set path exp :

export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin:$TUXDIR/bin:$JAVA_HOME/bin:$ORACLE_HOME/precomp/public:$ORACLE_HOME/lib:$PATH

I have some application related .C\.C++ files.Trying to compile them ,but end up with the above error.

Could you please help me to resolve the issue?

Regards,

Arthi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 19 2014
Added on Jul 9 2014
2 comments
2,653 views