Skip to contentSkip to conversation

New: libdrm 2.4.37 compilation fails if ETIME not defined

Bug 52549 [email protected] 1 participant 4 messages Jul 26, 2012 – Mar 3, 2013

lore
Share & tools
lore
#0 lore raw

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

Bug #: 52549
Summary: libdrm 2.4.37 compilation fails if ETIME not defined
Classification: Unclassified
Product: DRI
Version: XOrg CVS
Platform: All
OS/Version: BSD (Others)
Status: NEW
Severity: normal
Priority: medium
Component: libdrm
AssignedTo: [email protected]
ReportedBy: [email protected]

For operating systems such as DragonFly BSD, ETIME may not be defined, let alone POSIX STREAMS implemented. libdrm 2.4.37 in current pkgsrc failed to compile on DragonFly BSD 3.1-DEVEL i386 and x86_64 until a patch was added to define ETIME if it was not already defined:

ETIME is not defined on DragonFly BSD, work around it.

intel_bufmgr_gem.c renamed from intel_bufmgr_gem.c.orig 2012-07-02 15:22:14.326942000 +0000 +3 -0
@@ -54,6 +54,9 @@
 #include <stdbool.h>
 
 #include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
 #include "libdrm_lists.h"
 #include "intel_bufmgr.h"
 #include "intel_bufmgr_priv.h"
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 52549] libdrm 2.4.37 compilation fails if ETIME not defined

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

--- Comment #1 from Matt Turner <[email protected]> 2012-08-01 04:48:13 UTC ---
http://comments.gmane.org/gmane.comp.freedesktop.xorg.devel/32267

So why are you trying to build libdrm_intel on an operating system that doesn't have Intel KMS?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 52549] libdrm 2.4.37 compilation fails if ETIME not defined

In reply to [email protected]

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

[email protected] <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from [email protected] <[email protected]> --- (In reply to comment #1)

Quoted 4 lines

http://comments.gmane.org/gmane.comp.freedesktop.xorg.devel/32267

So why are you trying to build libdrm_intel on an operating system that doesn't have Intel KMS?

FreeBSD-9.1 will have Intel KMS support and have the same problem.

http://wiki.freebsd.org/Intel_GPU

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 52549] libdrm 2.4.37 compilation fails if ETIME not defined

In reply to [email protected]

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

Francois Tigeot <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Francois Tigeot <[email protected]> --- Resolved by commit 7d42b49c0cf19dbb4531cd84efae51f95db2eea1, present in libdrm-2.4.41.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel