Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I2C module compile fails [Solved]
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
Skip.za
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2003
Posts: 110
Location: Cape Town, South Africa

PostPosted: Wed Nov 14, 2007 1:05 pm    Post subject: I2C module compile fails [Solved] Reply with quote

I'm trying to compile I2C support as modules on gentoo-sources-2.6.22-r9. I get this error

Code:
nicodemus linux # make modules
scripts/kconfig/conf -s arch/i386/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 17 modules
ERROR: "__i2c_board_list" [drivers/i2c/i2c-core.ko] undefined!
ERROR: "__i2c_board_lock" [drivers/i2c/i2c-core.ko] undefined!
ERROR: "__i2c_first_dynamic_bus_num" [drivers/i2c/i2c-core.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2


Are there header files missing?


Last edited by Skip.za on Wed Nov 14, 2007 3:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Nov 14, 2007 2:50 pm    Post subject: Reply with quote

Try running `make` by itself before the `make modules`?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Skip.za
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2003
Posts: 110
Location: Cape Town, South Africa

PostPosted: Wed Nov 14, 2007 3:03 pm    Post subject: Reply with quote

I was just coming back to say that's what I did.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Wed Nov 14, 2007 3:24 pm    Post subject: Reply with quote

Skip.za wrote:
I was just coming back to say that's what I did.
:lol:
_________________
"You have to invite me in"
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