Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel error: failed to compile "" target
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
mila61
n00b
n00b


Joined: 04 Mar 2006
Posts: 5

PostPosted: Sun Mar 05, 2006 5:36 am    Post subject: genkernel error: failed to compile "" target Reply with quote

hy,

i am having problems installing gentoo 2006.0 on my powerbook. i am at chapter 7.e of the handbook and trying to build a kernel with genkernel (as i do not have the time to build it by hand) which does not work.

i emerged gentoo-sources and started genkernel like mentioned in the handbook and after a loooong period of time compiling :? genkernel stops saying

Code:
../linux/arch/ppc/include/asm/signal.h:14: error: 'BITS_PER_LONG' undeclared here (not in a function)
make[1]: *** [fork.o] error 1
make[1]: leaving directory '/var/tmp/genkernel/25525.26813.17545.21215/klibc-1.1.1/klibc'
make: *** [all] error 2
* gentoo linux genkernel; version 3.3.10
* running with options: all
* error: failed to compile the "" target ...


same result when emerging vanilla-sources. https://forums.gentoo.org/viewtopic-t-431148.html does not help me. any hints?
Back to top
View user's profile Send private message
fartonmyear
n00b
n00b


Joined: 06 Mar 2006
Posts: 12

PostPosted: Mon Mar 06, 2006 10:55 pm    Post subject: Reply with quote

i get the same errors
Back to top
View user's profile Send private message
russofris
Apprentice
Apprentice


Joined: 14 Sep 2003
Posts: 163

PostPosted: Tue Mar 07, 2006 4:43 am    Post subject: Reply with quote

I have never had genkernel work on PPC (or Sparc for that matter). I would recommend doing it by hand.

Best wishes,
Frank
Back to top
View user's profile Send private message
mattdenner
n00b
n00b


Joined: 01 Feb 2005
Posts: 16

PostPosted: Tue Mar 07, 2006 1:59 pm    Post subject: Re: genkernel error: failed to compile "" target Reply with quote

mila61 wrote:
code]../linux/arch/ppc/include/asm/signal.h:14: error: 'BITS_PER_LONG' undeclared here (not in a function)[/code]


I had this error when compiling and found that using the latest genkernel fixes the problem. I put:

Code:
sys-kernel/genkernel ~ppc


Into /etc/portage/package.keywords and this allowed me to emerge it. I'm currently using version 3.3.11 and it's working fine on a vanilla-sources 2.6.16rc4 kernel source. But note that this package is marked unstable (hence the package.keywords edit) and so you can't be guaranteed it works (I tend to be one of those bleeding-edge-flying-by-the-seat-of-my-pants kind of gentoo users!)

Matt
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