From: Michael R. <re...@eu...> - 2006-09-25 13:30:46
|
Hi There, > I can confirm the problem discussed in this thread. With Mandriva 2006.0 > I get the same compiler error when using the sources from tarball. If I > use CVS sources, everything compiles just fine. Got it: there was a change back in July 2005, which should solve the problem: Change this line: extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num); to: extern int i2c_transfer(struct i2c_adapter *adap, struct i2c_msg *msg, int num); the only difference is msg[] => *msg which explains the compiler warning for incomplete array stuff.... HTH, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |