Now you can issue "make"(cd native; make all)make[1]: Entering directory '/usr/local/bttomcat/tomcat7/bin/commons-daemon-1.2.4-native-src/unix/native'gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU=\"amd64\" -Wall -Wstrict-prototypes -I/www/server/java/jdk1.7.0_80/include -I/www/server/java/jdk1.7.0_80/include/linux -c jsvc-unix.c -o jsvc-unix.ojsvc-unix.c: In function ‘run_controller’:jsvc-unix.c:1311:20: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(int, siginfo_t *, void *)’ [-Wincompatible-pointer-types]1311 | act.sa_handler = controller;| ^make[1]: *** [../Makedefs:31: jsvc-unix.o] Error 1make[1]: Leaving directory '/usr/local/bttomcat/tomcat7/bin/commons-daemon-1.2.4-native-src/unix/native'make: *** [Makefile:23: native/all] Error 2cp: cannot stat 'jsvc': No such file or directorydaemon.sh: line 236: /usr/local/bttomcat/tomcat7/bin/jsvc: No such file or directory|-Successify --- 命令已执行! ---安装Tomcat已经完成,如遇没有刷新。请刷新页面!正在执行放行防火墙端口...正在执行替换JDK版本...tomcat 7 安装失败: Jsvc编译失败! |