From: Michael R. <re...@eu...> - 2005-03-28 07:08:26
|
Hi Luis, > I told you i'm not very keen with this patch thighy... Here is the > correct tar.gz file with all files in it! > I forgot to tell you that the diff was created against last night CVS a= t > sourceforge. Thanks for the tar. Looks much better now :-) Anyway, I cannot compile it.I get tons of compiler errors, all resulting from the including of linux/i2c.h. Seems to me that this file is not intended for userland inclusion :-) here are some of the errors: /usr/include/linux/jiffies.h:16: error: Fehler beim Parsen before "jiffies_64" /usr/include/linux/jiffies.h:20: error: Fehler beim Parsen before "get_jiffies_64" /usr/include/linux/bitmap.h:15: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In Funktion =BBbitmap_full=AB: /usr/include/linux/bitmap.h:29: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In Funktion =BBbitmap_equal=AB: /usr/include/linux/bitmap.h:44: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/bitmap.h: In Funktion =BBbitmap_shift_right=AB: /usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function) /usr/include/linux/bitmap.h: In Funktion =BBbitmap_shift_left=AB: /usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function) /usr/include/linux/bitmap.h:144: error: `BITS_PER_LONG' undeclared (first use in this function) /usr/include/linux/cpumask.h:15: error: variable-size type declared outside of any function /usr/include/linux/cpumask.h: In Funktion =BBnext_online_cpu=AB: /usr/include/linux/cpumask.h:56: error: structure has no member named `va= l' .... and so on. Does it compile cleanly in your environment? If so, why? bye, Michael --=20 Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |