On 4/5/07, Massimiliano Calamelli <[EMAIL PROTECTED]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, here another prob... > Running make i got this error: > ecore_fb_li.c: In function `ecore_fb_input_device_open': > ecore_fb_li.c:385: error: `EV_SYN' undeclared (first use in this > function) ecore_fb_li.c:385: error: (Each undeclared identifier is > reported only once ecore_fb_li.c:385: error: for each function it > appears in.) ecore_fb_li.c:405: error: `EV_FF_STATUS' undeclared (first > use in this function) ecore_fb_li.c:406: error: `EV_PWR' undeclared > (first use in this function) ecore_fb_li.c: In function > `ecore_fb_input_device_axis_size_set': ecore_fb_li.c:454: error: > storage size of 'abs_features' isn't known ecore_fb_li.c:454: warning: > unused variable `abs_features' make[5]: *** [ecore_fb_li.lo] Error 1 > make[5]: Leaving directory > `/home/massi/cirrus-arm-linux-2.0.8/ecore/src/lib/ecore_fb' make[4]: > *** [all-recursive] Error 1 make[4]: Leaving directory > `/home/massi/cirrus-arm-linux-2.0.8/ecore/src/lib' make[3]: *** > [all-recursive] Error 1 make[3]: Leaving directory > `/home/massi/cirrus-arm-linux-2.0.8/ecore/src' make[2]: *** > [all-recursive] Error 1 make[2]: Leaving directory > `/home/massi/cirrus-arm-linux-2.0.8/ecore' make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/massi/cirrus-arm-linux-2.0.8/ecore' > > To make a simple test i wrote a test.c n the same dir of ecore_fb_li.c > > #include <stdlib.h> > #include <stdio.h> > #include "Ecore_Fb.h" > #include "ecore_fb_private.h" > > int main (int argc, char **argv) { > printf("Test for EV_SYN usability.\n"); > printf("EV_SYN : %d\n", EV_SYN); > > return 0; > } > > And i've compiled (with i368 gcc) > gcc -I. -I../../.. -I../../../src/lib/ecore -o test test.c > > Runnning ./test > > [EMAIL PROTECTED]:~/cirrus-arm-linux-2.0.8/ecore/src/lib/ecore_fb$ ./test > Test for EV_SYN usability. > EV_SYN : 0 > > Why Ecore code fails?
ecore_fb expects a recent kernel to build, it uses the evdev interface to handle input devices, on older kernels (2.4.x) there's a backport of evdev but it misses some definitions. As this is a known problem, in the future i might include a recent input.h header IN ecore_fb as DirectFb does... > > Massimiliano > - -- > Massimiliano Calamelli > http://mcalamelli.netsons.org > [EMAIL PROTECTED] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (MingW32) > > iD8DBQFGFRsnleGEL56NNP4RAu74AJ9s38tz38ewJhVS5x9A16u7UfxcZACgj/6c > eSULX5IlzVdfm9zBsP2fwWM= > =47lI > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel