From: Luis.F.Correia <Lui...@se...> - 2005-03-28 07:36:30
|
Hi Michael, > -----Original Message----- > From: Michael Reinelt [mailto:re...@eu...] > Sent: Monday, March 28, 2005 8:08 AM > To: lcd4linux devel > Subject: Re: [Lcd4linux-devel] I2C modifications to HD44780 driver > > 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 at > > sourceforge. > > Thanks for the tar. Looks much better now :-) Sorry about the mess. It was very late and I really wanted to put it out. > > 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 :-) Apart from the automake stuff not having the two new files, it does compile cleanly. My devel system is Fedora Core 3 with all the latest updates. Yes, it is a 2.6 series kernel. But I2C is a major hack if you ask me... Kernel has it's own i2c functions, the lm_sensors project also has some other functions. When I stated this, I used only the in-kernel provided functions. Later on, when Paul picked up the pieces, he told me that we cannot use the in-kernel I2C, but rather use the userspace includes. This weekend I took the sources with me and edited them in a 'doze Pc, I had no compiling environment to test, until last night. Since it did compile ok, I thought all was right. Let's do this, please include these two files, and i'll see what can be done about detecting the proper i2c includes. [snip] > > .... and so on. > > Does it compile cleanly in your environment? If so, why? > > > bye, Michael > > -- > Michael Reinelt <re...@eu...> > http://home.pages.at/reinelt > GPG-Key 0xDF13BA50 > ICQ #288386781 Luis Correia |