请问一下..我在安装MAPLE-ITOC时出了点问题...

楼主: mosquito520 ( )   2004-11-24 23:34:12
※ [本文转录自 SetupBBS 看板]
作者: mosquito520 (蚊子) 看板: SetupBBS
标题: 请问一下..我在安装MAPLE-ITOC时出了点问题...
时间: Tue Nov 23 06:48:14 2004
我的作业系统是Freebsd 5.3 release
我装的Maple是MapleBBS-3.10-20041120-PACK.tgz
照着http://home.pchome.com.tw/soho/itoc/的步骤作...
我在install.sh的时候出了问题...
a - rfc2047.o
a - xsort.o
a - xwrite.o
a - dl_lib.o
ranlib libdao.a
gcc -o bguard bguard.c -DBSD44 -O2 -pipe -I../include -fomit-frame-pointer -Wun
used -s -L../lib -ldao -lcrypt
In file included from ../include/config.h:272,
from ../include/bbs.h:65,
from bguard.c:19:
/usr/include/sys/mman.h:170: error: syntax error before "int"
*** Error code 1
Stop in /usr/home/bbs/src/daemon.
*** Error code 1
Stop in /usr/home/bbs/src/daemon.
*** Error code 1
Stop in /usr/home/bbs/src.
/home/bbs/bin/install.sh: bin/bbsd: not found
/home/bbs/bin/install.sh: bin/camera: not found
/home/bbs/bin/install.sh: bin/account: not found
/home/bbs/bin/install.sh: bin/enews-open: not found
Trying 0.0.0.0...
telnet: connect to address 0.0.0.0: Connection refused
telnet: Unable to connect to remote host
>
我还搞不清楚为什么我在/home/bbs/下安装
会跑到/usr/home/bbs/里...
在/usr/include/sys/mman.h这个档案中...
第170行的内容是
int madvise(void *, size_t, int);
错误的讯息是
error: syntax error before "int"
请问有人可以回答我吗?
谢谢~

Links booklink

Contact Us: admin [ a t ] ucptt.com