- 主题:编译local_utl下东西出现错误
Win XP Home +Cygwin2.417(是我从上海交大的镜像站点下载的安装包)
刚才也cvs了那个gethash
cvs的一塌糊涂最新代码,编译local_utl下文件时出现如下错误
../include/bbs.h:84:26: rpcsvc/rstat.h: No such file or directory
还是没有shminit文件
--
FROM 219.225.4.84
你装了cygipc没有?
【 在 tnds (拖泥带水) 的大作中提到: 】
: Win XP Home +Cygwin2.417(是我从上海交大的镜像站点下载的安装包)
: 刚才也cvs了那个gethash
: cvs的一塌糊涂最新代码,编译local_utl下文件时出现如下错误
: ../include/bbs.h:84:26: rpcsvc/rstat.h: No such file or directory
: 还是没有shminit文件
--
FROM 220.249.10.10
装了,install.cygwin里说的那几个包都装了
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: 你装了cygipc没有?
: 【 在 tnds (拖泥带水) 的大作中提到: 】
: : Win XP Home +Cygwin2.417(是我从上海交大的镜像站点下载的安装包)
: : 刚才也cvs了那个gethash
: : cvs的一塌糊涂最新代码,编译local_utl下文件时出现如下错误
: : ../include/bbs.h:84:26: rpcsvc/rstat.h: No such file or directory
: : 还是没有shminit文件
--
FROM 219.225.4.84
怀疑你没有configure
【 在 tnds (拖泥带水) 的大作中提到: 】
: 装了,install.cygwin里说的那几个包都装了
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 你装了cygipc没有?
--
FROM 220.249.10.10
configure过了,需要把ipc的dll复制到windows系统文件夹中吗?
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: 怀疑你没有configure
: 【 在 tnds (拖泥带水) 的大作中提到: 】
: : 装了,install.cygwin里说的那几个包都装了
--
FROM 219.225.4.84
configure的结果贴出来
local_utl下面make的也贴出来
【 在 tnds (拖泥带水) 的大作中提到: 】
: configure过了,需要把ipc的dll复制到windows系统文件夹中吗?
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 怀疑你没有configure
--
FROM 220.249.10.10
configure结果
$ ./configure
loading cache ./config.cache
...........................
... testing C Compiler ...
...........................
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
...........................
... testing system type ...
...........................
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
se36 clfl dtes acpi mmx fxsr sse sse2 ss htt tmi pbe cid
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
se36 clfl dtes acpi mmx fxsr sse sse2 ss htt tmi pbe cid
Detected CPU: pentium4
checking for forkpty... (cached) yes
checking for mallopt... (cached) yes
checking for flock... (cached) yes
checking for strcasestr... (cached) no
checking for strnlen... (cached) yes
checking for basename... (cached) no
checking for nftw... (cached) no
checking for versionsort... (cached) no
checking for memmem... (cached) no
checking for mysql... no
checking how to run the C preprocessor... (cached) gcc -E
checking for pty.h... (cached) yes
checking for libiconv_open in -liconv... (cached) yes
checking for ght_create in -lghthash... (cached) no
checking for FCGI_Accept in -lfcgi... (cached) no
..................................
Please fill data for your BBS
..................................
Home directory of BBS --> [/home/bbs]
UID of BBS --> [9999]
GID of BBS --> [99]
USER of BBS --> [bbs]
The ID of your site --> [YTHT]
The name of your site --> [一塌糊涂 BBS]
The domain name of your site --> [ytht.net]
The ip address of your site --> [162.105.31.222]
The location of your site --> [北京大学]
Email of your bbs administrator --> [sysop@ytht.org]
Maximum number of users --> [250000]
Maximum number of boards --> [1000]
Maximum number of on-line users --> [30000]
Runtime Maximum number of on-line users --> [30000]
BBS listen port --> [23]
BBS listen port(BIG5) --> [2300]
cgi install directory --> [/home/httpd/cgi-bin] /var/www/cgi-bin
html install directory --> [/home/httpd/html/2001] /var/www/htdocs
the initial mark string for webpage --> [Ytht.Net]
........................................
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Makefile.Base
creating src/Makefile
creating include/bbsconfig.h
creating Install.sh
creating mail2bbs/bbsmail_wrap
creating yftpd/ftpmotd
creating include/sys_config.h
include/sys_config.h is unchanged
........................................................................
You may review the Makefile now. Then, type 'make' to build your system.
........................................................................
local_utl下make
$ make all
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -M *.c |sed -es/": "/
": \.depend "/ >.depend
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g finddf.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o finddf finddf.o -L/h
ome/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g mergeb.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g record.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o mergeb mergeb.o reco
rd.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g averun.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o averun averun.o -L/h
ome/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g refriend2.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o refriend2 refriend2.
o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g autoundeny.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g sysrecord.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o autoundeny autounden
y.o sysrecord.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g autoclear.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o autoclear autoclear.
o sysrecord.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g auto_rm_junk.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o auto_rm_junk auto_rm
_junk.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g nbstat.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g bmstat.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g amstat.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g boardstat2.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g boardscore.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g bbslists.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o nbstat nbstat.o bmst
at.o amstat.o boardstat2.o boardscore.o bbslists.o sysrecord.o -L/home/bbs/bin -
lythtbbs -lytht -lcygipc -lm
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g 2nd_expire.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o 2nd_expire 2nd_expir
e.o record.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g bbsstatlog.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o bbsstatlog bbsstatlo
g.o -L/home/bbs/bin -lythtbbs -lytht -lcygipc
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g clear_junk.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o clear_junk clear_jun
k.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g clear_attach.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o clear_attach clear_a
ttach.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g searchLastMark.
c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o searchLastMark searc
hLastMark.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g sortdir.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o sortdir sortdir.o -L
/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g printSecLastMar
k.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o printSecLastMark pri
ntSecLastMark.o -L/home/bbs/bin -lythtbbs -lytht -lcygipc
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g searchDIR.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o searchDIR searchDIR.
o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g bbslogd.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o bbslogd bbslogd.o -L
/home/bbs/bin -lythtbbs -lytht -lcygipc -lghthash
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g MakeIndex3.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o MakeIndex3 MakeIndex
3.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g bm.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o bm bm.o -L/home/bbs/
bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g find_lost_mail.
c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o find_lost_mail find_
lost_mail.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g find_rm_lost.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o find_rm_lost find_rm
_lost.o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g fixdir.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o fixdir fixdir.o -L/h
ome/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g id_boards.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o id_boards id_boards.
o -L/home/bbs/bin -lythtbbs -lytht
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -c -g id_distr.c
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g -DCYGWIN -o id_distr id_distr.o
-L/home/bbs/bin -lythtbbs -lytht -lcygipc
gcc -Wall -O2 -mmmx -msse -mcpu=pentium4 -march=pentium4 -pipe -DCONF_HAVE_OPENP
TY -I../include -I../ythtlib -I../libythtbbs -g near.c -o near
In file included from near.c:4:
../include/bbs.h:84:26: rpcsvc/rstat.h: No such file or directory
make: *** [near] Error 1
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: configure的结果贴出来
: local_utl下面make的也贴出来
: 【 在 tnds (拖泥带水) 的大作中提到: 】
: : configure过了,需要把ipc的dll复制到windows系统文件夹中吗?
--
FROM 219.225.4.84
你改过near有关的makefile?
你自己看看
near的编译命令和其它不一致
【 在 tnds (拖泥带水) 的大作中提到: 】
: configure结果
: $ ./configure
: loading cache ./config.cache
: ...........................
: ... testing C Compiler ...
: ...........................
: checking for gcc... (cached) gcc
: checking whether the C compiler (gcc ) works... yes
: ...................
--
FROM 220.249.10.10
什么都没改过。
【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: 你改过near有关的makefile?
: 你自己看看
: near的编译命令和其它不一致
: 【 在 tnds (拖泥带水) 的大作中提到: 】
: : configure结果
: : $ ./configure
: : loading cache ./config.cache
: : ...........................
: ...................
--
FROM 219.225.4.84
那等我回头在家里的windows上面试验一下
奇怪
【 在 tnds (拖泥带水) 的大作中提到: 】
: 什么都没改过。
: 【 在 lepton (在黑夜中等待黎明) 的大作中提到: 】
: : 你改过near有关的makefile?
: : 你自己看看
: : near的编译命令和其它不一致
: : ...................
--
FROM 220.249.10.10