Re: compile error



Am Sonntag, den 05.06.2005, 12:50 +0000 schrieb 文 见:
> I got the error when compiling evince from latest cvs :
> 
> 
> 
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS -D_REENTRANT 
> -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr//include/gtk-2.0 
> -I/usr//lib/gtk-2.0/include -I/usr/X11R6/include -I/usr//include/atk-1.0 
> -I/usr//include/pango-1.0 -I/usr//include -I/usr//include/freetype2 
> -I/usr//include/cairo -I/usr//include/libpng12 -I/usr//include/glib-2.0 
> -I/usr//lib/glib-2.0/include -I/usr//include/libgnomeui-2.0 
> -I/usr//include/libgnome-2.0 -I/usr//include/libgnomecanvas-2.0 
> -I/usr//include/libart-2.0 -I/usr//include/gconf/2 
> -I/usr//include/libbonoboui-2.0 -I/usr//include/gnome-vfs-2.0 
> -I/usr//lib/gnome-vfs-2.0/include -I/usr//include/orbit-2.0 
> -I/usr//include/libbonobo-2.0 -I/usr//include/bonobo-activation-2.0 
> -I/usr//include/libxml2 -DCURSOR_DIR=\"/usr/local/share/evince\" -Wall 
> -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Werror -g -O2 
> -Wno-strict-aliasing -Wno-sign-compare -MT eggmarshalers.lo -MD -MP -MF 
> .deps/eggmarshalers.Tpo -c eggmarshalers.c  -fPIC -DPIC -o 
> .libs/eggmarshalers.o
> eggmarshalers.c:58: warning: no previous prototype for 
> '_egg_marshal_VOID__OBJECT_OBJECT'
> eggmarshalers.c:95: warning: no previous prototype for 
> '_egg_marshal_VOID__OBJECT_STRING_LONG_LONG'
> eggmarshalers.c:136: warning: no previous prototype for 
> '_egg_marshal_VOID__OBJECT_LONG'
> eggmarshalers.c:173: warning: no previous prototype for 
> '_egg_marshal_VOID__OBJECT_STRING_STRING'
> eggmarshalers.c:212: warning: no previous prototype for 
> '_egg_marshal_VOID__UINT_UINT'
> eggmarshalers.c:249: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__INT'
> eggmarshalers.c:288: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__ENUM'
> eggmarshalers.c:327: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__VOID'
> eggmarshalers.c:364: warning: no previous prototype for 
> '_egg_marshal_OBJECT__VOID'
> eggmarshalers.c:403: warning: no previous prototype for 
> '_egg_marshal_VOID__INT_INT'
> eggmarshalers.c:444: warning: no previous prototype for 
> '_egg_marshal_VOID__OBJECT_ENUM_BOXED'
> eggmarshalers.c:485: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__BOOLEAN'
> eggmarshalers.c:524: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__OBJECT_STRING_STRING'
> eggmarshalers.c:567: warning: no previous prototype for 
> '_egg_marshal_BOOLEAN__ENUM_INT'
> eggmarshalers.c:608: warning: no previous prototype for 
> '_egg_marshal_STRING__POINTER'
> eggmarshalers.c:647: warning: no previous prototype for 
> '_egg_marshal_STRING__STRING_STRING'
> make[4]: *** [eggmarshalers.lo] error 1
> make[4]: Leaving directory 
> `/home/jizezhao/gnome/Dependance/tmp/gtkbase/evince/cut-n-paste/toolbar-editor'
> 
> make[3]: *** [all] error 2
> make[3]: Leaving directory 
> `/home/jizezhao/gnome/Dependance/tmp/gtkbase/evince/cut-n-paste/toolbar-editor'
> 
> make[2]: *** [all-recursive] 错误 1
> make[2]: Leaving directory 
> `/home/jizezhao/gnome/Dependance/tmp/gtkbase/evince/cut-n-paste'
> make[1]: *** [all-recursive] error 1
> make[1]: Leaving directory 
> `/home/jizezhao/gnome/Dependance/tmp/gtkbase/evince'
> make: *** [all] error 2

Please remove cut-n-paste/toolbar-editor/eggmarshalers.c and run make
again. The code that generates eggmarshalers.c was fixed to fix this
error. But that helps only if you delete the old copy of that file.

HTH,

Martin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]