什么系统什么编译器?
【 在 pyo (pyo) 的大作中提到: 】
: 因为以前devel.h里使用了USE_DEFAULT_SECODE,所以修改精华区位置和开心版面的时候还是水木的分类讨论区结构,按照文档里的去修改site.h和site.c发现都是符号连接到site里的devel.h和devel.c,按照自己的讨论区结构作了修改。然后make clean再make,configure里面使用了
: Making all in rzsz
: [Compiling lsz.lo]
: gcc -DHAVE_CONFIG_H -I. -I. -I.. -DNFGVMIN -I../src -DLINUX -I/usr/include/mysql
: -MT lsz.lo -MD -MP -MF .deps/lsz.Tpo -c lsz.c -fPIC -DPIC -o .libs/lsz.o
: In file included from ../src/bbs.h:633,
: from zglobal.h:27,
: from lsz.c:24:
: ../src/vars.h:36: error: array type has incomplete element type
: ../src/vars.h:40: error: array type has incomplete element type
: ../src/vars.h:41: error: array type has incomplete element type
: ../src/vars.h:42: error: array type has incomplete element type
: ../src/vars.h:43: error: array type has incomplete element type
: ../src/vars.h:44: error: array type has incomplete element type
以上六行全部没用,注释掉。后面的错误不知道。
: lsz.c:57: error: static declaration of 'errors' follows non-static declaration
: zglobal.h:171: error: previous declaration of 'errors' was here
: lsz.c:58: error: static declaration of 'protocol' follows non-static declaration
: zglobal.h:168: error: previous declaration of 'protocol' was here
: make[2]: *** [lsz.lo] 错误 1
: make[1]: *** [all-recursive] 错误 1
: make: *** [all] 错误 2
: [bbsd@bbs kbsbbs-2.0dev]$
: 觉得很奇怪,不知道以上操作步骤有什么问题,如果只修改devel.c和devel.h应该不会影响别的地方啊,希望大虾们指点,多谢
--
FROM 61.182.213.*