请教xchm-1.7.1 make 错误 谢谢 redhat 9

请教xchm-1.7.1 make 错误 谢谢 redhat 9

[root@localhost ~]# cd /usr/local/xchm-1.7.1
[root@localhost xchm-1.7.1]# ./configure
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.0... yes (version 2.8.6)
checking for wxWidgets static library... no
Warning: --rezflags, along with Mac OS classic resource building is deprecated.  You should remove this from your Makefile and build .app bundles instead.
checking whether build environment is sane... yes
checking for gawk... gawk
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking chm_lib.h usability... yes
checking chm_lib.h presence... yes
checking for chm_lib.h... yes
checking for chm_open in -lchm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating art/Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
[root@localhost xchm-1.7.1]#

=====================================================================
=====================================================================

[root@localhost xchm-1.7.1]# make
make  all-recursive
make[1]: Entering directory `/usr/local/xchm-1.7.1'
Making all in m4
make[2]: Entering directory `/usr/local/xchm-1.7.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/xchm-1.7.1/m4'
Making all in po
make[2]: Entering directory `/usr/local/xchm-1.7.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/xchm-1.7.1/po'
Making all in src
make[2]: Entering directory `/usr/local/xchm-1.7.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../art  -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -W -Wall -MT chmframe.o -MD -MP -MF ".deps/chmframe.Tpo" -c -o chmframe.o chmframe.cpp; \
        then mv -f ".deps/chmframe.Tpo" ".deps/chmframe.Po"; else rm -f ".deps/chmframe.Tpo"; exit 1; fi
chmframe.cpp: In member function ‘void CHMFrame::OnChangeFonts(wxCommandEvent&)’:
chmframe.cpp:223: 错误:no match 为 ‘operator*’ 在 ‘*wxFontEnumerator::GetFacenames(wxFontEncoding, bool)(0)’ 中
/usr/local/include/wx-2.8/wx/datetime.h:2104: 附注:备选为: wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/local/include/wx-2.8/wx/datetime.h:2110: 附注:         wxDateSpan operator*(int, const wxDateSpan&)
chmframe.cpp:231: 错误:no match 为 ‘operator*’ 在 ‘*wxFontEnumerator::GetFacenames(wxFontEncoding, bool)(0)’ 中
/usr/local/include/wx-2.8/wx/datetime.h:2104: 附注:备选为: wxTimeSpan operator*(int, const wxTimeSpan&)
/usr/local/include/wx-2.8/wx/datetime.h:2110: 附注:         wxDateSpan operator*(int, const wxDateSpan&)
chmframe.cpp: In member function ‘wxPanel* CHMFrame::CreateContentsPanel()’:
chmframe.cpp:691: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:692: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:693: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:694: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:695: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:696: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
chmframe.cpp:697: 错误:invalid use of undefined type ‘struct wxImageList’
/usr/local/include/wx-2.8/wx/generic/listctrl.h:16: 错误:forward declaration of ‘struct wxImageList’
make[2]: *** [chmframe.o] 错误 1
make[2]: Leaving directory `/usr/local/xchm-1.7.1/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/local/xchm-1.7.1'
make: *** [all] 错误 2
[root@localhost xchm-1.7.1]#


已经安装:
wxGTK-2.8
chmlib-0.39

谢谢      
编译错误

具体查错??

      
只要能正确安装就行.