From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 35609] New: Mesa DRI fails to build for nouveau
Date: Wed, 23 Mar 2011 17:44:38 -0700 (PDT) [thread overview]
Message-ID: <bug-35609-8800@http.bugs.freedesktop.org/> (raw)
https://bugs.freedesktop.org/show_bug.cgi?id=35609
Summary: Mesa DRI fails to build for nouveau
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
AssignedTo: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
ReportedBy: jordan.yelloz+fdo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Created an attachment (id=44772)
View: https://bugs.freedesktop.org/attachment.cgi?id=44772
Review: https://bugs.freedesktop.org/review?bug=35609&attachment=44772
Here's a one-line patch that makes it build for me.
I am using the latest mesa (commit 81992010b57e5b137c9319b47f282e267a086582).
I am configuring it with:
####################################################
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--libdir=/usr/lib64 --enable-shared-dricore --disable-option-checking
--with-driver=dri --disable-glut --without-demos --enable-xcb --disable-debug
--enable-glw --enable-motif --enable-glx-tls --disable-asm
--with-dri-drivers=,swrast,i810,i915,i965,nouveau,r600 --enable-gallium
--with-state-trackers=glx,dri,egl,vega --enable-gallium-llvm --enable-gles1
--enable-gles2 --enable-gles-overlay --disable-gallium-svga
--enable-gallium-nouveau --enable-gallium-i915 --enable-gallium-i965
--enable-gallium-radeon --enable-gallium-r600 --enable-gallium-i915
--enable-gallium-i965 --enable-gallium-radeon --enable-gallium-r600
####################################################
The error is:
####################################################
x86_64-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common
-Iserver -I../../../../../include -I../../../../../src/mapi
-I../../../../../src/mesa -I../../../../../src/egl/main
-I../../../../../src/egl/drivers/dri -I/usr/include/libdrm -g -O2 -Wall
-Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS
-DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV
-DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE
-D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -DUSE_DRICORE nouveau_screen.c -o
nouveau_screen.o
In file included from nouveau_screen.c:27:0:
nouveau_driver.h:41:28: fatal error: nouveau_device.h: No such file or
directory
compilation terminated.
gmake[6]: *** [nouveau_screen.o] Error 1
####################################################
It looks like commit d1e28b22673777fe1290cda899abf73aad02e4aa
(http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1e28b22673777fe1290cda899abf73aad02e4aa)
doesn't allow the CFLAGS set in the dri/nouveau/Makefile to be respected and I
guess it needs to be updated to LIBDRM_CFLAGS.
Am I the only one who is experiencing this?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next reply other threads:[~2011-03-24 0:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 0:44 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
[not found] ` <bug-35609-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2011-03-24 1:33 ` [Bug 35609] Mesa DRI fails to build for nouveau bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-03-24 1:57 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2011-03-24 9:56 ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-35609-8800@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.