Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 26848
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Brandon Low (RETIRED) <lostlogic@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Philippe Lafoucrière <lafou@wanadoo.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 26848 depends on: 31180 Show dependency tree
Bug 26848 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-18 01:44 0000
I can't emerge lm-sensors on a fresh 1.4 install. All I2C modules has been
compiled 
successfully with gentoo-sources-2.4.20-r6. 


Reproducible: Always
Steps to Reproduce:
1. emerge lm-sensors 
2. 
3. 
Actual Results:  
[...] 
gcc  -DMODVERSIONS -include 
/lib/modules/2.4.20-gentoo-r6/build/include/linux/modversions.h -D__KERNEL__
-DMODULE 
-DEXPORT_SYMTAB -fomit-frame-pointer -I. -Ikernel/include 
-I/var/tmp/portage/lm-sensors-2.7.0-r1/work/i2c-headers 
-I/lib/modules/2.4.20-gentoo-r6/build/include   -O2  -mcpu=i686 -O3 -pipe -c 
kernel/busses/i2c-amd8111.c -o kernel/busses/i2c-amd8111.o 
kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0 or
greater 
required! 
kernel/busses/i2c-amd8111.c: In function `amd8111_access': 
kernel/busses/i2c-amd8111.c:238: `I2C_CLIENT_PEC' undeclared (first use in this
function) 
kernel/busses/i2c-amd8111.c:238: (Each undeclared identifier is reported only
once 
kernel/busses/i2c-amd8111.c:238: for each function it appears in.) 
kernel/busses/i2c-amd8111.c:298: `I2C_SMBUS_BLOCK_PROC_CALL' undeclared (first
use 
in this function) 
kernel/busses/i2c-amd8111.c:309: `I2C_SMBUS_WORD_DATA_PEC' undeclared (first
use in 
this function) 
kernel/busses/i2c-amd8111.c:310: `I2C_SMBUS_BLOCK_DATA_PEC' undeclared (first
use in 
this function) 
kernel/busses/i2c-amd8111.c:311: `I2C_SMBUS_PROC_CALL_PEC' undeclared (first
use in 
this function) 
kernel/busses/i2c-amd8111.c:312: `I2C_SMBUS_BLOCK_PROC_CALL_PEC' undeclared
(first 
use in this function) 
kernel/busses/i2c-amd8111.c: In function `amd8111_func': 
kernel/busses/i2c-amd8111.c:385: `I2C_FUNC_SMBUS_BLOCK_PROC_CALL' undeclared 
(first use in this function) 
kernel/busses/i2c-amd8111.c:386: `I2C_FUNC_SMBUS_HWPEC_CALC' undeclared (first
use 
in this function) 
kernel/busses/i2c-amd8111.c: In function `amd8111_probe': 
kernel/busses/i2c-amd8111.c:426: `I2C_HW_SMBUS_AMD8111' undeclared (first use
in this 
function) 
make: *** [kernel/busses/i2c-amd8111.o] Error 1 
make: *** Waiting for unfinished jobs.... 

!!! ERROR: sys-apps/lm-sensors-2.7.0-r1 failed. 
!!! Function src_compile, Line 45, Exitcode 2 
!!! lm_sensors requires the source of a compatible kernel\nversion installed in 
/usr/src/linux and >=i2c-2.7.0 support built as a modules this support is
included in 
gentoo-sources as of 2.4.20-r1 


Expected Results:  
a successfull emerge 

trying to emerge on an IBM Netvista pIII 750. 
lspci output : 
00:00.0 Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller
Hub] 
(rev 03) 
00:01.0 VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset
Graphics 
Controller] (rev 03) 
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02) 
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02) 
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02) 
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02) 
00:1f.3 SMBus: Intel Corp. 82801AA SMBus (rev 02) 
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02) 
01:00.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)

------- Comment #1 From Akinori Hattori 2003-08-18 07:33:12 0000 -------
http://forums.gentoo.org/viewtopic.php?t=66323

------- Comment #2 From Torgeir Hansen 2003-10-17 05:32:46 0000 -------
I got this error even when I disabled I2C from kernel-config section "I2C
Device Support", however I'd acually enabled it under 'Character Devices
-> I2C Support"
might be worth a look, it appears that the forum-link addresses another problem.

here's the clue:
kernel/busses/i2c-amd8111.c:25:2: #error Your i2c is too old - i2c-2.7.0
or greater

that the error message is printed includes "kernel\nversion" should also
be considered a bug, as the function used obviously does not handle '\n'
as the maintainer of this package thought it would.. 

------- Comment #3 From Martin Holzer (RETIRED) 2003-10-30 13:43:48 0000 -------
*** Bug 31161 has been marked as a duplicate of this bug. ***

------- Comment #4 From Martin Holzer (RETIRED) 2003-11-21 08:58:33 0000 -------
fixed in cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug