All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot compile nouveau.o in drm with kernel 2.6.26
@ 2008-07-19  0:22 Garnet MacPhee
       [not found] ` <488133D7.7050808-vVazHDhchvNCCzmm7wA0Mw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Garnet MacPhee @ 2008-07-19  0:22 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

I am getting the following error when trying to compile nouveau.o in drm/linux-core on linux kernel 2.6.26. Drm itself 
compiles and installs correctly. I am using the latest drm git. I cannot access bugzilla from the nouveau page because it says 
it has an invalid security certificate.

root@default:~/drm/linux-core# make nouveau.o
make DRM_MODULES=nouveau.o modules
make[1]: Entering directory `/root/drm/linux-core'
make -C /lib/modules/2.6.26/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.26'
   CC [M]  /root/drm/linux-core/drm_auth.o
In file included from include/linux/gfp.h:4,
                  from include/linux/slab.h:12,
                  from include/linux/percpu.h:5,
                  from include/asm/local.h:4,
                  from include/linux/module.h:19,
                  from /root/drm/linux-core/drmP.h:44,
                  from /root/drm/linux-core/drm_auth.c:36:
include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file or directory
include/linux/mmzone.h:197:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
                  from include/linux/slab.h:12,
                  from include/linux/percpu.h:5,
                  from include/asm/local.h:4,
                  from include/linux/module.h:19,
                  from /root/drm/linux-core/drmP.h:44,
                  from /root/drm/linux-core/drm_auth.c:36:
include/linux/mmzone.h:218: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/asm/pci.h:4,
                  from include/linux/pci.h:948,
                  from /root/drm/linux-core/drmP.h:51,
                  from /root/drm/linux-core/drm_auth.c:36:
include/linux/mm.h:429:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:477:62: warning: "NR_PAGEFLAGS" is not defined
make[3]: *** [/root/drm/linux-core/drm_auth.o] Error 1
make[2]: *** [_module_/root/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.26'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/drm/linux-core'
make: *** [nouveau.o] Error 2
root@default:~/drm/linux-core#

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-19 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-19  0:22 Cannot compile nouveau.o in drm with kernel 2.6.26 Garnet MacPhee
     [not found] ` <488133D7.7050808-vVazHDhchvNCCzmm7wA0Mw@public.gmane.org>
2008-07-19  7:39   ` Pekka Paalanen
2008-07-19 11:42     ` Garnet MacPhee
2008-07-19 13:55     ` Garnet MacPhee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.