build #350 issue for v2.6.25-rc1 in drivers/i2c/busses/i2c-i801.c
Hello,
does the mentioned issue (pls see below) belong to kbuild ?
---------- Weitergeleitete Nachricht ----------
Subject: Re: build #350 issue for v2.6.25-rc1 in drivers/i2c/busses/i2c-i801.c
Date: Dienstag, 12. Februar 2008
From: Jean Delvare <[email protected]>
To: Toralf Förster <[email protected]>
Hi Toralf,
Quoted 12 lines · Toralf Förster
the build with the attached .config failed, make ends with:
...
LDdrivers/i2c/busses/built-in.o
CC [M]drivers/i2c/busses/i2c-i801.odrivers/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
Quoted 7 lines
The build was made with :
$> make mrproper && make rndconfig && <tweak config file> && make oldconfig && makeHere's the config:
#
# Automatically generated make config: don't edit
Note, it says: don't edit.
Quoted 8 lines
# Linux kernel version: 2.6.25-rc1
# Mon Feb 11 17:42:48 2008
#
(...)
#CONFIG_PCIis not set
(...)
#CONFIG_I2Cis not setCONFIG_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.
Signature · 9 lines
Jean Delvare ------------------------------------------------------- -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
Quoted 3 lines · On Tue, 12 Feb 2008 11:57:14 +0100 Toralf Förster wrote:
Hello,
does the mentioned issue (pls see below) belong to kbuild ?
(plz see below)
Quoted 41 lines
---------- Weitergeleitete Nachricht ----------
Subject: Re: build #350 issue for v2.6.25-rc1 indrivers/i2c/busses/i2c-i801.c
Date: Dienstag, 12. Februar 2008
From: Jean Delvare <[email protected]>
To: Toralf Förster <[email protected]>Hi Toralf,
Quoted 12 lines · Toralf Förster
the build with the attached .config failed, make ends with:
...
LDdrivers/i2c/busses/built-in.o
CC [M]drivers/i2c/busses/i2c-i801.odrivers/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 2Quoted 7 lines
The build was made with :
$> make mrproper && make rndconfig && <tweak config file> && make oldconfig && makeHere's the config:
#
# Automatically generated make config: don't editNote, it says: don't edit.
Quoted 8 lines
# Linux kernel version: 2.6.25-rc1
# Mon Feb 11 17:42:48 2008
#
(...)
#CONFIG_PCIis not set
(...)
#CONFIG_I2Cis not setCONFIG_I2C_I801=m
Quoted 2 lines
You set
CONFIG_I2C_I801=mwhile PCI and I2C are both disabled. You asked for a built breakage, you got it.
randconfig set I2C_I801=m and kconfig does not know how to follow dependencies of 'select', so I'd say Yes, this is a kconfig problem.
Yes, I see this one often. I wish someone were willing to try to fix it. I've looked at the source code, but I'm not willing to dive deeply into it.
Quoted 3 lines
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.
---
~Randy