Bug 93218 - xserver (git version) fails to build due to error in file miarc.c
Summary: xserver (git version) fails to build due to error in file miarc.c
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 02:49 UTC by Jos van Wolput
Modified: 2015-12-03 06:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jos van Wolput 2015-12-03 02:49:05 UTC
When trying to make xserver (git version) I get the following error:
-----
Making all in mi
make[1]: Entering directory '/home/jos/src/xorg/git/xserver/mi'
  CC       miarc.lo
miarc.c:89:1: error: static declaration of 'cbrt' follows non-static declaration
 cbrt(double x)
 ^
In file included from /usr/include/features.h:361:0,
                 from /usr/include/math.h:26,
                 from miarc.c:53:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:169:1: note: previous declaration of 'cbrt' was here
 __MATHCALL (cbrt,, (_Mdouble_ __x));
 ^
Makefile:716: recipe for target 'miarc.lo' failed
make[1]: *** [miarc.lo] Error 1
make[1]: Leaving directory '/home/jos/src/xorg/git/xserver/mi'
Makefile:769: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
-----
Comment 1 Jos van Wolput 2015-12-03 06:41:22 UTC
This issue was caused by installing libc6 version 2.22-0 from Debian/experimental.
Reverting to libc6 version 2.21-1 from Debian/sid fixed this issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.