Some more points on this:
1. The following line can be added to scripts/create_lk_drm.sh before copying
the files to the kernel tree to fix the problem with not having drm_pciids.h
(cd linux; sh ../scripts/create_linux_pci_lists.sh < ../shared/drm_pciids.txt)2. If the drmP.h file's line "#ifndef REMAP_PAGE_RANGE_5_ARGS" is changed
to "#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)" this
hacks around the problem. I don't no where REMAP_PAGE_RANGE_5_ARGS
should really be defined.Terry
Terry Barnaby wrote:
Hi,
I am trying to build the latest (5/5/04) CVS DRI sources with the latest 2.6.5 kernel from within the kernel source tree.
I have used scripts/create_lk_drm.sh to copy the cvs dri files to my kernels source tree.
So far I have the errors:
1. /src/homeSys/devel/kernel-2.6/linux-2.6.5/drivers/char/drm/drm_drv.h:552:24: drm
_pciids.h: No such file or directory
It seems that the makefile.kernel has not been updated to match
the out of kernel tree Makefile.
2. /src/homeSys/devel/kernel-2.6/linux-2.6.5/drivers/char/drm/drm_vm.h:623: too few
arguments to function `remap_page_range'
The drmP.h file sets DRM_RPR_ARG based on the REMAP_PAGE_RANGE_5_ARGS
paramter. The REMAP_PAGE_RANGE_5_ARGS is not defined in my kernel
tree, but should be to get the correct form of DRM_RPR_ARG.
Terry
-- Dr Terry Barnaby BEAM Ltd Phone: +44 1454 324512 Northavon Business Center, Dean Rd Fax: +44 1454 313172 Yate, Bristol, BS37 5NH, UK Email: [EMAIL PROTECTED] Web: www.beam.ltd.uk BEAM for: Visually Impaired X-Terminals, Parallel Processing, Software "Tandems are twice the fun !"
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel
