--- pushparaj vitekar <v_pushparaj@xxxxxxxxx> wrote: > > > Thomas Petazzoni <thomas.petazzoni@xxxxxxxx> wrote: > Hi, > > Le Thu, 4 May 2006 16:44:04 +0100 (BST), > Ashok Sharma a écrit : > > > The kernel version is 2.6.11.12 and Gcc version is > > 4.0.0 the error is given below > > >>AFAIK, kernels under 2.6.12 won't compile with > gcc4. > The reason is that GCC does not recognise some obsolete code like the following struct x y[] it has to be replace with struct x *y in the include/linux/i2c.h file > Does any one know the reason gcc4 wont work? > > Sincerly, > > Thomas > -- > Thomas Petazzoni - thomas.petazzoni@xxxxxxxx > http://{thomas,sos,kos}.enix.org - > http://www.toulibre.org > http://www.{livret,agenda}dulibre.org > > -- > Kernelnewbies: Help each other learn about the Linux > kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > FAQ: http://kernelnewbies.org/faq/ > > > > > > --------------------------------- > Yahoo! India Answers: Share what you know. Learn > something new. Click here ___________________________________________________________ Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. http://uk.mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/