Date: Sun, 20 May 2001 23:48:07 -0400 From: "D.A. Muran-de Assereto" <dmuran@tuad.org> To: <freebsd-alpha@freebsd.org> Subject: guile-gnome compilation succeeds on K7, fails on Alpha Message-ID: <HOEPJGGBCMBOPDPIHNJKKEMMELAA.dmuran@tuad.org>
next in thread | raw e-mail | index | archive | help
I'm running into the oddest thing here with the gnome-1.4 build. I have successfully built it on my Athlon system, but when compiling identical code on the Alpha system, gcc exits with an error. The offending code is in guile-gnome/work/gnome-guile-0.20/guile-gnome/ghhtp/ghttp-glue.c. The Alpha system errors out like this: (linebreaks added) cc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I../../guile-gtk -I./../../g uile -gtk -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DNEED_G NOME SUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/incl ude/gtk12 -I/usr/local/include -O -pipe -mcpu=ev56 -I/usr/local/include -c ghttp-glue.c -fPIC -DPIC -o .libs/ghttp-glue.lo ghttp-glue.c:56: warning: initialization makes integer from pointer without a cast ghttp-glue.c:56: initializer element is not computable at load time ghttp-glue.c:56: (near initialization for `sgtk_ghttp_request_info_gtk.object_size') ghttp-glue.c: In function `sgtk_ghttp_get_header': ghttp-glue.c:331: warning: assignment discards qualifiers from pointer target type ghttp-glue.c: In function `sgtk_ghttp_get_error': ghttp-glue.c:432: warning: assignment discards qualifiers from pointer target type ghttp-glue.c: In function `sgtk_ghttp_reason_phrase': ghttp-glue.c:466: warning: assignment discards qualifiers from pointer target type *** Error code 1 The Athlon system reports as follows: cc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I./.. -I../../guile-gtk -I./../../g uile -gtk -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gtk12 -I/usr/local/include -O -pipe -march=k6 -I/usr/local/include -c ghttp-glue.c-fPIC -DPIC -o .libs/ghttp-glue.lo ghttp-glue.c:56: warning: initialization makes integer from pointer without a cast ghttp-glue.c: In function `sgtk_ghttp_get_header': ghttp-glue.c:331: warning: assignment discards qualifiers from pointer target type ghttp-glue.c: In function `sgtk_ghttp_get_error': ghttp-glue.c:432: warning: assignment discards qualifiers from pointer target type ghttp-glue.c: In function `sgtk_ghttp_reason_phrase': ghttp-glue.c:466: warning: assignment discards qualifiers from pointer target type No error 1, compilation continues, gnome works. Any ideas why this might be happening? Dave Muran-de Assereto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?HOEPJGGBCMBOPDPIHNJKKEMMELAA.dmuran>