Bug 37026

Summary: can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)
Product: xorg Reporter: Volodymyr Yashchencko <ualinuxcn>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Volodymyr Yashchencko 2011-05-09 10:10:58 UTC
# git clone git://anongit.freedesktop.org/git/mesa/drm
# cd ./drm 
# ./autogen.sh 
http://paste.pocoo.org/show/385919/

Here is my kernel .config
http://paste.pocoo.org/show/385920/
or
# grep DRM .config
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_TTM=y
CONFIG_DRM_NOUVEAU=y

Here is # head  /var/log/messages
http://paste.pocoo.org/show/385922/
Comment 1 Emil Velikov 2011-07-11 09:11:56 UTC
Hi Volodymyr

It seems like missing dependencies to me.

I had similar messages on my Ubuntu and Arch.
* Ubuntu
   "apt-get build-dep xf86-video-nouveau"
* Arch
   "makepkg -s /path/to/build/script/PKGBUILD"

Take a look for an appropriate solution for your distro, or simply use this list
NOTE: Archlinux example - may be incomplete

* 'xorg-server'
* 'xorg-server-devel'
* 'xproto'
* 'fontsproto'
* 'libdrm'
* 'xf86driproto'
* 'randrproto'
* 'renderproto'
* 'glproto'
* 'videoproto'
* 'xextproto'
* 'xorg-util-macros'
* 'mesa'

Cheers
Emil

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.