|
|
我在安装星际译王中遇到编译错误,请高手指点迷津
make all-recursive
make[1]: Entering directory `/home/dickchan/stardict-2.4.7'
Making all in src
make[2]: Entering directory `/home/dickchan/stardict-2.4.7/src'
Making all in pixmaps
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/pixmaps'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/pixmaps'
Making all in sounds
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/sounds'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/sounds'
Making all in tools
make[3]: Entering directory `/home/dickchan/stardict-2.4.7/src/tools'
make[4]: Entering directory `/home/dickchan/stardict-2.4.7/src/tools'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -g -O2 -MT pydict2dic.o -MD -MP -MF ".deps/pydict2dic.Tpo" -c -o pydict2dic.o pydict2dic.c; \
then mv -f ".deps/pydict2dic.Tpo" ".deps/pydict2dic.Po"; else rm -f ".deps/pydict2dic.Tpo"; exit 1; fi
In file included from /opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:33,
from /opt/gnome/include/gtk-2.0/gdk/gdkpixbuf.h:33,
from /opt/gnome/include/gtk-2.0/gdk/gdkcairo.h:24,
from /opt/gnome/include/gtk-2.0/gdk/gdk.h:30,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:169: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:190: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:207: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:31,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gdk/gdk.h:69: error: syntax error before ‘*’ token
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:207: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkobject.h:210: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:447: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkwidget.h:719: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkbin.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkwindow.h:33,
from /opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:32,
from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:174: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:178: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcontainer.h:182: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:28,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkdialog.h:141: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:32,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkaboutdialog.h:65: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:26,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:127: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeviewcolumn.h:142: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:49,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkcelllayout.h:83: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtkcombobox.h:25,
from /opt/gnome/include/gtk-2.0/gtk/gtk.h:65,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktreeview.h:170: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:82,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:58: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtkfilechooserdialog.h:64: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:114,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:99: error: syntax error before ‘GOptionEntry’
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: error: syntax error before ‘*’ token
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: warning: type defaults to ‘int’ in declaration of ‘gtk_get_option_group’
/opt/gnome/include/gtk-2.0/gtk/gtkmain.h:103: warning: data definition has no type or storage class
In file included from /opt/gnome/include/gtk-2.0/gtk/gtk.h:158,
from pydict2dic.c:8:
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:187: warning: data definition has no type or storage class
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: error: syntax error before ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: warning: type defaults to ‘int’ in declaration of ‘G_GNUC_NULL_TERMINATED’
/opt/gnome/include/gtk-2.0/gtk/gtktextbuffer.h:194: warning: data definition has no type or storage class
make[4]: *** [pydict2dic.o] Error 1
make[4]: Leaving directory `/home/dickchan/stardict-2.4.7/src/tools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/dickchan/stardict-2.4.7/src/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dickchan/stardict-2.4.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dickchan/stardict-2.4.7'
make: *** [all] Error 2
谢谢 |
|