[Nouveau] [Bug 37026] New: can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)

Didier Spaier didier.spaier at epsm.fr
Tue May 10 14:07:41 PDT 2011


First I am a bit surprised that you use a kernel coming from gentoo on Slackware 12.2.

I would suggest you configure, compile and install a vanilla 2.6.39-rc7 (as of today) kernel,
re-using one of the .config files available in a slackware-13.37 mirror, in the directory
/slackware-13.37-mirror/testing/source/linux-2.6.39-rc4-configs

In of of these you'll get e.g. :

bash-4.1$ grep DRM config-generic-smp-2.6.39-rc4-smp
CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
...
CONFIG_DRM_NOUVEAU=m
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
CONFIG_DRM_NOUVEAU_DEBUG=y
...

Please note that all drivers are modularized, though I don't know if that really matters.

Then, I suggest that you re-use the SlackBuilds available in:
/slackware-13.37-mirror/testing/source
to build Slackware package(s) for recent (but not git) version(s) of (mesa and) libdrm, i.e. lindrm-24.25 and mesa-7.10.2.

If this work (which I am not sure at all as the other components of the X stack and the libraries are pretty old in slackware-12.2),
you will be able to build xf86-video-nouveau-git_20110417_8378443 the same way.

PS Out of curiosity, why put a very recent X stack on top of a very old distribution?

On 09/05/2011 19:10, bugzilla-daemon at freedesktop.org wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=37026
>
>             Summary: can't compile drm_nouveau. Slackware 12.2
>                      (linux-2.6.38-r4 from gentoo-sources)
>             Product: xorg
>             Version: git
>            Platform: x86 (IA32)
>          OS/Version: Linux (All)
>              Status: NEW
>            Severity: critical
>            Priority: medium
>           Component: Driver/nouveau
>          AssignedTo: nouveau at lists.freedesktop.org
>          ReportedBy: ualinuxcn at gmail.com
>           QAContact: xorg-team at lists.x.org
>
>
> # 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/
>



More information about the Nouveau mailing list