在solaris x86_64机器上安装了
tuxedo111120_64_sol_10_x86.bin。在执行buildclient -o client -f simpcl.c
时出现如下问题:
error:
gcc: language arch=amd64 not recognized
ld: fatal: file simpcl.c: unknown file type
ld: fatal: File processing errors. No output written to client
collect2: ld returned 1 exit status
CMDTUX_CAT:512: ERROR: Cannot execute C compiler gcc -xarch=amd64 -m64 -mt -I$TUXDIR/include -o client -L${TUXDIR}/lib -xarch=amd64 -fn**td simpcl.c -ltux -lbuft -lfml -lfml32 -lengine -R/usr/lib/lwp -lpthread -lposix4 -lsocket -lnsl -lm -lnsl -lsocket
找了很多天也没解决,希望有人能够解答,谢谢。
-bash-3.00$ uname -a
SunOS ZJ-HZ-PS-M2M-APP-1 5.10 Generic_118855-36 i86pc i386 i86pc
--友情转载