Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

compile to mpm=worker 錯誤

[复制链接]
Stud 发表于 2004-5-18 12:09:46 | 显示全部楼层 |阅读模式
看了大C的文章,我試著把 apache 2.0.49 重新編譯一下,改用 worker 看能不能使系統效能好一點,結果試了幾次都出現下面的錯誤?

/usr/local/src/httpd-2.0.49/server/mpm_common.c:358: multiple definition of `ap_mpm_pod_open'
server/mpm/worker/.libs/libworker.al(pod.lo)(.text+0x0):/usr/local/src/httpd-2.0.49/server/mpm/worker/pod.c:23: first defined here
/usr/bin/ld: Warning: size of symbol `ap_mpm_pod_open' changed from 82 to 134 in server/.libs/libmain.al(mpm_common.lo)
server/.libs/libmain.al(mpm_common.lo)(.text+0x420): In function `ap_mpm_pod_check':
/usr/local/src/httpd-2.0.49/server/mpm_common.c:381: multiple definition of `ap_mpm_pod_check'
server/mpm/worker/.libs/libworker.al(pod.lo)(.text+0x54):/usr/local/src/httpd-2.0.49/server/mpm/worker/pod.c:44: first defined here
/usr/bin/ld: Warning: size of symbol `ap_mpm_pod_check' changed from 75 to 56 in server/.libs/libmain.al(mpm_common.lo)
server/.libs/libmain.al(mpm_common.lo)(.text+0x458): In function `ap_mpm_pod_close':
/usr/local/src/httpd-2.0.49/server/mpm_common.c:400: multiple definition of `ap_mpm_pod_close'
server/mpm/worker/.libs/libworker.al(pod.lo)(.text+0xa0):/usr/local/src/httpd-2.0.49/server/mpm/worker/pod.c:66: first defined here
/usr/bin/ld: Warning: size of symbol `ap_mpm_pod_close' changed from 47 to 59 in server/.libs/libmain.al(mpm_common.lo)
server/.libs/libmain.al(mpm_common.lo)(.text+0x610): In function `ap_mpm_pod_signal':
/usr/local/src/httpd-2.0.49/server/mpm_common.c:492: multiple definition of `ap_mpm_pod_signal'
server/mpm/worker/.libs/libworker.al(pod.lo)(.text+0x140):/usr/local/src/httpd-2.0.49/server/mpm/worker/pod.c:98: first defined here
/usr/bin/ld: Warning: size of symbol `ap_mpm_pod_signal' changed from 6 to 40 in server/.libs/libmain.al(mpm_common.lo)
server/.libs/libmain.al(mpm_common.lo)(.text+0x638): In function `ap_mpm_pod_killpg':
/usr/local/src/httpd-2.0.49/server/mpm_common.c:504: multiple definition of `ap_mpm_pod_killpg'
server/mpm/worker/.libs/libworker.al(pod.lo)(.text+0x148):/usr/local/src/httpd-2.0.49/server/mpm/worker/pod.c:103: first defined here
/usr/bin/ld: Warning: size of symbol `ap_mpm_pod_killpg' changed from 56 to 53 in server/.libs/libmain.al(mpm_common.lo)
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.0.49'
make: *** [all-recursive] Error 1
cqfanli 发表于 2004-5-18 13:05:07 | 显示全部楼层
./configure
语句贴出来
回复

使用道具 举报

 楼主| Stud 发表于 2004-5-18 13:28:34 | 显示全部楼层
./configure --prefix=/usr/local/apach --enable-so --with-mpm=worker
就這樣而已
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-23 05:29 , Processed in 0.024190 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表