ellianef Posted May 17, 2005 Report Share Posted May 17, 2005 Helloo, I'm trying to compile a win4lin kernel for 2.6.11-8 smp, but I get lots of errors like the one below when making modules: --------------------------------------------------------------------------- In file included from drivers/char/ipmi/ipmi_smb.c:55: include/linux/i2c.h:58: error: array type has incomplete element type include/linux/i2c.h:197: error: array type has incomplete element type drivers/char/ipmi/ipmi_smb.c: In function 'smbus_client_read_block_data': drivers/char/ipmi/ipmi_smb.c:211: warning: implicit declaration of function 'i2c_smbus_read_block_data' make[3]: *** [drivers/char/ipmi/ipmi_smb.o] Erreur 1 make[2]: *** [drivers/char/ipmi] Erreur 2 make[1]: *** [drivers/char] Erreur 2 make: *** [drivers] Erreur 2 -------------------------------------------------------------------------- Is there a problem with gcc 4 wit array declaration ? Thanks. [moved from Software by spinynorman] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.