Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.36-gentoo-r5 fails to build
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
Solour
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2006
Posts: 107

PostPosted: Wed Dec 15, 2010 11:42 am    Post subject: 2.6.36-gentoo-r5 fails to build Reply with quote

Hi there,

I ran into the following problem.
Could it be my fault? Or where is the problem?
I can not find a related bug or thread somewhere...

Cheers
S

Code:
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --bootloader=grub --mountboot --install --oldconfig --mrproper --save-config all

* Linux Kernel 2.6.36-gentoo-r5 for x86...
* mount: /boot mounted successfully!
*         >> Running oldconfig...
* config: --no-clean is enabled; leaving the .config alone.
*         >> Compiling 2.6.36-gentoo-r5 bzImage...
* ERROR: Failed to compile the "bzImage" target...

* -- Grepping log... --

  CLEAN   arch/x86/kernel/acpi/realmode
In file included from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from include/linux/pagemap.h:7,
                 from fs/ext2/inode.c:27:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:252:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:254:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:256:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from include/linux/pagemap.h:7,
                 from fs/ext2/inode.c:27:
include/linux/mmzone.h:301: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
  CLEAN   arch/x86/kernel/cpu
  CLEAN   arch/x86/kernel
In file included from include/linux/pagemap.h:7,
                 from fs/ext2/inode.c:27:
include/linux/mm.h:465:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:513:62: warning: "NR_PAGEFLAGS" is not defined
  CLEAN   arch/x86/vdso
make[2]: *** [fs/ext2/inode.o] Error 1
make[1]: *** [fs/ext2] Error 2
make: *** [fs] Error 2
make: *** Waiting for unfinished jobs....
fixdep: include/generated/bounds.h: No such file or directory
make[3]: *** [security/selinux/ss/sidtab.o] Error 2
--
  CC      security/selinux/ss/avtab.o
  CC      security/commoncap.o
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from security/selinux/ss/avtab.c:21:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:252:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:254:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:256:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from security/selinux/ss/avtab.c:21:
include/linux/mmzone.h:301: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
In file included from include/linux/topology.h:32,
                 from include/linux/sched.h:78,
                 from include/linux/audit.h:362,
                 from security/commoncap.c:11:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:252:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:254:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:256:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/topology.h:32,
                 from include/linux/sched.h:78,
                 from include/linux/audit.h:362,
                 from security/commoncap.c:11:
include/linux/mmzone.h:301: error: ‘MAX_NR_ZONES’ undeclared here (not in a function)
--
                 from security/selinux/ss/ebitmap.h:17,
                 from security/selinux/ss/context.h:18,
                 from security/selinux/ss/sidtab.h:10,
                 from security/selinux/ss/policydb.h:31,
                 from security/selinux/ss/avtab.c:24:
include/linux/mm.h:465:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:513:62: warning: "NR_PAGEFLAGS" is not defined
In file included from include/linux/security.h:32,
                 from security/commoncap.c:15:
include/linux/mm.h:465:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:513:62: warning: "NR_PAGEFLAGS" is not defined
make[1]: *** [security/commoncap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[3]: *** [security/selinux/ss/avtab.o] Error 1
make[2]: *** [security/selinux/ss] Error 2
make[1]: *** [security/selinux] Error 2
make: *** [security] Error 2
* Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: --bootloader=grub --mountboot --install --oldconfig --mrproper --save-config all

* ERROR: Failed to compile the "bzImage" target...

* -- End log... --
Back to top
View user's profile Send private message
augury
l33t
l33t


Joined: 22 May 2004
Posts: 722
Location: philadelphia

PostPosted: Wed Dec 15, 2010 11:58 pm    Post subject: Reply with quote

your missing 'generated/bounds.h'

¿it is a generated header?

edit

OK yeah. the kernel builds /usr/src/linux/include/generated/

Why didn't yours?
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