|
[cyx@localhost zhcon-0.2.3]$ ./configure
中间显示省略
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: no
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的时候显示
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: warning: operation on 'dest32' may be undefined
fblinear24.cpp:128: warning: operation on 'dest32' may be undefined
fblinear24.cpp:129: warning: operation on 'dest32' may be undefined
fblinear24.cpp:132: warning: operation on 'dest32' may be undefined
fblinear24.cpp:134: warning: operation on 'dest16' may be undefined
fblinear24.cpp:139: warning: operation on 'dest16' may be undefined
fblinear24.cpp: In member function 'virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)':
fblinear24.cpp:206: error: invalid lvalue in assignment
fblinear24.cpp:210: error: invalid lvalue in assignment
make[3]: *** [fblinear24.o] 错误 1
make[3]: Leaving directory `/home/cyx/Desktop/zhcon-0.2.3/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/cyx/Desktop/zhcon-0.2.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/cyx/Desktop/zhcon-0.2.3'
make: *** [all] 错误 2
depmode=gcc3 /bin/sh ../../depcomp \这一句是不是表明zchon需要gcc3才能编译的?我机器上只有gcc4,看来还要安装gcc3,现在问题又来了,假若同时有gcc3和gcc4,那编译程序的时候,能自己识别选择gcc3还是gcc4?
若不能程序识别,我可不可以手动指定,如何指定啊? |
|