- 论坛徽章:
- 0
|
在系统为redhat linux AS3,tuxedo8.1,informix9.4.0UC2,数据库和tuxedo都是32bit的环境,建立TMS时遇到了如下问题:
$TUXDIR/bin/buildserver -r INFORMIX-OnLine -o TMS_INF
$ buildtms –v –r INFORMIX-OnLine –o TMS_INF
esql -I$TUXDIR/include -o TMS_INF BS-3aa9.c -L${TUXDIR}/lib /u/tuxedo/tuxedo
/lib/TMS.o -ltux -lbuft -L${INFORMIXDIR}/lib -L${INFORMIXDIR}/lib/esql -lifsql
-lifasf -lifgen -lifos -lifgls -lc -lm -ldl -lcrypt /home/informix/lib/esql/che
ckapi.o -lifglx -lifxa -lfml -lfml32 -lengine -ldl -lpthread /usr/lib/libcrypt.a
/home/informix/lib/esql/checkapi.o(.text+0x4): In function `ifx_checkAPI':
: multiple definition of `ifx_checkAPI'
/home/informix/lib/esql/checkapi.o(.text+0x4): first defined here
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_b'
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_toupper'
/home/informix/lib/esql/libifgls.so: undefined reference to `__ctype_tolower'
解决方法:
1. set CC to c compiler instead of esql
2. it's better to change the xa library to the beginning in RM file.
The problem appears to be an incompatibility between the Informix CSDK
(both 2.80 and 2.81) and Red Hat 9.
我也碰到这个问题,该怎么解决?我是新手 |
|