- 主题:用好几个版本make 都出现这个错误
make -s all-recursive
Making all in libsystem
[Compiling f_cat.c]
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLINUX -I/usr/include/mysql -c f_cat.
c -MT f_cat.lo -MD -MP -MF .deps/f_cat.TPlo -fPIC -DPIC -o .libs/f_cat.lo
In file included from ../src/bbs.h:486,
from ../src/system.h:3,
from f_cat.c:2:
../src/vars.h:39: 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
../src/vars.h:45: error: array type has incomplete element type
../src/vars.h:46: error: array type has incomplete element type
../src/vars.h:47: error: array type has incomplete element type
make[2]: *** [f_cat.lo] ## 1
make[1]: *** [all-recursive] ## 1
make: *** [all] ## 2
请问是什么原因
--
FROM 211.87.212.*
【 在 roryliu (豆子) 的大作中提到: 】
: make -s all-recursive
: Making all in libsystem
: [Compiling f_cat.c]
: mkdir .libs
: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -DLINUX -I/usr/include/mysql -c f_cat.
: c -MT f_cat.lo -MD -MP -MF .deps/f_cat.TPlo -fPIC -DPIC -o .libs/f_cat.lo
: In file included from ../src/bbs.h:486,
: from ../src/system.h:3,
: from f_cat.c:2:
: ../src/vars.h:39: 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
: ../src/vars.h:45: error: array type has incomplete element type
: ../src/vars.h:46: error: array type has incomplete element type
: ../src/vars.h:47: error: array type has incomplete element type
找到这个文件,把这六行注释掉试一试。你的编译器是?
: make[2]: *** [f_cat.lo] ## 1
: make[1]: *** [all-recursive] ## 1
: make: *** [all] ## 2
: 请问是什么原因
--
FROM 128.12.181.*
gcc version 4.0.1
(Debian 2.6.11-1-686)
【 在 atppp (Big Mouse) 的大作中提到: 】
: 找到这个文件,把这六行注释掉试一试。你的编译器是?
--
FROM 211.87.212.*
make可以了
【 在 atppp (Big Mouse) 的大作中提到: 】
: 找到这个文件,把这六行注释掉试一试。你的编译器是?
--
FROM 211.87.212.*
是怎么解决的?我也想知道。
【 在 roryliu (豆子) 的大作中提到: 】
: make可以了
--
FROM 211.151.95.188