bugzilla-daemon at freedesktop.org
2011-May-09 17:10 UTC
[Nouveau] [Bug 37026] New: can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)
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/
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Didier Spaier
2011-May-10 21:07 UTC
[Nouveau] [Bug 37026] New: can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)
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/ >
bugzilla-daemon at freedesktop.org
2011-Jul-11 16:11 UTC
[Nouveau] [Bug 37026] can't compile drm_nouveau. Slackware 12.2 (linux-2.6.38-r4 from gentoo-sources)
https://bugs.freedesktop.org/show_bug.cgi?id=37026
Emil Velikov <emil.l.velikov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> 2011-07-11
09:11:56 PDT ---
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
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.