我想在Linux上安装tuxedo8.1中间件 但是我把基本的东西都设置好执行命令后 我按照文档报错 解决方法 编译libcwait.c文件 结果就报这样的错误 求高手 解答啊
[bea@oracle tuxedo]$ ./tuxedo81_linux.bin
Preparing to install...
Error occurred during initialization of VM
Unable to load native library: /tmp/install.dir.9352/Linux/resource/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
[bea@oracle tuxedo]$ ls
tuxedo81_linux.bin
[bea@oracle tuxedo]$ cd /usr
[bea@oracle usr]$ ls
bin games kerberos libcwait.c local share tmp
etc include lib libexec sbin src X11R6
[bea@oracle usr]$ gcc -shared -fpic -o libcwait.so libcwait.c
libcwait.c:1: error: syntax error before '<' token
In file included from /usr/include/sys/types.h:266,
from libcwait.c:3:
/usr/include/bits/pthreadtypes.h:48: error: syntax error before "size_t"
/usr/include/bits/pthreadtypes.h:51: error: syntax error before "__stacksize"
In file included from /usr/include/signal.h:348,
from /usr/include/sys/wait.h:30,
from libcwait.c:4:
/usr/include/bits/sigstack.h:54: error: syntax error before "size_t"
libcwait.c的文件我已经做好了 放到/usr下面