二话不说直接放结果
[Maizi@Marvin zhcon-0.2.5]$ make
make all-recursive
make[1]: Entering directory `/home/Maizi/Source/zhcon/zhcon-0.2.5'
Making all in src
make[2]: Entering directory `/home/Maizi/Source/zhcon/zhcon-0.2.5/src'
Making all in display
make[3]: Entering directory `/home/Maizi/Source/zhcon/zhcon-0.2.5/src/display'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -O2 -DNDEBUG -Wall -MT fblinear4.o -MD -MP -MF ".deps/fblinear4.Tpo" -c -o fblinear4.o fblinear4.cpp; \
then mv -f ".deps/fblinear4.Tpo" ".deps/fblinear4.Po"; else rm -f ".deps/fblinear4.Tpo"; exit 1; fi
In file included from ../../src/global.h:30:0,
from fblinear4.cpp:22:
../../src/graphdev.h:45:38: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
static bool Open(char* drv = "auto");
^
fblinear4.cpp: In member function ‘virtual void FBLinear4::FillRect(int, int, int, int, int)’:
fblinear4.cpp:75:29: error: ‘memset’ was not declared in this scope
memset(dest, fg, w/2);
^
make[3]: *** [fblinear4.o] Error 1
make[3]: Leaving directory `/home/Maizi/Source/zhcon/zhcon-0.2.5/src/display'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Maizi/Source/zhcon/zhcon-0.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Maizi/Source/zhcon/zhcon-0.2.5'
make: *** [all] Error 2
[Maizi@Marvin zhcon-0.2.5]$
顺带说一下,在configure的时候出现了这样的情况
Configuration:
Target system: x86_64-unknown-linux-gnu
Source code location: .
C++ Compiler: g++
C++ Compiler flags: -funsigned-char -O2 -DNDEBUG -Wall
C Compiler: gcc
C Compiler flags: -funsigned-char -O2 -DNDEBUG -Wall
VGA support: no
gpm moues support: no
libggi support: no
unicon support: no
zhcon binary dir: /usr/local/zhcon/bin
zhcon files dir: /usr/local/zhcon/lib/zhcon
Config complete, now type make to build zhcon.
Good Luck!
我不懂这里面的相关支持是啥,不知道是不是能提供点线索