- 论坛徽章:
- 0
|
各位老大,我在hp-ux11.0上安装了apache,我想安装resin时,make出错,请问该怎样解决?
# cd /usr/local
# ls
423 bin etc info resin-2.1.8
4231 core games lib share
apache doc include man
# cd resin-2.1.8
# ls
LICENSE config.guess configure.in ltconfig webapps
Makefile config.log contrib missing xsl
Makefile.in config.status doc mkinstalldirs
bin config.sub install-sh readme.txt
conf configure lib src
# make
(cd src/c/plugin; make)
for dir in common apache; do (cd $dir; make); done
cc -c -g stream.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: \"cse.h\", line 110: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 111: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 112: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 112: warning 5: \"const\" will become a keyword.
(Bundled) cc: \"cse.h\", line 112: error 1000: Unexpected symbol: \"char\".
(Bundled) cc: \"cse.h\", line 264: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 265: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 270: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 271: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 271: warning 5: \"const\" will become a keyword.
(Bundled) cc: \"cse.h\", line 271: error 1000: Unexpected symbol: \"char\".
(Bundled) cc: \"cse.h\", line 273: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: \"cse.h\", line 275: error 1000: Unexpected symbol: \"*\".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
cc -c -I/usr/local/apache/include -DRESIN_HOME=\\\"/usr/local/resin-2.1.8\\
\" -I../common -g -DHPUX11 -DUSE_HSREGEX -O -fpic mod_caucho.c && mv mod_caucho.o
mod_caucho.lo
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 422: Unknown option \"f\" ignored.
(Bundled) cc: warning 480: The -p option is available only with the C/ANSI C pro
duct; ignored.
(Bundled) cc: warning 422: Unknown option \"i\" ignored.
(Bundled) cc: \"/usr/local/apache/include/os.h\", line 89: warning 5: \"const\" will
become a keyword.
(Bundled) cc: \"/usr/local/apache/include/os.h\", line 89: error 1000: Unexpected
symbol: \"char\".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
是不是我的gcc有问题,还是要装acc才行? |
|