阅 读 文 章

solaris编译apache出错

[来源:网上转载 (CSDN转载) | 作者:网友(luohualiushui) | 时间:2007-09-28 | 浏览:人次 ]

我先下载了httpd-2.0.54.tar.gz,然后用gzip解压  
  然后tar,然后到目录中./configure   --prefix=/export/home/myname/apache   --enable-module=so  
  然后make,出现错误  
   
  Making   all   in   srclib  
  Making   all   in   apr  
  Making   all   in   strings  
  /bin/bash   /export/home/myname/apache/httpd-2.0.54/srclib/apr/libtool   --silent   --mode=compile   cc   -g       -DHAVE_CONFIG_H   -DSOLARIS2=8   -D_POSIX_PTHREAD_SEMANTICS   -D_REENTRANT       -I../include   -I../include/arch/unix     -c   apr_cpystrn.c   &&   touch   apr_cpystrn.lo  
  "../include/apr_thread_mutex.h",   line   100:   invalid   token:   ##  
  "../include/apr_thread_mutex.h",   line   100:   undefined   or   not   a   type:   apr_  
  "../include/apr_thread_mutex.h",   line   100:   syntax   error   before   or   at:   thread_mutex  
  "../include/apr_thread_mutex.h",   line   100:   invalid   token:   ##  
  "../include/apr_thread_mutex.h",   line   100:   undefined   or   not   a   type:   thread_mutex  
  "../include/apr_thread_mutex.h",   line   100:   invalid   token:   ##  
  "../include/apr_thread_mutex.h",   line   100:   syntax   error   before   or   at:   thread_mutex  
  "../include/apr_thread_mutex.h",   line   100:   warning:   undefined   or   missing   type   for:   thread_mutex  
  "../include/apr_thread_mutex.h",   line   100:   invalid   token:   ##  
  "../include/apr_thread_mutex.h",   line   100:   invalid   token:   ##  
  "../include/apr_thread_mutex.h",   line   100:   warning:   old-style   declaration   or   incorrect   type   for:   _pool_get  
  ***   Error   code   1  
  make:   Fatal   error:   Command   failed   for   target   `apr_cpystrn.lo'  
  Current   working   directory   /export/home/myname/apache/httpd-2.0.54/srclib/apr/strings  
  ***   Error   code   1  
  make:   Fatal   error:   Command   failed   for   target   `all-recursive'  
  Current   working   directory   /export/home/myname/apache/httpd-2.0.54/srclib/apr/strings  
TAG标签 : 编译 line ../include/apr_thread_mutex.h or invalid

最新评论 共有0位网友发表了评论

发表评论

评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名:(注册)
密码:
验证码:
匿名发表
网站地图友情连接交流论坛网站投稿广告服务联系我们留言本站长统计
Some rights reserved: www.chmhome.com, 鄂ICP备07010232号 E-mail:chinakafei@live.com,QQ:552766
中国咖啡技术网(Chmhome):国外编程技术书籍,中文编程手册,经典编程文章,交流技术,技术软件下载,计算机论文,毕业论文.