Intel 855GM: DRM unusual compilation
"marco V."
megogliak at yahoo.it
Thu Aug 14 07:48:24 PDT 2008
Steven,
thank 4 help. I've read only now this rows:
ifneq (,$(findstring i915,$(DRM_MODULES)))
ifeq ($(OS_HAS_GEM), 1)
CONFIG_DRM_I915 := m
endif
endif
in Makefile. Anyway, module now begin compilation step but:
CC [M]
/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.o
/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.c:
In function 'i915_gem_detect_bit_6_swizzle':
/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.c:118:
error: implicit declaration of function 'pci_read_base'
make[2]: ***
[/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core/i915_gem_tiling.o]
Error 1
make[1]: ***
[_module_/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.26'
make: *** [modules] Error 2
make: Leaving directory
`/usr/src/855GM/IntelGfx-20080725/855GM/drm/linux-core'
hung! Any idea/help?
Thanks.
Steven J Newbury ha scritto:
> On Thu, 2008-08-14 at 14:07 +0000, "marco V." wrote:
>
>> hi at all,
>>
>> I've a strange problem compiling kernel module for 855GM chipset.
>> Downloades driver source from:
>> git-clone git://anongit.freedesktop.org/git/mesa/drm
>> I compile with no problem libdrm libreries using commands;
>> ./autogen.sh --prefix=/usr --exec-prefix=/usr
>> make
>> then I compile kernel modules:
>> make -C linux-core
>> the unusual thing is that compilation of some modules ( such as drm
>> and i810 ) work fine, but for others modules ( such as i830 and i915 )
>> there are neither compilation steps nor errors!?
>> Any idea/help?
>>
> The git master drm has been merged with GEM which requires changes to
> the kernel. To attempt to build the GEM drm modules you need to define
> OS_HAS_GEM=1 in your environment.
>
>
>
>
Posta, news, sport, oroscopo: tutto in una sola pagina.
Crea l'home page che piace a te!
www.yahoo.it/latuapagina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20080814/137daeed/attachment.html>
More information about the xorg
mailing list