- 论坛徽章:
- 0
|
下载后从解压缩到检查配置因该比较顺利
tar -zxvf zhcon-0.2.5.tar.gz
cd zhcon-0.2.5
./configure
过程不表,得到如下提示
Configuration:
Target system: i686-pc-linux-gnu
Source code location: .
C++ Compiler: g++
C++ Compiler flags: -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
C Compiler: gcc
C Compiler flags: -funsigned-char -O2 -march=i686 -DNDEBUG -Wall
VGA support: yes
gpm moues support: yes
libggi support: no
unicon support: no
zhcon binary dir: /usr/local/bin
zhcon files dir: /usr/local/lib/zhcon
Config complete, now type make to build zhcon.
Good Luck!
make过程中发生错误,以至于无法安装再进行下去。
[root@nx6130 zhcon-0.2.5]# make
make all-recursive
make[1]: Entering directory `/home/yanxp/software/zhcon-0.2.5'
Making all in src
make[2]: Entering directory `/home/yanxp/software/zhcon-0.2.5/src'
Making all in display
make[3]: Entering directory `/home/yanxp/software/zhcon-0.2.5/src/display'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -O2 -march=i686 -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
fblinear4.cpp: In member function ‘virtual void FBLinear4::FillRect(int, int, int, int, int)’:
fblinear4.cpp:75: 错误:‘memset’在此作用域中尚未声明
make[3]: *** [fblinear4.o] 错误 1
make[3]: Leaving directory `/home/yanxp/software/zhcon-0.2.5/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/yanxp/software/zhcon-0.2.5/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/yanxp/software/zhcon-0.2.5'
make: *** [all] 错误 2
请各位帮我看下,如何解决这个问题
谢谢!!! |
|