I'm building 2.9.91.1's gnome-utils and I get the following errors from the
build:
if gcc -DHAVE_CONFIG_H -I. -I. -I../..
-DGNOMELOCALEDIR=\""/opt/gnome-2.9.91.1/share/locale"\"
-DGLADEDIR=\""/opt/gnome-2.9.91.1/share/gnome-utils/glade"\"
-DDATADIR=\""/opt/gnome-2.9.91.1/share"\" -DORBIT2=1 -pthread
-I/opt/gnome-2.9.91.1/include/gtk-2.0
-I/opt/gnome-2.9.91.1/lib/gtk-2.0/include
-I/opt/gnome-2.9.91.1/include/atk-1.0 -I/opt/gnome-2.9.91.1/include/pango-1.0
-I/usr/include/freetype2 -I/usr/X11R6/include
-I/opt/gnome-2.9.91.1/include/glib-2.0
-I/opt/gnome-2.9.91.1/lib/glib-2.0/include
-I/opt/gnome-2.9.91.1/include/libgnome-2.0
-I/opt/gnome-2.9.91.1/include/orbit-2.0
-I/opt/gnome-2.9.91.1/include/libbonobo-2.0
-I/opt/gnome-2.9.91.1/include/gconf/2
-I/opt/gnome-2.9.91.1/include/gnome-vfs-2.0
-I/opt/gnome-2.9.91.1/lib/gnome-vfs-2.0/include
-I/opt/gnome-2.9.91.1/include/bonobo-activation-2.0
-I/opt/gnome-2.9.91.1/include/libgnomeui-2.0
-I/opt/gnome-2.9.91.1/include/libgnomecanvas-2.0
-I/opt/gnome-2.9.91.1/include/libart-2.0
-I/opt/gnome-2.9.91.1/include/libbonoboui-2.0
-I/opt/gnome-2.9.91.1/include/libxml2
-I/opt/gnome-2.9.91.1/include/libglade-2.0
-I/opt/gnome-2.9.91.1/include/gtk-2.0 -I/opt/gnome-2.9.91.1/include/libxml2
-I/opt/gnome-2.9.91.1/lib/gtk-2.0/include
-I/opt/gnome-2.9.91.1/include/atk-1.0 -I/opt/gnome-2.9.91.1/include/pango-1.0
-I/usr/include/freetype2 -I/usr/X11R6/include
-I/opt/gnome-2.9.91.1/include/glib-2.0
-I/opt/gnome-2.9.91.1/lib/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE
-I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/opt/gnome-2.9.91.1/include -g -I/opt/gnome-2.9.91.1/include
-L/opt/gnome-2.9.91.1/lib -O2-pipe -MT gfloppy.o -MD -MP -MF
".deps/gfloppy.Tpo" \
-c -o gfloppy.o `test -f 'gfloppy.c' || echo './'`gfloppy.c; \
then mv -f ".deps/gfloppy.Tpo" ".deps/gfloppy.Po"; \
else rm -f ".deps/gfloppy.Tpo"; exit 1; \
fi
In file included from /usr/include/linux/fs.h:19,
from gfloppy.c:30:
/usr/include/linux/prio_tree.h:22: error: syntax error before "pgoff_t"
/usr/include/linux/prio_tree.h:27: error: syntax error before "pgoff_t"
/usr/include/linux/prio_tree.h: In function `prio_tree_iter_init':
/usr/include/linux/prio_tree.h:29: error: `iter' undeclared (first use in this
function)
/usr/include/linux/prio_tree.h:29: error: (Each undeclared identifier is
reported only once
/usr/include/linux/prio_tree.h:29: error: for each function it appears in.)
/usr/include/linux/prio_tree.h:29: error: `root' undeclared (first use in this
function)
/usr/include/linux/prio_tree.h:30: error: `r_index' undeclared (first use in
this function)
make[5]: *** [gfloppy.o] Error 1
make[5]: Leaving directory
`/opt/garnome-2.9.91.1/desktop/gnome-utils/work/main.d/gnome-utils-2.9.91/gfloppy/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/garnome-2.9.91.1/desktop/gnome-utils/work/main.d/gnome-utils-2.9.91/gfloppy'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/opt/garnome-2.9.91.1/desktop/gnome-utils/work/main.d/gnome-utils-2.9.91'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/opt/garnome-2.9.91.1/desktop/gnome-utils/work/main.d/gnome-utils-2.9.91'
make[1]: *** [build-work/main.d/gnome-utils-2.9.91/Makefile] Error 2
make[1]: Leaving directory `/opt/garnome-2.9.91.1/desktop/gnome-utils'
make: *** [paranoid-install] Error 2
I'm sure this is a kernel headers issue, but why the hell is GNOME using the
kernel headers at all? The kernel team explicitly says they should not be
used in external development at all.
--
Gary L. Greene, Jr.
Sent from uriel
21:19:35 up 3 days, 12:55, 4 users, load average: 0.35, 0.23, 0.10
============================================================
Developer and Project Lead for the PhoeNUX OS.
check out http://www.phoenuxos.com/ for more info.
EMAIL : greeneg arklinux com
============================================================
Attachment:
pgpRRLMI27QWC.pgp
Description: PGP signature