Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.12-gentoo-r6 and suspend ... compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Wed Jul 20, 2005 12:07 am    Post subject: 2.6.12-gentoo-r6 and suspend ... compile error Reply with quote

Hi all.

I'm getting the following error when compiling a 2.6.12-gentoo-r6 kernel with the 'resume' option enabled:

Code:

drivers/built-in.o: In function `pmac_wakeup_devices':
via-pmu.c:(.pmac.text+0x2d54): undefined reference to `device_power_up'
via-pmu.c:(.pmac.text+0x2dec): undefined reference to `device_resume'
via-pmu.c:(.pmac.text+0x2d4f): undefined reference to `pm_restore_console'
drivers/built-in.o: In function `pmac_suspend_devices':
via-pmu.c:(.pmac.text+0x35e8): undefined reference to `pm_prepare_console'
via-pmu.c:(.pmac.text+0x361c): undefined reference to `device_resume'
via-pmu.c:(.pmac.text+0x3660): undefined reference to `device_power_down'
via-pmu.c:(.pmac.text+0x376c): undefined reference to `device_resume'
make: *** [.tmp_vmlinux1] Error 1
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jul 20, 2005 4:12 am    Post subject: Reply with quote

Please post your kernel config (not inline if possible).

Also, try just a
Code:
make clean
and try compiling the kernel again. Were there any errors durning the build?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanDan
Guru
Guru


Joined: 30 Sep 2002
Posts: 586
Location: Australia

PostPosted: Thu Jul 21, 2005 3:50 am    Post subject: Reply with quote

Just figured it out ... I hadn't selected PowerManagement ( CONFIG_PM ).
Looks like the resume option depends on CONFIG_PM, but doesn't automatically select it for you.
Any, it's sorted now. Thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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