[Openchrome-devel] [Bug 88334] New: does not compile
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 12 10:11:40 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88334
Bug ID: 88334
Summary: does not compile
Product: DRI
Version: XOrg git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Via
Assignee: openchrome-devel at lists.freedesktop.org
Reporter: freedesktop5112 at mx1.galets.net
Similar to https://freedesktop.org/patch/34699/:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden
-I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri
-I/usr/include/libdrm -fvisibility=hidden -I/usr/include/xorg
-I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm
-I/usr/include/libdrm -I/usr/include/X11/dri -g -O2 -MT via_3d.lo -MD -MP -MF
.deps/via_3d.Tpo -c via_3d.c -fPIC -DPIC -o .libs/via_3d.o
In file included from /usr/include/string.h:634:0,
from /usr/include/xorg/os.h:53,
from /usr/include/xorg/misc.h:115,
from /usr/include/xorg/xf86str.h:37,
from /usr/include/xorg/xf86.h:44,
from via_3d.h:27,
from via_3d.c:24:
/usr/include/xorg/os.h:579:1: error: expected identifier or ‘(’ before
‘__extension__’
strndup(const char *str, size_t n);
^
Makefile:585: recipe for target 'via_3d.lo' failed
solution: in via_3d.h add:
#include "xorg-server.h"
before:
#include "xf86.h"
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/openchrome-devel/attachments/20150112/b6a03646/attachment.html>
More information about the Openchrome-devel
mailing list