[Bug 321939] New: GARNOME 2.12.1 fails on HAL for HID_MAX_USAGES undeclared



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321939
 GARNOME | general | Ver: unspecified

           Summary: GARNOME 2.12.1 fails on HAL for HID_MAX_USAGES
                    undeclared
           Product: GARNOME
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: general
        AssignedTo: garnome-maint gnome bugs
        ReportedBy: rhutzel myrealbox com
         QAContact: garnome-list gnome org
                CC: all-bugs bugzilla gnome org


Distribution/Version: Slackware 10.2

Steps to consistently produce:
1) make paranoid-install

When building garnome 2.12.1 on a Slackware 10.2 system running a custom built
Linux 2.6.12.5 kernel, hal-0.5.4 configuration crashes with the following:

if cc -DHAVE_CONFIG_H -I. -I. -I../../..
-DPACKAGE_SYSCONF_DIR=\""/root/garnome/etc"\"
-DPACKAGE_DATA_DIR=\""/root/garnome/share"\"
-DPACKAGE_BIN_DIR=\""/root/garnome/bin"\"
-DPACKAGE_LOCALE_DIR=\""/root/garnome/share/locale"\"
-DPACKAGE_LOCALSTATEDIR=\""/root/garnome/var"\" -I../../..
-I/root/garnome/include/glib-2.0 -I/root/garnome/lib/glib-2.0/include
-I/root/garnome/include/dbus-1.0 -I/root/garnome/lib/dbus-1.0/include   
-I/root/garnome/include  -I/root/garnome/include -L/root/garnome/lib -O2 -pipe
-Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -MT probe-hiddev.o -MD -MP -MF
".deps/probe-hiddev.Tpo" -c -o probe-hiddev.o probe-hiddev.c; \
then mv -f ".deps/probe-hiddev.Tpo" ".deps/probe-hiddev.Po"; else rm -f
".deps/probe-hiddev.Tpo"; exit 1; fi
In file included from probe-hiddev.c:40:
/usr/include/linux/hiddev.h:134: error: `HID_MAX_USAGES' undeclared here (not in
a function)
make[6]: *** [probe-hiddev.o] Error 1
make[6]: Leaving directory
`/home/bob/Downloads/garnome-2.12.1/freedesktop/hal/work/main.d/hal-0.5.4/hald/linux2/probing'

I already have the hal-slackware-kernel-includes.diff being patched to fix the
BLKGETSIZE64 issue.

/usr# find . -name "hiddev.h"
./src/linux-2.6.12.5/include/linux/hiddev.h
./src/linux-2.6.12.5/include/config/usb/hiddev.h
./include/linux/hiddev.h

I have src/linux linked to src/linux-2.6.12.5

In my kernel's config file the only HID related
constants I could find are:

#
# USB Input Devices
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set


Contents of /usr/src/linux/include/config/usb/hiddev.h:
#define CONFIG_USB_HIDDEV 1


Header of /usr/include/linux/hiddev.h:

/*
 * $Id: hiddev.h,v 1.2 2001/04/26 11:26:09 vojtech Exp $
 *
 *  Copyright (c) 1999-2000 Vojtech Pavlik
 *
 *  Sponsored by SuSE
 */

On line 129, begins the only mention of HID_MAX_USAGES:

/* hiddev_usage_ref_multi is used for sending multiple bytes to a control.
 * It really manifests itself as setting the value of consecutive usages */
struct hiddev_usage_ref_multi {
        struct hiddev_usage_ref uref;
        __u32 num_values;
        __s32 values[HID_MAX_USAGES];
};

This is all of the information I could think to gather. If anything further
would help, just let me know.

------- You are receiving this mail because: -------
You are the QA contact for the bug.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]