Whenever I try to compile directfb I get the following errors:
configure: WARNING:
*** DBox2 Remote driver will not be built.
checking linux/wm97xx.h usability... no
checking linux/wm97xx.h presence... yes
configure: WARNING: linux/wm97xx.h: present but cannot be compiled
configure: WARNING: linux/wm97xx.h: check for missing prerequisite headers?
configure: WARNING: linux/wm97xx.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## --
and:
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I../../include -I../../src -D_REENTRANT -Wall -O3 -ffast-math -pipe
-march=i686 -O2 -pipe -DFUSION_FAKE -Werror-implicit-function-declaration -c
wm97xx_ts.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -D_REENTRANT -Wall
-O3 -ffast-math -pipe -march=i686 -O2 -pipe -DFUSION_FAKE
-Werror-implicit-function-declaration -c wm97xx_ts.c -fPIC -DPIC -o .libs/wm97xx_ts.o
In file included from /usr/include/linux/wm97xx.h:9,
from wm97xx_ts.c:49:
/usr/include/linux/ac97_codec.h:218: error: field `list' has incomplete type
/usr/include/linux/ac97_codec.h:227: error: parse error before "u32"
/usr/include/linux/ac97_codec.h:229: error: parse error before ':' token
/usr/include/linux/ac97_codec.h:235: error: parse error before '*' token
/usr/include/linux/ac97_codec.h:235: error: parse error before "u8"
/usr/include/linux/ac97_codec.h:235: error: `u16' declared as function returning a
function
/usr/include/linux/ac97_codec.h:236: error: parse error before "u8"
/usr/include/linux/ac97_codec.h:247: error: parse error before "lock"
/usr/include/linux/ac97_codec.h:272: error: parse error before '}' token
/usr/include/linux/ac97_codec.h:307: error: field `list' has incomplete type
/usr/include/linux/ac97_codec.h:309: error: parse error before "u32"
/usr/include/linux/ac97_codec.h:312: error: 'remove' redeclared as different kind of
symbol
/usr/include/stdio.h:152: error: previous declaration of 'remove' was here
/usr/include/linux/ac97_codec.h:312: error: 'remove' redeclared as different kind of
symbol
/usr/include/stdio.h:152: error: previous declaration of 'remove' was here
/usr/include/linux/ac97_codec.h:313: error: parse error before '}' token
wm97xx_ts.c: In function `wm97xxtsEventThread':
wm97xx_ts.c:79: error: `TS_EVENT' undeclared (first use in this function)
wm97xx_ts.c:79: error: (Each undeclared identifier is reported only once
wm97xx_ts.c:79: error: for each function it appears in.)
wm97xx_ts.c:79: error: parse error before "ts_event"
wm97xx_ts.c:87: error: `ts_event' undeclared (first use in this function)
make[3]: *** [wm97xx_ts.lo] Error 1
make[3]: Leaving directory
`/var/abs/local/directfb/src/DirectFB-0.9.20/inputdrivers/wm97xx_ts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/directfb/src/DirectFB-0.9.20/inputdrivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/directfb/src/DirectFB-0.9.20'
make: *** [all-recursive-am] Error 2
==> ERROR: Build Failed. Aborting...
I suspect the latter is the main problem. Is anyone able to help me figure this out?
Paul