Jacques Dirac | 23 Feb 2011 16:07
Picon

Re: libhid in Linux 2.4 / gcc 2.96

> 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 `}'
(Continue reading)


Gmane