Bugzilla – Bug 45094
hal 0.5.14 is trying to include internal glib headers
Last modified: 2012-05-26 10:52:38 UTC
Created attachment 55986 [details] [review]
simplied patch to avoid including internal glib headers
It seems that some of the linux addons from the hal daemon version 0.5.14 are wrongly trying to include some internal glib header files.
I do not know exactly which version of glib has started to forbid the inclusion of internal headers other than <glib.h>, but the attached simplified patch has helped me building the hal daemon.
The error produced by glib is as follows:
#error "Only <glib.h> can be included directly."
An improved patch could #ifdef in order to account the exact glib version so that perhaps hal remains backward-compatible with more obsolete environments.
Hi, sorry for nagging, but I think it's easy to fix and still it's open for more than 3 months. Could you please release a new version, which does not have these compile problems? Would be highly appreciated. :)
It caused problems like:
and I also ran into it: