Hi, gnome-base/gnome-libs-1.4.2 does not compile, if I use gcc-4.0.2-r3: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H -I../support -I../support -I../intl -I../intl -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -DGNOMELIBDIR=\"/usr/lib64\" -DGNOMEDATADIR=\"/usr/share\" -DGNOMEBINDIR=\"/usr/bin\" -DGNOMELOCALSTATEDIR=\"/var/lib\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOMESYSCONFDIR=\"/etc\" -DVERSION=\"1.4.2\" -DG_LOG_DOMAIN=\"Gnome\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -O3 -pipe -mtune=power5 -mcpu=power5 -I/usr/include/db1 -Wall -Wunused -c gnome-exec.c -fPIC -DPIC -o .libs/gnome-exec.lo In file included from /usr/include/asm/types.h:8, from /usr/include/asm-ppc64/elf.h:4, from /usr/include/asm/elf.h:8, from /usr/include/asm-ppc64/sigcontext.h:12, from /usr/include/asm/sigcontext.h:8, from /usr/include/bits/sigcontext.h:28, from /usr/include/signal.h:333, from /usr/include/sys/wait.h:30, from gnome-exec.c:48: /usr/include/asm-ppc64/types.h:19: error: two or more data types in declaration specifiers gnome-exec.c: In function 'gnome_execute_async_with_env_fds': gnome-exec.c:193: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int' make[2]: *** [gnome-exec.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2/libgnome' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/gnome-libs-1.4.2 failed. !!! Function src_compile, Line 70, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Not a linux headers issue.
Created attachment 77223 [details, diff] fix configure.in for ppc64 Simple fix. I just removed the useless test for umode_t since its not used by anything directly in gnome-libs anyway.
fixed.