GNOME Bugzilla – Bug 85968
compilation error on alpha
Last modified: 2004-12-22 21:47:04 UTC
dolmen:/usr/local/src/pan# make make all-recursive make[1]: Entering directory `/usr/local/src/pan' Making all in po make[2]: Entering directory `/usr/local/src/pan/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/local/src/pan/po' Making all in gmime make[2]: Entering directory `/usr/local/src/pan/gmime' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..\gmime -D_REENTRANT -I/usr/incl ude/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -I. -c gmime-multipar t.c gmime-multipart.c: In function `g_mime_multipart_class_init': gmime-multipart.c:112: warning: assignment from incompatible pointer type gmime-multipart.c:119: warning: assignment from incompatible pointer type gmime-multipart.c: At top level: gmime-multipart.c:231: conflicting types for `multipart_write_to_stream' gmime-multipart.c:54: previous declaration of `multipart_write_to_stream' gmime-multipart.c:613: conflicting types for `multipart_get_number' gmime-multipart.c:62: previous declaration of `multipart_get_number' make[2]: *** [gmime-multipart.o] Error 1 make[2]: Leaving directory `/usr/local/src/pan/gmime' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/pan' make: *** [all-recursive-am] Error 2
The following change should fix that: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/gmime&command=DIFF_FRAMESET&file=gmime-multipart.c&rev1=1.4&rev2=1.4.2.1&root=/cvs/gnome I don't think we've built any 0.12 pre-releases on Alpha, so if you have any more, let us know.
I've launched a make -k to uncover all the remainding errors, sorry i should have done that the first time. Looks like there is only antnother one. make[2]: Entering directory `/usr/local/src/pan/gmime' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..\gmime -D_REENTRANT -I/usr/incl ude/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -I. -c gmime-part.c gmime-part.c: In function `g_mime_part_class_init': gmime-part.c:110: warning: assignment from incompatible pointer type gmime-part.c: At top level: gmime-part.c:359: conflicting types for `mime_part_write_to_stream' gmime-part.c:59: previous declaration of `mime_part_write_to_stream' make[2]: *** [gmime-part.o] Error 1
The following should fix this: http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=pan/gmime&command=DIFF_FRAMESET&file=gmime-part.c&rev1=1.26&rev2=1.26.2.1&root=/cvs/gnome Keep'em coming.
just fixed this in gmime too.