珞珈山水BBS电脑网络BBS安装与维护 → 单文区文章阅读

单文区文章阅读 [返回]
发信人: hotegg@smth.org (你这是不当得利!), 信区: BBSDev
标  题: Re: fbnt 0.94H编译时出错
发信站: BBS 水木清华站 (Tue Jun 10 14:15:40 2003)
转信站: WHUBBS!news.tiaozhan.com!maily.cic.tsinghua.edu.cn!SMTH

我时根据3.3w的说明做的,前面makesrc文件夹里面源文件成功。
但是后面一步,make local_utl文件夹内的源文件出错。如下:
gcc -I../include -M *.c ../src/record.c >.depend
boardscore.c:1: ythtlib.h: No such file or directory
boardscore.c:2: nbstat.h: No such file or directory
In file included from innd.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
In file included from innd1.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
In file included from innd2.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
innsvc.c:17: pathnames.h: No such file or directory
In file included from njuinnd.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
In file included from njuoutd.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
In file included from outd.c:5:
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\stdarg.h:90: warning: `va_start' redefined
e:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\inclu
e\varargs.h:106: warning: this is the location of the previous definition
make: *** [dep] Error 1
bash-2.02$ make clean
rm -fr *.o *.BAK *.log repassold repass266 mergeb account bfinger newacct posts
at usage showuser refriend2 autoundeny autoclear bbstop bbspop3d
rm -fr core .depend
bash-2.02$ make
gcc -s  -O2 -I../include -c repassold.c
gcc -s -O2 -I../include -o repassold repassold.o
gcc -s  -O2 -I../include -c repass266.c
gcc -s -O2 -I../include -o repass266 repass266.o
gcc -s  -O2 -I../include -c mergeb.c
mergeb.c: In function `main':
mergeb.c:40: warning: overflow in implicit constant conversion
mergeb.c:45: warning: overflow in implicit constant conversion
mergeb.c:53: warning: overflow in implicit constant conversion
mergeb.c:63: warning: overflow in implicit constant conversion
gcc -s -O2 -I../include -o mergeb mergeb.o ../src/record.o ../src/flock.o
gcc -s -O2 -I../include    account.c   -o account
gcc -s  -O2 -I../include -c bfinger.c
gcc -s -O2 -I../include -o bfinger bfinger.o ../src/modetype.c
../src/modetype.c: In function `ModeType':
../src/modetype.c:93: `TETRIS' undeclared (first use in this function)
../src/modetype.c:93: (Each undeclared identifier is reported only once
../src/modetype.c:93: for each function it appears in.)
../src/modetype.c:94: `WINMINE' undeclared (first use in this function)
../src/modetype.c:95: `TTGAME' undeclared (first use in this function)
../src/modetype.c:96: `WORKER' undeclared (first use in this function)
../src/modetype.c:97: `KILLER' undeclared (first use in this function)
make: *** [bfinger] Error 1
【 在 xiaohzou (风雨雪) 的大作中提到: 】
: 可以make
: 不过cp时找不到shutdownbbsd.exe文件
: 然后我是照FirebirdNT.README里的指示做的,
: home/bbs/bin/fbsvc /i
: createsevice failed!
: 先
: make dep
: make clean


--
<%@ Page Language="C#" %>
<%@import namespace="System.Data"%>
<%@import namespace="System.Data.OleDb"%>
<%@import namespace="System.Drawing"%>
<%@import namespace="System.Drawing.Imaging"%>


※ 来源:·BBS 水木清华站 smth.org·[FROM: 166.111.139.219]
[返回单文区目录]

武汉大学BBS 珞珈山水站 All rights reserved.
wForum , 页面执行时间:6.434毫秒