I'm trying to compile hal from git with linux 3.6.10 util-linux 2.22.2 dbus 1.6.8 glib 2.34.3 I get: Making all in addons make[5]: Entering directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux/addons' CC addon-generic-backlight.o In file included from addon-generic-backlight.c:38:0: /usr/include/glib-2.0/glib/gmain.h:21:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gpoll.h:27:0, from /usr/include/glib-2.0/glib/gmain.h:27, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/gpoll.h:27, from /usr/include/glib-2.0/glib/gmain.h:27, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gtypes.h:35:0, from /usr/include/glib-2.0/glib/gpoll.h:27, from /usr/include/glib-2.0/glib/gmain.h:27, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0, from /usr/include/glib-2.0/glib/gpoll.h:27, from /usr/include/glib-2.0/glib/gmain.h:27, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gmain.h:28:0, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gslist.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gslist.h:34:0, from /usr/include/glib-2.0/glib/gmain.h:28, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gmem.h:34:0, from /usr/include/glib-2.0/glib/gslist.h:34, from /usr/include/glib-2.0/glib/gmain.h:28, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gslist.h:35:0, from /usr/include/glib-2.0/glib/gmain.h:28, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gnode.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gnode.h:34:0, from /usr/include/glib-2.0/glib/gslist.h:35, from /usr/include/glib-2.0/glib/gmain.h:28, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gmain.h:29:0, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gthread.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gthread.h:34:0, from /usr/include/glib-2.0/glib/gmain.h:29, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gatomic.h:23:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gatomic.h:29:0, from /usr/include/glib-2.0/glib/gthread.h:34, from /usr/include/glib-2.0/glib/gmain.h:29, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gthread.h:35:0, from /usr/include/glib-2.0/glib/gmain.h:29, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gerror.h:22:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gerror.h:30:0, from /usr/include/glib-2.0/glib/gthread.h:35, from /usr/include/glib-2.0/glib/gmain.h:29, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly." In file included from /usr/include/glib-2.0/glib/gquark.h:34:0, from /usr/include/glib-2.0/glib/gerror.h:30, from /usr/include/glib-2.0/glib/gthread.h:35, from /usr/include/glib-2.0/glib/gmain.h:29, from addon-generic-backlight.c:38: /usr/include/glib-2.0/glib/gtypes.h:28:2: error: #error "Only <glib.h> can be included directly." make[5]: *** [addon-generic-backlight.o] Error 1 make[5]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux/addons' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald/linux' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build/hald' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/yaourt-tmp-mark/aur-hal-git/src/hal-git-build' make: *** [all] Error 2
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.