这种问题好像总有人问,我来做个总结吧,有不对之处请大家指点
对于任何一种新功能的开发,使用,大家都会对这个新功能有一个说明,
也就是当别人环顾四方的时候,可以看见你"web浏览",“打麻将”之类的说明
下面的WWW就是这种说明,为了正常使用,还要在modetype.c中加入
case WWW: return "web浏览";
这时,WWW仍然没有定义,还要在include/modes.h中加入定义
#define WWW 数字; //这个数字,参见本文件中其它定义,顺序排下来就行。
【 在 linton (难得糊涂) 的大作中提到: 】
: 系统:Solaris 2.7 for x86
: BBS: FB20001219
: $ make
: gcc -g -O2 -DSOLARIS -DSYSV -c cgi.c
: cgi.c: In function `login_check':
: cgi.c:146: `WWW' undeclared (first use in this function)
: cgi.c:146: (Each undeclared identifier is reported only once
: cgi.c:146: for each function it appears in.)
: *** Error code 1
: make: Fatal error: Command failed for target `cgi.o'
: 谢谢
: ...................
--
FROM 166.111.34.163