[libhid-discuss] RPM package for libhid required

Anmol Ranka Anmol_Ranka at mindtree.com
Mon Apr 23 09:53:13 UTC 2007


Hi All,

Please send me the link from where I can download the RPM package for LibHid.
I need the package to be installed on FC 5 machine running on Linux kernel
2.6.15.1.

I have downloaded 'libhid_0.2.15+20060325-2.1.tar.gz' but when I am trying to
build it use the command 'make', I get 2 errors.

I errors are as follows: 

make  all-recursive
make[1]: Entering directory `/root/libhid-0.2.15+20060325'
Making all in hidparser
make[2]: Entering directory `/root/libhid-0.2.15+20060325/hidparser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/libhid-0.2.15+20060325/hidparser'
Making all in src
make[2]: Entering directory `/root/libhid-0.2.15+20060325/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I..  -I../include -I../hidparser -DNDEBUG -fPIC  -O2 -Wall -W -Werror -MT
linux.lo -MD -MP -MF ".deps/linux.Tpo" -c -o linux.lo linux.c; \
then mv -f ".deps/linux.Tpo" ".deps/linux.Plo"; else rm -f ".deps/linux.Tpo";
exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../hidparser -DNDEBUG -fPIC
-O2 -Wall -W -Werror -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c
-fPIC -DPIC -o .libs/linux.o
In file included from linux.c:6:
../include/hid.h:5:17: error: usb.h: No such file or directory
cc1: warnings being treated as errors
In file included from linux.c:9:
../include/debug.h:23: warning: 'struct usb_bus' declared inside parameter
list
../include/debug.h:23: warning: its scope is only this definition or
declaration, which is probably not what you want
../include/debug.h:25: warning: 'struct usb_device_descriptor' declared
inside parameter list
../include/debug.h:26: warning: 'struct usb_config_descriptor' declared
inside parameter list
../include/debug.h:27: error: expected declaration specifiers or '...' before
'usb_dev_handle'
linux.c: In function 'hid_os_force_claim':
linux.c:45: warning: implicit declaration of function 'usb_claim_interface'
linux.c:52: warning: implicit declaration of function
'usb_detach_kernel_driver_np'
make[2]: *** [linux.lo] Error 1
make[2]: Leaving directory `/root/libhid-0.2.15+20060325/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libhid-0.2.15+20060325'
make: *** [all] Error 2



Please let me know the solution to this problem.


Regards,
Anmol K.Ranka
Software Engineer
MindTree Consulting Ltd.
Phone  : +91 - 80 - 26264084 
Fax      : +91 - 80 - 26264100
Mobile  : +91 9886799054
P Please consider the environment before printing this mail



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.


More information about the libhid-discuss mailing list