- 论坛徽章:
- 0
|
在安装时配置都挺顺利的,但是gmake时就出现问题了:
Configuration:
Target system: i686-pc-linux-gnu
Source code location: .
C++ Compiler: g++
C++ Compiler flags: -funsigned-char -march=i686 -DNDEBUG -Wall
C Compiler: gcc
C Compiler flags: -funsigned-char -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!
[heng@localhost zhcon-0.2.3]$ gmake
cd .
&& CONFIG_FILES= CONFIG_HEADERS=config.h
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
gmake all-recursive
gmake[1]: Entering directory `/home/heng/下载/zhcon-0.2.3'
Making all in src
gmake[2]: Entering directory `/home/heng/下载/zhcon-0.2.3/src'
Making all in display
gmake[3]: Entering directory `/home/heng/下载/zhcon-0.2.3/src/display'
source='fbdev.cpp' object='fbdev.o' libtool=no
depfile='.deps/fbdev.Po' tmpdepfile='.deps/fbdev.TPo'
depmode=gcc3 /bin/sh ../../depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fbdev.o `test -f fbdev.cpp || echo './'`fbdev.cpp
source='fblinear15.cpp' object='fblinear15.o' libtool=no
depfile='.deps/fblinear15.Po' tmpdepfile='.deps/fblinear15.TPo'
depmode=gcc3 /bin/sh ../../depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear15.o `test -f fblinear15.cpp || echo './'`fblinear15.cpp
source='fblinear16.cpp' object='fblinear16.o' libtool=no
depfile='.deps/fblinear16.Po' tmpdepfile='.deps/fblinear16.TPo'
depmode=gcc3 /bin/sh ../../depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear16.o `test -f fblinear16.cpp || echo './'`fblinear16.cpp
fblinear16.cpp: In member function ‘virtual void FBLinear16::RevRect(int, int, int, int)’:
fblinear16.cpp:84: 警告:‘dest32’ 上的运算结果可能是未定义的
source='fblinear24.cpp' object='fblinear24.o' libtool=no
depfile='.deps/fblinear24.Po' tmpdepfile='.deps/fblinear24.TPo'
depmode=gcc3 /bin/sh ../../depcomp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -funsigned-char -march=i686 -DNDEBUG -Wall -c -o fblinear24.o `test -f fblinear24.cpp || echo './'`fblinear24.cpp
fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’:
fblinear24.cpp:127: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:128: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:129: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:132: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:134: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp:139: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp: In member function ‘virtual void FBLinear24: rawChar(int, int, int, int, CharBitMap*)’:
fblinear24.cpp:206: 错误:赋值运算中的左值无效
fblinear24.cpp:210: 错误:赋值运算中的左值无效
gmake[3]: *** [fblinear24.o] 错误 1
gmake[3]: Leaving directory `/home/heng/下载/zhcon-0.2.3/src/display'
gmake[2]: *** [all-recursive] 错误 1
gmake[2]: Leaving directory `/home/heng/下载/zhcon-0.2.3/src'
gmake[1]: *** [all-recursive] 错误 1
gmake[1]: Leaving directory `/home/heng/下载/zhcon-0.2.3'
gmake: *** [all] 错误 2
安装完后输入zhcon就出现下面的提示:
$ zhcon
warning!!!
/dev/pts/1 is not real tty or vc, are your running under X-Window?
libggi support not complied in, can not run under X-Window, now quit
[ 本帖最后由 honeyheng 于 2008-3-26 17:16 编辑 ] |
|