From: Michael R. <re...@eu...> - 2005-05-03 07:41:34
|
Hi all, > This could be a solution. But it still is strange that there is > difference in the preprocessor stage. Different version of gcc maybe? > I have to think on what would be needed for this. I tried with gcc-3.3 and gcc-4.0. Same result. > Actually I was thinking that Michael and I already solved this > problem. We recently made changes to the configure.in file to solve > this correct include file detection. It should work properly for > nearly everyone I think the changes to autoconf solved the problem of detecting the presence of i2c header files only. The errors I get are still the same. > (only exception is Michael) No, I'm not. I know at least of one person having the same problems (gipsy, are you listening? :-) > Michael could you send me a tar of your linux header directory. See > if we can figure out if there is a difference in any of the files. Which one do you want? I've got two of'em: one is /usr/include/linux, which comes with glibc, the other one is from vanilla kernel-2.6.11 > Are you sure you have only one copy of i2c.h on your machine? That's what 'find / -name "i2c.h"' gives on my notebook: /usr/include/sound/i2c.h /usr/include/linux.orig/i2c.h /usr/src/linux-2.6/arch/cris/arch-v10/drivers/i2c.h /usr/src/linux-2.6/include/linux/i2c.h /usr/src/linux-2.6/include/sound/i2c.h /usr/src/linux-2.6/include/config/fb/riva/i2c.h /usr/src/linux-2.6/include/config/fb/radeon/i2c.h the /usr/include/linux.orig is the one from glibc, I renamed it and placed a symlink to the original kernel headers there: /usr/include/linux -> /usr/src/linux/include/linux/ bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |