红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Debian

求解:debian编译安装gmchess-0.20.2的问题

发布时间:2009-09-25 19:36:08来源:红联作者:好大一只鸟


debian编译安装gmchess-0.20.2时,出现了这些提示,make时出现的,应该怎么解决呀,高手们帮帮忙呀!软件我发到上来了,是个象棋游戏!

MainWindow.cc: In constructor ‘MainWindow::MainWindow()’:
MainWindow.cc:60: error: no matching function for call to ‘Gtk::Builder::create_from_file(const char [39], const char [12])’
/usr/include/gtkmm-2.4/gtkmm/builder.h:171: note: candidates are: static Glib::RefPtr Gtk::Builder::create_from_file(const std::string&)
make[3]: *** [MainWindow.o] 错误 1
make[3]: Leaving directory `/home/wpah/software/gmchess-0.20.2/src'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/wpah/software/gmchess-0.20.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/wpah/software/gmchess-0.20.2'
make: *** [all] 错误 2
文章评论

共有 10 条评论

  1. 刘冲 于 2009-09-29 14:54:54发表:

    还没有安装上啊?你就是加上那个sid源或者testing源,只安装这一个软件,然后去掉sid或testing源不就完了嘛。sid和testing没有传说中那么不稳定的,而且testing就是下一个稳定版了,马上就要发了。桌面用testing很不错。

  2. 好大一只鸟 于 2009-09-27 15:12:52发表:

    哦,知道了

  3. acrofox 于 2009-09-26 21:44:59发表:

    引用:
    aptitude install gmchess
    刘冲 发表于 2009-9-26 21:24

    Debian Lenny 官方的源中没有这个。

  4. 刘冲 于 2009-09-26 21:24:41发表:

    aptitude install gmchess

  5. 刘冲 于 2009-09-26 21:23:26发表:

    源里直接就有,你为什么还要编译安装?

  6. 好大一只鸟 于 2009-09-26 19:45:31发表:

    我的问题谁帮帮我呀

  7. 好大一只鸟 于 2009-09-25 20:54:30发表:

    wpah@china:~/software/gmchess-0.20.2$ make
    make all-recursive
    make[1]: Entering directory `/home/wpah/software/gmchess-0.20.2'
    Making all in src
    make[2]: Entering directory `/home/wpah/software/gmchess-0.20.2/src'
    Making all in engine
    make[3]: Entering directory `/home/wpah/software/gmchess-0.20.2/src/engine'
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT preeval.lo -MD -MP -MF .deps/preeval.Tpo -c -o preeval.lo preeval.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT preeval.lo -MD -MP -MF .deps/preeval.Tpo -c preeval.cpp -fPIC -DPIC -o .libs/preeval.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT preeval.lo -MD -MP -MF .deps/preeval.Tpo -c preeval.cpp -o preeval.o >/dev/null 2>&1
    mv -f .deps/preeval.Tpo .deps/preeval.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT genmoves.lo -MD -MP -MF .deps/genmoves.Tpo -c -o genmoves.lo genmoves.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT genmoves.lo -MD -MP -MF .deps/genmoves.Tpo -c genmoves.cpp -fPIC -DPIC -o .libs/genmoves.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT genmoves.lo -MD -MP -MF .deps/genmoves.Tpo -c genmoves.cpp -o genmoves.o >/dev/null 2>&1
    mv -f .deps/genmoves.Tpo .deps/genmoves.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT pregen.lo -MD -MP -MF .deps/pregen.Tpo -c -o pregen.lo pregen.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT pregen.lo -MD -MP -MF .deps/pregen.Tpo -c pregen.cpp -fPIC -DPIC -o .libs/pregen.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT pregen.lo -MD -MP -MF .deps/pregen.Tpo -c pregen.cpp -o pregen.o >/dev/null 2>&1
    mv -f .deps/pregen.Tpo .deps/pregen.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT position.lo -MD -MP -MF .deps/position.Tpo -c -o position.lo position.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT position.lo -MD -MP -MF .deps/position.Tpo -c position.cpp -fPIC -DPIC -o .libs/position.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT position.lo -MD -MP -MF .deps/position.Tpo -c position.cpp -o position.o >/dev/null 2>&1
    mv -f .deps/position.Tpo .deps/position.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT evaluate.lo -MD -MP -MF .deps/evaluate.Tpo -c -o evaluate.lo evaluate.cpp
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT evaluate.lo -MD -MP -MF .deps/evaluate.Tpo -c evaluate.cpp -fPIC -DPIC -o .libs/evaluate.o
    libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT evaluate.lo -MD -MP -MF .deps/evaluate.Tpo -c evaluate.cpp -o evaluate.o >/dev/null 2>&1
    mv -f .deps/evaluate.Tpo .deps/evaluate.Plo
    /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o libeval.la -rpath /usr/local/lib preeval.lo genmoves.lo pregen.lo position.lo evaluate.lo
    libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.3.2/crtbeginS.o .libs/preeval.o .libs/genmoves.o .libs/pregen.o .libs/position.o .libs/evaluate.o -L/usr/lib/gcc/i486-linux-gnu/4.3.2 -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.3.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.3.2/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crtn.o -Wl,-soname -Wl,libeval.so.0 -o .libs/libeval.so.0.0.0
    libtool: link: (cd ".libs" && rm -f "libeval.so.0" && ln -s "libeval.so.0.0.0" "libeval.so.0")
    libtool: link: (cd ".libs" && rm -f "libeval.so" && ln -s "libeval.so.0.0.0" "libeval.so")
    libtool: link: ar cru .libs/libeval.a preeval.o genmoves.o pregen.o position.o evaluate.o
    libtool: link: ranlib .libs/libeval.a
    libtool: link: ( cd ".libs" && rm -f "libeval.la" && ln -s "../libeval.la" "libeval.la" )
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-book.o -MD -MP -MF .deps/eleeye_engine-book.Tpo -c -o eleeye_engine-book.o `test -f 'book.cpp' || echo './'`book.cpp
    mv -f .deps/eleeye_engine-book.Tpo .deps/eleeye_engine-book.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-eleeye.o -MD -MP -MF .deps/eleeye_engine-eleeye.Tpo -c -o eleeye_engine-eleeye.o `test -f 'eleeye.cpp' || echo './'`eleeye.cpp
    mv -f .deps/eleeye_engine-eleeye.Tpo .deps/eleeye_engine-eleeye.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-genmoves.o -MD -MP -MF .deps/eleeye_engine-genmoves.Tpo -c -o eleeye_engine-genmoves.o `test -f 'genmoves.cpp' || echo './'`genmoves.cpp
    mv -f .deps/eleeye_engine-genmoves.Tpo .deps/eleeye_engine-genmoves.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-hash.o -MD -MP -MF .deps/eleeye_engine-hash.Tpo -c -o eleeye_engine-hash.o `test -f 'hash.cpp' || echo './'`hash.cpp
    mv -f .deps/eleeye_engine-hash.Tpo .deps/eleeye_engine-hash.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-movesort.o -MD -MP -MF .deps/eleeye_engine-movesort.Tpo -c -o eleeye_engine-movesort.o `test -f 'movesort.cpp' || echo './'`movesort.cpp
    mv -f .deps/eleeye_engine-movesort.Tpo .deps/eleeye_engine-movesort.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-pipe.o -MD -MP -MF .deps/eleeye_engine-pipe.Tpo -c -o eleeye_engine-pipe.o `test -f 'pipe.cpp' || echo './'`pipe.cpp
    mv -f .deps/eleeye_engine-pipe.Tpo .deps/eleeye_engine-pipe.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-position.o -MD -MP -MF .deps/eleeye_engine-position.Tpo -c -o eleeye_engine-position.o `test -f 'position.cpp' || echo './'`position.cpp
    mv -f .deps/eleeye_engine-position.Tpo .deps/eleeye_engine-position.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-pregen.o -MD -MP -MF .deps/eleeye_engine-pregen.Tpo -c -o eleeye_engine-pregen.o `test -f 'pregen.cpp' || echo './'`pregen.cpp
    mv -f .deps/eleeye_engine-pregen.Tpo .deps/eleeye_engine-pregen.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-search.o -MD -MP -MF .deps/eleeye_engine-search.Tpo -c -o eleeye_engine-search.o `test -f 'search.cpp' || echo './'`search.cpp
    mv -f .deps/eleeye_engine-search.Tpo .deps/eleeye_engine-search.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT eleeye_engine-ucci.o -MD -MP -MF .deps/eleeye_engine-ucci.Tpo -c -o eleeye_engine-ucci.o `test -f 'ucci.cpp' || echo './'`ucci.cpp
    ucci.cpp: In function ‘bool ParsePos(UcciCommStruct&, char*)’:
    ucci.cpp:40: warning: deprecated conversion from string constant to ‘char*’
    mv -f .deps/eleeye_engine-ucci.Tpo .deps/eleeye_engine-ucci.Po
    /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ldl -o eleeye_engine eleeye_engine-book.o eleeye_engine-eleeye.o eleeye_engine-genmoves.o eleeye_engine-hash.o eleeye_engine-movesort.o eleeye_engine-pipe.o eleeye_engine-position.o eleeye_engine-pregen.o eleeye_engine-search.o eleeye_engine-ucci.o
    libtool: link: g++ -g -O2 -o eleeye_engine eleeye_engine-book.o eleeye_engine-eleeye.o eleeye_engine-genmoves.o eleeye_engine-hash.o eleeye_engine-movesort.o eleeye_engine-pipe.o eleeye_engine-position.o eleeye_engine-pregen.o eleeye_engine-search.o eleeye_engine-ucci.o -ldl
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-convert_pgn.o -MD -MP -MF .deps/convert_pgn-convert_pgn.Tpo -c -o convert_pgn-convert_pgn.o `test -f 'convert_pgn.cpp' || echo './'`convert_pgn.cpp
    mv -f .deps/convert_pgn-convert_pgn.Tpo .deps/convert_pgn-convert_pgn.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-pregen.o -MD -MP -MF .deps/convert_pgn-pregen.Tpo -c -o convert_pgn-pregen.o `test -f 'pregen.cpp' || echo './'`pregen.cpp
    mv -f .deps/convert_pgn-pregen.Tpo .deps/convert_pgn-pregen.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-position.o -MD -MP -MF .deps/convert_pgn-position.Tpo -c -o convert_pgn-position.o `test -f 'position.cpp' || echo './'`position.cpp
    mv -f .deps/convert_pgn-position.Tpo .deps/convert_pgn-position.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-genmoves.o -MD -MP -MF .deps/convert_pgn-genmoves.Tpo -c -o convert_pgn-genmoves.o `test -f 'genmoves.cpp' || echo './'`genmoves.cpp
    mv -f .deps/convert_pgn-genmoves.Tpo .deps/convert_pgn-genmoves.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-cchess.o -MD -MP -MF .deps/convert_pgn-cchess.Tpo -c -o convert_pgn-cchess.o `test -f 'cchess.cpp' || echo './'`cchess.cpp
    mv -f .deps/convert_pgn-cchess.Tpo .deps/convert_pgn-cchess.Po
    g++ -DHAVE_CONFIG_H -I. -I../.. -g -O2 -MT convert_pgn-pgnfile.o -MD -MP -MF .deps/convert_pgn-pgnfile.Tpo -c -o convert_pgn-pgnfile.o `test -f 'pgnfile.cpp' || echo './'`pgnfile.cpp
    mv -f .deps/convert_pgn-pgnfile.Tpo .deps/convert_pgn-pgnfile.Po
    /bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -ldl -o convert_pgn convert_pgn-convert_pgn.o convert_pgn-pregen.o convert_pgn-position.o convert_pgn-genmoves.o convert_pgn-cchess.o convert_pgn-pgnfile.o
    libtool: link: g++ -g -O2 -o convert_pgn convert_pgn-convert_pgn.o convert_pgn-pregen.o convert_pgn-position.o convert_pgn-genmoves.o convert_pgn-cchess.o convert_pgn-pgnfile.o -ldl
    make[3]: Leaving directory `/home/wpah/software/gmchess-0.20.2/src/engine'
    make[3]: Entering directory `/home/wpah/software/gmchess-0.20.2/src'
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
    mv -f .deps/main.Tpo .deps/main.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT Board.o -MD -MP -MF .deps/Board.Tpo -c -o Board.o Board.cc
    mv -f .deps/Board.Tpo .deps/Board.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT Engine.o -MD -MP -MF .deps/Engine.Tpo -c -o Engine.o Engine.cc
    mv -f .deps/Engine.Tpo .deps/Engine.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT Pgnfile.o -MD -MP -MF .deps/Pgnfile.Tpo -c -o Pgnfile.o Pgnfile.cc
    mv -f .deps/Pgnfile.Tpo .deps/Pgnfile.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT BookView.o -MD -MP -MF .deps/BookView.Tpo -c -o BookView.o BookView.cc
    mv -f .deps/BookView.Tpo .deps/BookView.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT Sound.o -MD -MP -MF .deps/Sound.Tpo -c -o Sound.o Sound.cc
    Sound.cc: In function ‘void CSound::play_file(const char*)’:
    Sound.cc:41: warning: deprecated conversion from string constant to ‘gchar*’
    mv -f .deps/Sound.Tpo .deps/Sound.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT robot.o -MD -MP -MF .deps/robot.Tpo -c -o robot.o robot.cc
    mv -f .deps/robot.Tpo .deps/robot.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT ec_throw.o -MD -MP -MF .deps/ec_throw.Tpo -c -o ec_throw.o ec_throw.cpp
    mv -f .deps/ec_throw.Tpo .deps/ec_throw.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT ConfWindow.o -MD -MP -MF .deps/ConfWindow.Tpo -c -o ConfWindow.o ConfWindow.cc
    mv -f .deps/ConfWindow.Tpo .deps/ConfWindow.Po
    g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -g -DDATA_DIR=\""/usr/local/share/gmchess"\" -DGMCHESS_LOCALEDIR=\""/usr/local/share/locale"\" -D_REENTRANT -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -g -O2 -MT MainWindow.o -MD -MP -MF .deps/MainWindow.Tpo -c -o MainWindow.o MainWindow.cc
    MainWindow.cc: In constructor ‘MainWindow::MainWindow()’:
    MainWindow.cc:60: error: no matching function for call to ‘Gtk::Builder::create_from_file(const char [39], const char [12])’
    /usr/include/gtkmm-2.4/gtkmm/builder.h:171: note: candidates are: static Glib::RefPtr Gtk::Builder::create_from_file(const std::string&)
    make[3]: *** [MainWindow.o] 错误 1
    make[3]: Leaving directory `/home/wpah/software/gmchess-0.20.2/src'
    make[2]: *** [all-recursive] 错误 1
    make[2]: Leaving directory `/home/wpah/software/gmchess-0.20.2/src'
    make[1]: *** [all-recursive] 错误 1
    make[1]: Leaving directory `/home/wpah/software/gmchess-0.20.2'
    make: *** [all] 错误 2

  8. 好大一只鸟 于 2009-09-25 20:52:14发表:

    wpah@china:~/software/gmchess-0.20.2$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether NLS is requested... yes
    checking for style of include used by make... GNU
    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 ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for intltool >= 0.35.0... 0.40.0 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.10.0
    checking for XML::Parser... ok
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 98304
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    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 whether we are using the GNU C++ compiler... (cached) yes
    checking whether g++ accepts -g... (cached) yes
    checking dependency style of g++... (cached) gcc3
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... yes
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for PACKAGE... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking for stdint.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking sys/timeb.h usability... yes
    checking sys/timeb.h presence... yes
    checking for sys/timeb.h... yes
    checking for unistd.h... (cached) yes
    checking for stdbool.h that conforms to C99... yes
    checking for _Bool... yes
    checking for inline... inline
    checking for int16_t... yes
    checking for int32_t... yes
    checking for int64_t... yes
    checking for int8_t... yes
    checking for size_t... yes
    checking for uint16_t... yes
    checking for uint32_t... yes
    checking for uint64_t... yes
    checking for uint8_t... yes
    checking for pid_t... yes
    checking vfork.h usability... no
    checking vfork.h presence... no
    checking for vfork.h... no
    checking for fork... yes
    checking for vfork... yes
    checking for working fork... yes
    checking for working vfork... (cached) yes
    checking for dup2... yes
    checking for ftime... yes
    checking for gethostbyname... yes
    checking for memchr... yes
    checking for memset... yes
    checking for select... yes
    checking for setlocale... yes
    checking for socket... yes
    checking for strchr... yes
    checking for strncasecmp... yes
    checking for strrchr... yes
    checking for locale.h... (cached) yes
    checking for LC_MESSAGES... yes
    checking for libintl.h... (cached) yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/engine/Makefile
    config.status: creating data/Makefile
    config.status: creating data/wood/Makefile
    config.status: creating data/sound/Makefile
    config.status: creating po/Makefile.in
    config.status: creating doc/Makefile
    config.status: creating doc/gmchess.6
    config.status: creating doc/convert_pgn.6
    config.status: creating doc/eleeye_engine.6
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing po/stamp-it commands

  9. 好大一只鸟 于 2009-09-25 20:48:05发表:

    configure过了呀!没有提示错误,要不我把configure的内容在发出来

  10. acrofox 于 2009-09-25 19:39:03发表:

    configure 通过了吗?