Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error while compiling kernel 2.6.12.
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
derKnut
n00b
n00b


Joined: 01 Aug 2005
Posts: 3

PostPosted: Mon Aug 01, 2005 12:44 pm    Post subject: error while compiling kernel 2.6.12. Reply with quote

hi at all!

at the moment i try to install gentoo on my new PowerBook G4 1,5GHz 15'', but i always get a error-message while i'm trying to compile my kernel (gentoo-sources).
i tried out the kernel 2.6.12-r6 and -r7 and both produced the following error:

...
CC drivers/usb/host/ohci-hcd.o
In file included from drivers/usb/host/ohci-hcd.c:889:
drivers/usb/host/ohci-pci.c: In function 'ohci_pci_suspend':
drivers/usb/host/ohci-pci.c:128: warning implicit declaration of function 'ohci_hub_suspend'
drivers/usb/host/ohci-pci.c: In function 'ohci_pci_resume':
drivers/usb/host/ohci-pci.c:173: warning implicit declaration of function 'ohci_hub_resume'
drivers/usb/host/ohci-pci.c: At top level:
drivers/usb/host/ohci-pci.c:251: error: 'usb_hcd_pci_suspend' undeclared here (not in a function)
drivers/usb/host/ohci-pci.c:251: error: initializer element is not constant
drivers/usb/host/ohci-pci.c:251: error: (near initialization for 'ohci_pci_driver.suspend')
drivers/usb/host/ohci-pci.c:252: error: 'usb_hcd_pci_resume' undeclared here (not in a function)
drivers/usb/host/ohci-pci.c:252: error: initializer element is not constant
drivers/usb/host/ohci-pci.c:252: error: (near initialization for 'ohci_pci_driver.resume')
make[3]: *** [drivers/usb/host/ohci-hcd.o] Error 1
make[2]: *** [drivers/usb/host] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2



i hope that anybody can help me, because i can't help myself with that problem and i don't want to change to debian!

thank you,


derKnut
Back to top
View user's profile Send private message
anello
Guru
Guru


Joined: 17 Jul 2005
Posts: 557
Location: EU -> DE -> Stuttgart

PostPosted: Mon Aug 01, 2005 2:09 pm    Post subject: Reply with quote

try vanilla-sources if you don't need gentoo-sources for some reason
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Aug 01, 2005 4:33 pm    Post subject: Reply with quote

Make sure you have power management support or try toggling USB suspend/resume (it's an option in the USB drivers section.) If this doesn't help, can you post your kernel config somewhere (please not in a message here!).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
derKnut
n00b
n00b


Joined: 01 Aug 2005
Posts: 3

PostPosted: Tue Aug 02, 2005 9:07 am    Post subject: Reply with quote

i tried the vanilla-sources and they work. strange thing.
but i'll send my gentoo-sources-config later. don't know what i did wrong...
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