problema con DirectFB
Inviato: gio 21 apr 2005, 8:49
Durante la compilazione ho il problema che citava loops nel suo howto riguardo WM97xx Touchscreen yes...Solo che nel Makefile non trovo cosa disabilitare (ciè trovo solo WM97XX_TS_FALSE = #
<BR>WM97XX_TS_TRUE = )....ho provato anche a invertire il # tra il false e il true, li ho provati a commentare, ma nulla da fare, sempre questo errore:<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT wm97xx_ts.lo -MD -MP -MF .deps/wm97xx_ts.Tpo -c wm97xx_ts.c -fPIC -DPIC -o .libs/wm97xx_ts.o
<BR>In file included from /usr/include/linux/wm97xx.h:9,
<BR> from wm97xx_ts.c:49:
<BR>/usr/include/linux/ac97_codec.h:218: error: field `list´ has incomplete type
<BR>/usr/include/linux/ac97_codec.h:227: error: parse error before "u32"
<BR>/usr/include/linux/ac97_codec.h:229: error: parse error before ´:´ token
<BR>/usr/include/linux/ac97_codec.h:235: error: parse error before ´*´ token
<BR>/usr/include/linux/ac97_codec.h:235: error: parse error before "u8"
<BR>/usr/include/linux/ac97_codec.h:235: error: `u16´ declared as function returning a function
<BR>/usr/include/linux/ac97_codec.h:236: error: parse error before "u8"
<BR>/usr/include/linux/ac97_codec.h:247: error: parse error before "lock"
<BR>/usr/include/linux/ac97_codec.h:272: error: parse error before ´}´ token
<BR>/usr/include/linux/ac97_codec.h:307: error: field `list´ has incomplete type
<BR>/usr/include/linux/ac97_codec.h:309: error: parse error before "u32"
<BR>/usr/include/linux/ac97_codec.h:312: error: ´remove´ redeclared as different kind of symbol
<BR>/usr/include/stdio.h:152: error: previous declaration of ´remove´ was here
<BR>/usr/include/linux/ac97_codec.h:312: error: ´remove´ redeclared as different kind of symbol
<BR>/usr/include/stdio.h:152: error: previous declaration of ´remove´ was here
<BR>/usr/include/linux/ac97_codec.h:313: error: parse error before ´}´ token
<BR>make[3]: *** [wm97xx_ts.lo] Error 1
<BR> </PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>....Che dovrei fare?<br>
<BR>WM97XX_TS_TRUE = )....ho provato anche a invertire il # tra il false e il true, li ho provati a commentare, ma nulla da fare, sempre questo errore:<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Code:</font><HR></TD></TR><TR><TD><FONT SIZE=-1><PRE>3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT wm97xx_ts.lo -MD -MP -MF .deps/wm97xx_ts.Tpo -c wm97xx_ts.c -fPIC -DPIC -o .libs/wm97xx_ts.o
<BR>In file included from /usr/include/linux/wm97xx.h:9,
<BR> from wm97xx_ts.c:49:
<BR>/usr/include/linux/ac97_codec.h:218: error: field `list´ has incomplete type
<BR>/usr/include/linux/ac97_codec.h:227: error: parse error before "u32"
<BR>/usr/include/linux/ac97_codec.h:229: error: parse error before ´:´ token
<BR>/usr/include/linux/ac97_codec.h:235: error: parse error before ´*´ token
<BR>/usr/include/linux/ac97_codec.h:235: error: parse error before "u8"
<BR>/usr/include/linux/ac97_codec.h:235: error: `u16´ declared as function returning a function
<BR>/usr/include/linux/ac97_codec.h:236: error: parse error before "u8"
<BR>/usr/include/linux/ac97_codec.h:247: error: parse error before "lock"
<BR>/usr/include/linux/ac97_codec.h:272: error: parse error before ´}´ token
<BR>/usr/include/linux/ac97_codec.h:307: error: field `list´ has incomplete type
<BR>/usr/include/linux/ac97_codec.h:309: error: parse error before "u32"
<BR>/usr/include/linux/ac97_codec.h:312: error: ´remove´ redeclared as different kind of symbol
<BR>/usr/include/stdio.h:152: error: previous declaration of ´remove´ was here
<BR>/usr/include/linux/ac97_codec.h:312: error: ´remove´ redeclared as different kind of symbol
<BR>/usr/include/stdio.h:152: error: previous declaration of ´remove´ was here
<BR>/usr/include/linux/ac97_codec.h:313: error: parse error before ´}´ token
<BR>make[3]: *** [wm97xx_ts.lo] Error 1
<BR> </PRE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode End -->
<BR>....Che dovrei fare?<br>