[Savage40] Compiling linux-core modules

Brian Heung bheung at berkeley.edu
Mon Jan 10 01:30:24 PST 2005


Thanks for all the hard work! I am attempting to follow the build
instructions on the wiki but am stuck on building the DRM.

I changed to the linux-core directory but the following error is given
when I try to build drm.ko. I am running 2.6.10-mm2 so maybe that is the
reason?

Brian


----

thinkpad linux-core # make DRM_MODULES="savage"
make -C /lib/modules/2.6.10-mm2/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd`
modules
make[1]: Entering directory `/usr/src/linux-2.6.10-mm2'
   CC [M]  /home/brian/build/drm/linux-core/drm_agpsupport.o
In file included from /home/brian/build/drm/linux-core/drmP.h:759,
                  from /home/brian/build/drm/linux-core/drm_agpsupport.c:34:
/home/brian/build/drm/linux-core/drm_memory.h: In function
`drm_follow_page':
/home/brian/build/drm/linux-core/drm_memory.h:141: warning: passing arg
1 of `pmd_offset' from incompatible pointer type
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_acquire':
/home/brian/build/drm/linux-core/drm_agpsupport.c:105: error: too few
arguments to function `agp_backend_acquire'
/home/brian/build/drm/linux-core/drm_agpsupport.c:105: warning:
assignment makes integer from pointer without a cast
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_release':
/home/brian/build/drm/linux-core/drm_agpsupport.c:130: error: too few
arguments to function `agp_backend_release'
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_do_release':
/home/brian/build/drm/linux-core/drm_agpsupport.c:143: error: too few
arguments to function `agp_backend_release'
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_enable':/home/brian/build/drm/linux-core/drm_agpsupport.c:172:
warning: passing arg 1 of `agp_enable' makes pointer from integer
without a cast
/home/brian/build/drm/linux-core/drm_agpsupport.c:172: error: too few
arguments to function `agp_enable'
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_init':
/home/brian/build/drm/linux-core/drm_agpsupport.c:401: warning: passing
arg 1 of `agp_copy_info' from incompatible pointer type
/home/brian/build/drm/linux-core/drm_agpsupport.c:401: error: too few
arguments to function `agp_copy_info'
/home/brian/build/drm/linux-core/drm_agpsupport.c: In function
`drm_agp_allocate_memory':
/home/brian/build/drm/linux-core/drm_agpsupport.c:415: warning: passing
arg 1 of `agp_allocate_memory' makes pointer from integer without a cast
/home/brian/build/drm/linux-core/drm_agpsupport.c:415: error: too few
arguments to function `agp_allocate_memory'
make[2]: *** [/home/brian/build/drm/linux-core/drm_agpsupport.o] Error 1
make[1]: *** [_module_/home/brian/build/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.10-mm2'
make: *** [modules] Error 2



More information about the Savage40 mailing list