From: paul k. <pau...@xs...> - 2005-05-06 08:06:30
|
>See attachment. > >I think the i2c.h file from the kernel ist simply not intended for >userspace programs... if this is true, we have to create our own i2c.h... > > >bye, Michael > > > You are right. This is what I found. On the gentoo forum: Hence the two separate sets of header files: 1. system headers in /usr/include, to build software, and 2. current kernel headers in /usr/src/linux, to build the kernel. Some e-mail message from Linus on this: http://www.linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html And the clearest explaination http://linuxfromscratch.org/pipermail/faq/2004-July/000159.html Note the FAQ at the end of this page: I think on gentoo the so called linux-headers are actually the mentioned linux-libc-headers. And on your system the headers are the true kernel headers. The best solution for us right now would be extract what we need from the kernel headers and put it in our own header. And keep track of changes in the kernel on this in the future. Sad but true. Give me a little time to get it done :-) bye, Paul |