[Savage40] Compiling linux-core modules
Felix Kühling
fxkuehl at gmx.de
Mon Jan 10 13:48:07 PST 2005
Am Montag, den 10.01.2005, 01:30 -0800 schrieb Brian Heung:
> 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?
Try the latest DRM CVS code. There was a patch committed yesterday
related to 4-level page tables. It looks like there is also something
wrong with AGP stuff. You may want to try a standard kernel. The DRM
needs some quirks to support all the interface changes with different
kernel versions. Dave Airlie is doing a great job tracking the Linus
kernel and merging changes back and forth. He can't also track the -mm
or any other kernel branches.
>
> Brian
>
Regards,
Felix
>
> ----
>
> 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
>
> _______________________________________________
> Savage40 mailing list
> Savage40 at probo.com
> http://www.probo.com/mailman/listinfo/savage40
>
--
| Felix Kühling <fxkuehl at gmx.de> http://fxk.de.vu |
| PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 |
More information about the Savage40
mailing list