Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge lm-sensors problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kyuu
n00b
n00b


Joined: 10 Jul 2003
Posts: 9

PostPosted: Thu Jul 10, 2003 12:47 am    Post subject: emerge lm-sensors problem Reply with quote

Hi,
I' ve got a problem when i try to emerge lm-sensors. During compilation an error appeared :
Quote:
make: *** [kernel/busses/i2c-amd8111.o] Error 1
make: *** Waiting for unfinished jobs....
/lib/modules/2.4.20-gromit1/build/include/asm/fixmap.h: In function `virt_to_fix':
/lib/modules/2.4.20-gromit1/build/include/asm/fixmap.h:134: warning: asm operand 1 probably doesn't match constraints

!!! 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


The kernel in /usr/src/linux are the gentoo-sources 2.4.20-r5 and i2c are compiled in module not builtin ...

What is the solution ? :lol:
Back to top
View user's profile Send private message
ckdake
l33t
l33t


Joined: 10 Apr 2003
Posts: 889
Location: Atlanta, GA

PostPosted: Thu Jul 10, 2003 12:49 am    Post subject: Reply with quote

maybe try doing insmod for your i2c module before you start compiling?
Back to top
View user's profile Send private message
kyuu
n00b
n00b


Joined: 10 Jul 2003
Posts: 9

PostPosted: Thu Jul 10, 2003 12:53 am    Post subject: Reply with quote

I' ve already i2c charged :

Quote:
i2c-algo-bit 8200 1 [bttv]
i2c-core 15848 0 [tvmixer tuner tvaudio bttv i2c-algo-bit]


Peharp is it an another module ?
Back to top
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Thu Jul 10, 2003 2:49 am    Post subject: Reply with quote

Ok. This new version of lm-sensors requires i2c above that which is in the kernel. Hence compile i2c as modules in your kernel and put them in your modules.autoload. Then emerge i2c. Then lm-sensors-2.7.0-r1 will emerge perfectly. It would also work if you didn't compile i2c as modules into your kernel at all I suppose, but I already had them in there anyway and I wasn't sure about possible dependancies so I left them in.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
kyuu
n00b
n00b


Joined: 10 Jul 2003
Posts: 9

PostPosted: Thu Jul 10, 2003 6:58 am    Post subject: Reply with quote

Thanks, it' s working perfectly :D

I don' t search to emerge i2c because in the error message it says that i2c is included in gentoo-sources-r1 :?
Back to top
View user's profile Send private message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Tue Aug 05, 2003 10:06 pm    Post subject: Reply with quote

I think you needed i2c because it has other stuff like i2c-viapro for example which isn't in the kernel and it isn't in lm-sensors either...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum