tuxedo升级: 8.1 ---> 10R3
服务器更换:hpux 11.11 pa ---> hpux 11.31 ia(64)
在对原来的程序做make的时候报
aCC -o WtcTuxAdapter.o WtcTuxAdapter.cpp -I. -I../../include/parameter -I../../include/comm -I../../include/config -I../../ccbs/include -I/home/oracle/app/oracletg/precomp/public -I/home/oracle/app/oracletg/rdbms/demo -I/home/oracle/app/oracletg/rdbms/public -I/home/tuxedo/tuxedo103/tuxedo10gR3/include -c +u1 -AA +DD64 -D_HPUX_SOURCE -g +p -w -mt
buildserver -v -o TUX_ADAPTER -f "WtcTuxAdapter.o " -f" +u1 -AA +DD64 -mt -w -DDEBUG -g +p -D_HPUX_SOURCE -L/home/clpmtest/clpmtest/lib -L../../lib -L/home/oracle/app/oracletg/lib -L/home/tuxedo/tuxedo103/tuxedo10gR3/lib -L/usr/lib -L../../include -L../../ccbs/lib -ltuxcommc -lcomm -lpin -lconfig -lfrnttool -ldcsec_c -lsbuf -locci -lclntsh -liconv " -s TUX_ADAPTER
aCC +DD64 +Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED -mt -I$TUXDIR/include -o TUX_ADAPTER BS-3942.c -L${TUXDIR}/lib WtcTuxAdapter.o +u1 -AA +DD64 -mt -w -DDEBUG -g +p -D_HPUX_SOURCE -L/home/clpmtest/clpmtest/lib -L../../lib -L/home/oracle/app/oracletg/lib -L/home/tuxedo/tuxedo103/tuxedo10gR3/lib -L/usr/lib -L../../include -L../../ccbs/lib -ltuxcommc -lcomm -lpin -lconfig -lfrnttool -ldcsec_c -lsbuf -locci -lclntsh -liconv -ltux -lbuft -lfml -lfml32 -lengine -lnsl
ld: Mismatched ABI for -liconv, found ../../lib/libiconv.a
Fatal error.
CMDTUX_CAT:1832: ERROR: can't execute aCC +DD64 +Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED -mt -I$TUXDIR/include -o TUX_ADAPTER BS-3942.c -L${TUXDIR}/lib WtcTuxAdapter.o +u1 -AA +DD64 -mt -w -DDEBUG -g +p -D_HPUX_SOURCE -L/home/clpmtest/clpmtest/lib -L../../lib -L/home/oracle/app/oracletg/lib -L/home/tuxedo/tuxedo103/tuxedo10gR3/lib -L/usr/lib -L../../include -L../../ccbs/lib -ltuxcommc -lcomm -lpin -lconfig -lfrnttool -ldcsec_c -lsbuf -locci -lclntsh -liconv -ltux -lbuft -lfml -lfml32 -lengine -lnsl
*** Error exit code 1
请问这个ld: Mismatched ABI for -liconv, found ../../lib/libiconv.a 是什么错呢?
在工程中有以下的文件
libiconv\share\doc\libiconv\iconv.1.html
libiconv\share\doc\libiconv\iconv.3.html
libiconv\share\doc\libiconv\iconv_close.3.html
libiconv\share\doc\libiconv\iconv_open.3.html
libiconv\share\doc\libiconv\iconvctl.3.html
libiconv\share\man\man1\iconv.1
libiconv\share\man\man3\iconv_close.3
libiconv\share\man\man3\iconv_open.3
libiconv\share\man\man3\iconv.3
libiconv\share\man\man3\iconvctl.3
libiconv\lib\charset.alias
libiconv\lib\libcharset.a
libiconv\lib\libcharset.la
libiconv\lib\libcharset.sl.1.0
libiconv\lib\libiconv.a
libiconv\lib\libiconv.la
libiconv\lib\libiconv.sl.5.0
libiconv\include\iconv.h
libiconv\include\libcharset.h
libiconv\include\localcharset.h
libiconv\bin\iconv
从网上下载了一个tec-iconv-1.13.1-hpux-11.31-ia64_hpux32-gcc423用里面的文件进行替换,但还是报上面的错。
有人说libiconv.a需要换成64位的,但是在网上找不到64位的,官网上也是hpux32的,请问这个libiconv.a有32位和64位之分吗?
还有就是上述的文件在hpux 11.31 ia(64)应该如何得到呢?谢谢!