Compiling Hal from CVS with 2.6.9 kernel

Dean Jones dj at cleancode.org
Fri Nov 12 08:37:46 PST 2004


Ok, so I read on this list that someone with the 2.6.7 kernel was having
the same issue I was having with compiling HAL with the 2.6.7 kernel
(Which is why I went to 2.6.9).  However, after reading that, I saw he
had success with compiling with the 2.6.8.1 kernel.  So, I went to the
2.6.8.1 kernel.  It STILL won't compile!  Looking at that header file,
it seems to be another issue with __user because the symbol before the *
on line 436 of videodev2.h is __user.  I've put the output from the
compile below.  Can somebody please help me out here?  I need the latest
version of HAL due to getting a laptop with an Intel 2200 Wifi card... 
If I can't get this thing working, I'm going to have to ditch Gnome
(which depends heavily on Hal) and move to KDE or something... Which I
really hate.  However, I need my Wifi to work more than I need Gnome... 
:-)  Spending almost 24 hours on getting HAL to compile is getting
really frustrating at the least.

make[3]: Entering directory `/root/hal-0.4.1/hald'
if gcc -DHAVE_CONFIG_H -I. -I. -I..
-DPACKAGE_SYSCONF_DIR=\""/etc/hal"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\"
-DPACKAGE_BIN_DIR=\""/usr/bin"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"
-DPACKAGE_LOCALSTATEDIR=\""/usr/var"\" -I..
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include      -g -O2 -Wall
-Wchar-subscripts -Wmissing-declarations -Wnested-externs
-Wpointer-arith -Wcast-align -Wsign-compare -MT
multimedia_class_device.o -MD -MP -MF
".deps/multimedia_class_device.Tpo" -c -o multimedia_class_device.o
`test -f 'linux/multimedia_class_device.c' || echo
'./'`linux/multimedia_class_device.c; \
then mv -f ".deps/multimedia_class_device.Tpo"
".deps/multimedia_class_device.Po"; else rm -f
".deps/multimedia_class_device.Tpo"; exit 1; fi
In file included from /usr/include/linux/videodev.h:8,
                 from linux/multimedia_class_device.c:43:
/usr/include/linux/videodev2.h:436: error: parse error before '*' token
/usr/include/linux/videodev2.h:438: error: parse error before '*' token
/usr/include/linux/videodev2.h:439: error: parse error before '}' token
/usr/include/linux/videodev2.h:810: error: field `win' has incomplete
type
In file included from linux/multimedia_class_device.c:43:
/usr/include/linux/videodev.h:225: error: parse error before '*' token
/usr/include/linux/videodev.h:226: error: conflicting types for
`clipcount'
/usr/include/linux/videodev2.h:437: error: previous declaration of
`clipcount'
/usr/include/linux/videodev.h:232: error: parse error before '}' token
make[3]: *** [multimedia_class_device.o] Error 1
make[3]: Leaving directory `/root/hal-0.4.1/hald'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/hal-0.4.1/hald'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/hal-0.4.1'
make: *** [all] Error 2

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list