Hi Toralf,

On Tue, 12 Feb 2008 09:38:35 +0100, Toralf Förster wrote:
> the build with the attached .config failed, make ends with:
> ...
>   LD      drivers/i2c/busses/built-in.o
>   CC [M]  drivers/i2c/busses/i2c-i801.o
> drivers/i2c/busses/i2c-i801.c: In function 'i801_probe':
> drivers/i2c/busses/i2c-i801.c:636: error: implicit declaration of function 
> 'pci_request_region'
> drivers/i2c/busses/i2c-i801.c:676: error: implicit declaration of function 
> 'pci_release_region'
> make[3]: *** [drivers/i2c/busses/i2c-i801.o] Error 1
> make[2]: *** [drivers/i2c/busses] Error 2
> make[1]: *** [drivers/i2c] Error 2
> make: *** [drivers] Error 2
> 
> The build was made with :
> $> make mrproper && make rndconfig && <tweak config file> && make oldconfig 
> && make
> 
> Here's the config:
> 
> #
> # Automatically generated make config: don't edit

Note, it says: don't edit.

> # Linux kernel version: 2.6.25-rc1
> # Mon Feb 11 17:42:48 2008
> #
> (...)
> # CONFIG_PCI is not set
> (...)
> # CONFIG_I2C is not set
> CONFIG_I2C_I801=m

You set CONFIG_I2C_I801=m while PCI and I2C are both disabled. You
asked for a built breakage, you got it.

You might argue that "make oldconfig" should fix the configuration file
in such a way that the dependencies are correct again. But then this is
a kconfig issue, to be reported to the kconfig maintainer, not me.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to