hal 0.5.8 "The Skynet Funding Bill is passed." released
S.Çağlar Onur
caglar at pardus.org.tr
Tue Sep 12 02:17:33 PDT 2006
12 Eylül 2006 Salı 12:06 tarihinde şunları yazmıştınız:
> That's all fine. HAL requires that you have kernel headers more recent
> than September 2005. It's usual for a project like HAL, that relies on
> kernel details:
>
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm
>itdiff;h=3905ec4561b7b049e9c2e27311d072c356dbdee2
>
> We should not try to work around such issues, just use a recent system,
> you will need it for other reasons too.
But <net/if_arpd.h> comes with glibc not kernel/linux headers at least for
Pardus and i checked what debian does and same there [1].
caglar at zangetsu ~ $ grep PRISM /usr/include/linux/if_arp.h
#define ARPHRD_IEEE80211_PRISM 802 /* IEEE 802.11 + Prism2 header */
If kernel-headers used then this patch solved the problem also;
caglar at zangetsu hal $ git diff
diff --git a/hald/linux/classdev.c b/hald/linux/classdev.c
index 4e6d2c2..c90781e 100644
--- a/hald/linux/classdev.c
+++ b/hald/linux/classdev.c
@@ -32,7 +32,7 @@ #endif
#include <ctype.h>
#include <limits.h>
#include <linux/types.h>
-#include <net/if_arp.h> /* for ARPHRD_... */
+#include <linux/if_arp.h> /* for ARPHRD_... */
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
[1]
http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=linux-kernel-headers&version=testing&arch=i386&page=1&number=all
--
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060912/100e4696/attachment.pgp
More information about the hal
mailing list