开始还以为是下载的源码有问题,装了好几个版本都是同样的错误.不知道是为什么?./configure时显示成功.
[root@xu zhcon-0.2-b2]# make
make all-recursive
make[1]: Entering directory `/tmp/zhcon-0.2-b2'
Making all in src
make[2]: Entering directory `/tmp/zhcon-0.2-b2/src'
Making all in display
make[3]: Entering directory `/tmp/zhcon-0.2-b2/src/display'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -g -funsigned-char -Wall -c fbvgaplanes.cpp
In file included from fbvgaplanes.cpp:21:
../../src/debug.h:22: syntax error before `;' token
fbvgaplanes.cpp: In member function `virtual void FBVgaPlanes::FillRect(int,
int, int, int, int)':
fbvgaplanes.cpp:156: `debug' undeclared (first use this function)
fbvgaplanes.cpp:156: (Each undeclared identifier is reported only once for each
function it appears in.)
make[3]: *** [fbvgaplanes.o] Error 1
make[3]: Leaving directory `/tmp/zhcon-0.2-b2/src/display'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/zhcon-0.2-b2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zhcon-0.2-b2'
make: *** [all-recursive-am] Error 2