dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 46724] New: radeon_drm_winsys compile fail with libdrm in non standard directory
@ 2012-02-28 13:07 bugzilla-daemon
  2012-03-26 17:01 ` [Bug 46724] " bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-02-28 13:07 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46724

             Bug #: 46724
           Summary: radeon_drm_winsys compile fail with libdrm in non
                    standard directory
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: vand2@gmx.de


Compiling of mesa git fails with libdrm in a non standard directory.

libdrm (2.4.31):

./configure \
  --prefix=/opt/mesa \
  LDFLAGS=-L/opt/mesa/lib \
  PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig \
  --enable-nouveau-experimental-api

mesa (git a46548e0effa45d31b536c1af97b8dcacbe2db8e):

./configure \
  --prefix=/opt/mesa \
  --enable-texture-float \
  PKG_CONFIG_PATH=/opt/mesa/lib/pkgconfig \
  USE_EXTERNAL_DXTN_LIB=1
make -j8

....
gcc -c -I. -I../../../../../src/gallium/include
-I../../../../../src/gallium/auxiliary -I../../../../../src/gallium/drivers
-I../../../../../include -I/usr/include/libdrm   -g -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -g -O2  -fPIC  -DUSE_X86_64_ASM
-D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN
-DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -fvisibility=hidden
-I/usr/lib/llvm-2.9/include   -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS radeon_drm_winsys.c -o radeon_drm_winsys.o
In file included from radeon_drm_winsys.h:33:0,
                 from radeon_drm_bo.h:35,
                 from radeon_drm_cs.h:30,
                 from radeon_drm_bo.c:28:
radeon_winsys.h:46:35: fatal error: libdrm/radeon_surface.h: No such file or
directory
compilation terminated.
In file included from radeon_drm_winsys.h:33:0,
                 from radeon_drm_bo.h:35,
                 from radeon_drm_cs.h:30,
                 from radeon_drm_cs.c:65:
radeon_winsys.h:46:35: fatal error: libdrm/radeon_surface.h: No such file or
directory
compilation terminated.
In file included from radeon_drm_winsys.h:33:0,
                 from radeon_drm_bo.h:35,
                 from radeon_drm_winsys.c:34:
radeon_winsys.h:46:35: fatal error: libdrm/radeon_surface.h: No such file or
directory
compilation terminated.
....

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 46724] radeon_drm_winsys compile fail with libdrm in non standard directory
  2012-02-28 13:07 [Bug 46724] New: radeon_drm_winsys compile fail with libdrm in non standard directory bugzilla-daemon
@ 2012-03-26 17:01 ` bugzilla-daemon
  2012-03-27  9:54 ` bugzilla-daemon
  2012-04-02 17:07 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-26 17:01 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46724

Jerome Glisse <glisse@freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jerome Glisse <glisse@freedesktop.org> 2012-03-26 10:01:24 PDT ---
Should be working now, reopen if it's not the case

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 46724] radeon_drm_winsys compile fail with libdrm in non standard directory
  2012-02-28 13:07 [Bug 46724] New: radeon_drm_winsys compile fail with libdrm in non standard directory bugzilla-daemon
  2012-03-26 17:01 ` [Bug 46724] " bugzilla-daemon
@ 2012-03-27  9:54 ` bugzilla-daemon
  2012-04-02 17:07 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-03-27  9:54 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46724

vand2@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #2 from vand2@gmx.de 2012-03-27 02:54:19 PDT ---
There's no change in the issue (even with libdrm-2.4.32 now). 
With git aebd5492438d8ff31c2c12c0dfffa314768f4a42 
compilation still breaks at the same point. 
8.0.2 compiles fine btw..

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 46724] radeon_drm_winsys compile fail with libdrm in non standard directory
  2012-02-28 13:07 [Bug 46724] New: radeon_drm_winsys compile fail with libdrm in non standard directory bugzilla-daemon
  2012-03-26 17:01 ` [Bug 46724] " bugzilla-daemon
  2012-03-27  9:54 ` bugzilla-daemon
@ 2012-04-02 17:07 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2012-04-02 17:07 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=46724

vand2@gmx.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from vand2@gmx.de 2012-04-02 10:07:21 PDT ---
This seems fixed now. 
git version 42bc0b9b9dc31a15c08d409d14d25ccf19501255
compiles without any errors.

Thanks!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-02 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-28 13:07 [Bug 46724] New: radeon_drm_winsys compile fail with libdrm in non standard directory bugzilla-daemon
2012-03-26 17:01 ` [Bug 46724] " bugzilla-daemon
2012-03-27  9:54 ` bugzilla-daemon
2012-04-02 17:07 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).