[libhid-discuss] libhid in Linux 2.4 / gcc 2.96

Jacques Dirac jacquesdirac at gmail.com
Wed Feb 23 15:07:42 UTC 2011


> I cannot not answer your question, but the "message below" is missing.

Sorry, forgot to 'paste':



$ make
make  all-recursive
make[1]: Entering directory `/home/jd/tmp/libhid-0.2.16'
Making all in hidparser
make[2]: Entering directory `/home/jd/tmp/libhid-0.2.16/hidparser'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/jd/tmp/libhid-0.2.16/hidparser'
Making all in src
make[2]: Entering directory `/home/jd/tmp/libhid-0.2.16/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I..   -DNDEBUG -fPIC -I../include -I../hidparser
-I/usr/local/include -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.. -DNDEBUG -fPIC -I../include
-I../hidparser -I/usr/local/include -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:74: parse error before `*'
cc1: warnings being treated as errors
../include/hid.h:74: warning: type defaults to `int' in declaration of `_Bool'
../include/hid.h:74: `_Bool' declared as function returning a function
../include/hid.h:80: parse error before `matcher_fn_t'
../include/hid.h:80: warning: no semicolon at end of struct or union
../include/hid.h:84: parse error before `}'
../include/hid.h:84: warning: type defaults to `int' in declaration of
`HIDInterfaceMatcher'
../include/hid.h:84: warning: data definition has no type or storage class
../include/hid.h:125: `hid_is_initialised' declared as function
returning a function
../include/hid.h:128: parse error before `HIDInterfaceMatcher'
../include/hid.h:130: parse error before `HIDInterfaceMatcher'
../include/hid.h:134: `hid_is_opened' declared as function returning a function
In file included from linux.c:7:
../include/os.h:9: parse error before `HIDInterfaceMatcher'
linux.c:26: parse error before `HIDInterfaceMatcher'
linux.c: In function `hid_os_force_claim':
linux.c:28: `hidif' undeclared (first use in this function)
linux.c:28: (Each undeclared identifier is reported only once
linux.c:28: for each function it appears in.)
linux.c:38: `matcher' undeclared (first use in this function)
linux.c:43: parse error before `int'
linux.c:45: `ret' undeclared (first use in this function)
linux.c:45: `interface' undeclared (first use in this function)
linux.c:46: `retries' undeclared (first use in this function)
make[2]: *** [linux.lo] Error 1
make[2]: Leaving directory `/home/jd/tmp/libhid-0.2.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jd/tmp/libhid-0.2.16'
make: *** [all] Error 2



More information about the libhid-discuss mailing list