Advertisement
Guest User

mpd error compiling

a guest
Feb 1st, 2015
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.48 KB | None | 0 0
  1. # make
  2. make all-am
  3. make[1]: Entering directory `/root/tmp/mpd-0.19.8'
  4. g++ -DHAVE_CONFIG_H -I. -DNDEBUG -I./src -pthread -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -I/usr/include -DSYSTEM_CONFIG_FILE_LOCATION='"/usr/local/etc/mpd.conf"' -D_GNU_SOURCE -std=gnu++0x -g -O2 -fvisibility=hidden -fno-threadsafe-statics -fmerge-all-constants -fno-exceptions -fno-rtti -ffast-math -ftree-vectorize -ffunction-sections -fdata-sections -Wall -Wextra -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wsign-compare -MT src/output/libmpd_a-Registry.o -MD -MP -MF src/output/.deps/libmpd_a-Registry.Tpo -c -o src/output/libmpd_a-Registry.o `test -f 'src/output/Registry.cxx' || echo './'`src/output/Registry.cxx
  5. In file included from src/output/OutputPlugin.hxx:23,
  6. from src/output/OutputAPI.hxx:25,
  7. from src/output/Registry.cxx:22:
  8. ./src/Compiler.h:49:6: error: #error Sorry, your gcc version is too old. You need at least version 4.6.
  9. In file included from src/output/OutputAPI.hxx:25,
  10. from src/output/Registry.cxx:22:
  11. src/output/OutputPlugin.hxx: In function ‘bool ao_plugin_test_default_device(const AudioOutputPlugin*)’:
  12. src/output/OutputPlugin.hxx:157: error: ‘nullptr’ was not declared in this scope
  13. In file included from src/output/Internal.hxx:23,
  14. from src/output/OutputAPI.hxx:26,
  15. from src/output/Registry.cxx:22:
  16. ./src/AudioFormat.hxx: At global scope:
  17. ./src/AudioFormat.hxx:65: error: expected initializer before ‘unsigned’
  18. ./src/AudioFormat.hxx:92: error: ‘constexpr’ does not name a type
  19. ./src/AudioFormat.hxx:97: error: ‘constexpr’ does not name a type
  20. ./src/AudioFormat.hxx:114: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  21. ./src/AudioFormat.hxx:114: error: expected ‘;’ before ‘bool’
  22. ./src/AudioFormat.hxx:123: error: expected ‘;’ before ‘constexpr’
  23. ./src/AudioFormat.hxx:123: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  24. ./src/AudioFormat.hxx:123: error: expected ‘;’ before ‘bool’
  25. ./src/AudioFormat.hxx:131: error: expected ‘;’ before ‘constexpr’
  26. ./src/AudioFormat.hxx:131: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  27. ./src/AudioFormat.hxx:131: error: expected ‘;’ before ‘bool’
  28. ./src/AudioFormat.hxx:136: error: expected ‘;’ before ‘bool’
  29. ./src/AudioFormat.hxx:139: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  30. ./src/AudioFormat.hxx:139: error: expected ‘;’ before ‘bool’
  31. ./src/AudioFormat.hxx:145: error: expected ‘;’ before ‘constexpr’
  32. ./src/AudioFormat.hxx:145: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  33. ./src/AudioFormat.hxx:145: error: expected ‘;’ before ‘bool’
  34. ./src/AudioFormat.hxx:149: error: expected ‘;’ before ‘void’
  35. ./src/AudioFormat.hxx:180: error: expected initializer before ‘inline’
  36. ./src/AudioFormat.hxx:213: error: expected initializer before ‘inline’
  37. ./src/AudioFormat.hxx: In member function ‘bool AudioFormat::IsValid() const’:
  38. ./src/AudioFormat.hxx:226: error: ‘audio_valid_sample_rate’ was not declared in this scope
  39. ./src/AudioFormat.hxx:228: error: ‘audio_valid_channel_count’ was not declared in this scope
  40. ./src/AudioFormat.hxx: In member function ‘bool AudioFormat::IsMaskValid() const’:
  41. ./src/AudioFormat.hxx:239: error: ‘audio_valid_sample_rate’ was not declared in this scope
  42. ./src/AudioFormat.hxx:242: error: ‘audio_valid_channel_count’ was not declared in this scope
  43. In file included from ./src/pcm/PcmBuffer.hxx:23,
  44. from src/output/Internal.hxx:24,
  45. from src/output/OutputAPI.hxx:26,
  46. from src/output/Registry.cxx:22:
  47. ./src/util/ReusableArray.hxx: In constructor ‘ReusableArray<T, M>::ReusableArray()’:
  48. ./src/util/ReusableArray.hxx:51: error: ‘nullptr’ was not declared in this scope
  49. ./src/util/ReusableArray.hxx: In member function ‘void ReusableArray<T, M>::Clear()’:
  50. ./src/util/ReusableArray.hxx:66: error: ‘nullptr’ was not declared in this scope
  51. In file included from src/output/Internal.hxx:25,
  52. from src/output/OutputAPI.hxx:26,
  53. from src/output/Registry.cxx:22:
  54. ./src/pcm/PcmDither.hxx: At global scope:
  55. ./src/pcm/PcmDither.hxx:25: error: expected ‘{’ before ‘;’ token
  56. ./src/pcm/PcmDither.hxx:25: error: expected class-key before ‘;’ token
  57. ./src/pcm/PcmDither.hxx:32: error: ‘constexpr’ does not name a type
  58. ./src/pcm/PcmDither.hxx:33: error: expected unqualified-id before ‘,’ token
  59. In file included from ./src/thread/Mutex.hxx:42,
  60. from src/output/Internal.hxx:27,
  61. from src/output/OutputAPI.hxx:26,
  62. from src/output/Registry.cxx:22:
  63. ./src/thread/PosixMutex.hxx:57: error: ‘constexpr’ does not name a type
  64. ./src/thread/PosixMutex.hxx:57: error: expected unqualified-id before ‘)’ token
  65. In file included from ./src/thread/Cond.hxx:42,
  66. from src/output/Internal.hxx:28,
  67. from src/output/OutputAPI.hxx:26,
  68. from src/output/Registry.cxx:22:
  69. ./src/thread/PosixCond.hxx:57: error: ‘constexpr’ does not name a type
  70. ./src/thread/PosixCond.hxx:57: error: expected unqualified-id before ‘)’ token
  71. ./src/thread/PosixCond.hxx: In member function ‘bool PosixCond::timed_wait(PosixMutex&, unsigned int)’:
  72. ./src/thread/PosixCond.hxx:77: error: ‘nullptr’ was not declared in this scope
  73. In file included from src/output/Internal.hxx:29,
  74. from src/output/OutputAPI.hxx:26,
  75. from src/output/Registry.cxx:22:
  76. ./src/thread/Thread.hxx: In member function ‘bool Thread::IsInside() const’:
  77. ./src/thread/Thread.hxx:95: error: ‘constexpr’ was not declared in this scope
  78. ./src/thread/Thread.hxx:95: error: expected ‘;’ before ‘bool’
  79. ./src/thread/Thread.hxx:97: error: ‘creating’ was not declared in this scope
  80. In file included from src/output/Internal.hxx:30,
  81. from src/output/OutputAPI.hxx:26,
  82. from src/output/Registry.cxx:22:
  83. ./src/system/PeriodClock.hxx: At global scope:
  84. ./src/system/PeriodClock.hxx:43: error: ‘constexpr’ does not name a type
  85. ./src/system/PeriodClock.hxx:51: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  86. ./src/system/PeriodClock.hxx:51: error: expected ‘;’ before ‘int’
  87. ./src/system/PeriodClock.hxx:57: error: expected ‘;’ before ‘constexpr’
  88. ./src/system/PeriodClock.hxx:57: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  89. ./src/system/PeriodClock.hxx:57: error: expected ‘;’ before ‘bool’
  90. ./src/system/PeriodClock.hxx:61: error: expected ‘;’ before ‘void’
  91. ./src/system/PeriodClock.hxx: In member function ‘int PeriodClock::Elapsed() const’:
  92. ./src/system/PeriodClock.hxx:82: error: no matching function for call to ‘PeriodClock::Elapsed(PeriodClock::Stamp) const’
  93. ./src/system/PeriodClock.hxx:81: note: candidates are: int PeriodClock::Elapsed() const
  94. ./src/system/PeriodClock.hxx: In member function ‘int PeriodClock::ElapsedUpdate()’:
  95. ./src/system/PeriodClock.hxx:90: error: no matching function for call to ‘PeriodClock::Elapsed(const unsigned int&)’
  96. ./src/system/PeriodClock.hxx:81: note: candidates are: int PeriodClock::Elapsed() const
  97. ./src/system/PeriodClock.hxx: In member function ‘bool PeriodClock::Check(unsigned int) const’:
  98. ./src/system/PeriodClock.hxx:102: error: no matching function for call to ‘PeriodClock::Check(PeriodClock::Stamp, unsigned int&) const’
  99. ./src/system/PeriodClock.hxx:101: note: candidates are: bool PeriodClock::Check(unsigned int) const
  100. ./src/system/PeriodClock.hxx: In member function ‘bool PeriodClock::CheckUpdate(unsigned int)’:
  101. ./src/system/PeriodClock.hxx:128: error: no matching function for call to ‘PeriodClock::Check(PeriodClock::Stamp&, unsigned int&)’
  102. ./src/system/PeriodClock.hxx:101: note: candidates are: bool PeriodClock::Check(unsigned int) const
  103. ./src/system/PeriodClock.hxx: In member function ‘bool PeriodClock::CheckAlwaysUpdate(unsigned int)’:
  104. ./src/system/PeriodClock.hxx:143: error: no matching function for call to ‘PeriodClock::Check(PeriodClock::Stamp&, unsigned int&)’
  105. ./src/system/PeriodClock.hxx:101: note: candidates are: bool PeriodClock::Check(unsigned int) const
  106. In file included from ./src/tag/Tag.hxx:25,
  107. from src/output/OutputAPI.hxx:28,
  108. from src/output/Registry.cxx:22:
  109. ./src/Chrono.hxx: At global scope:
  110. ./src/Chrono.hxx:48: error: expected initializer before ‘SongTime’
  111. ./src/Chrono.hxx:50: error: ‘constexpr’ does not name a type
  112. ./src/Chrono.hxx:54: error: ‘constexpr’ does not name a type
  113. ./src/Chrono.hxx:58: error: ‘constexpr’ does not name a type
  114. ./src/Chrono.hxx:62: error: ‘constexpr’ does not name a type
  115. ./src/Chrono.hxx:66: error: ‘constexpr’ does not name a type
  116. ./src/Chrono.hxx:70: error: ‘constexpr’ does not name a type
  117. ./src/Chrono.hxx:74: error: ‘constexpr’ does not name a type
  118. ./src/Chrono.hxx:78: error: ‘constexpr’ does not name a type
  119. ./src/Chrono.hxx:83: error: expected constructor, destructor, or type conversion before ‘T’
  120. ./src/Chrono.hxx:95: error: expected initializer before ‘SongTime’
  121. ./src/Chrono.hxx:99: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  122. ./src/Chrono.hxx:99: error: expected ‘;’ before ‘double’
  123. ./src/Chrono.hxx:103: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  124. ./src/Chrono.hxx:103: error: expected ‘;’ before ‘bool’
  125. ./src/Chrono.hxx:107: error: expected ‘;’ before ‘constexpr’
  126. ./src/Chrono.hxx:107: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  127. ./src/Chrono.hxx:107: error: expected ‘;’ before ‘bool’
  128. ./src/Chrono.hxx:111: error: expected ‘;’ before ‘__attribute__’
  129. ./src/Chrono.hxx: In member function ‘SongTime SongTime::operator+(const SongTime&) const’:
  130. ./src/Chrono.hxx:112: error: no matching function for call to ‘SongTime::SongTime(std::chrono::duration<unsigned int, std::ratio<1l, 1000l> >)’
  131. ./src/Chrono.hxx:45: note: candidates are: SongTime::SongTime()
  132. ./src/Chrono.hxx:40: note: SongTime::SongTime(const SongTime&)
  133. ./src/Chrono.hxx: In member function ‘SongTime SongTime::operator-(const SongTime&) const’:
  134. ./src/Chrono.hxx:116: error: no matching function for call to ‘SongTime::SongTime(std::chrono::duration<unsigned int, std::ratio<1l, 1000l> >)’
  135. ./src/Chrono.hxx:45: note: candidates are: SongTime::SongTime()
  136. ./src/Chrono.hxx:40: note: SongTime::SongTime(const SongTime&)
  137. ./src/Chrono.hxx: At global scope:
  138. ./src/Chrono.hxx:132: error: expected initializer before ‘SignedSongTime’
  139. ./src/Chrono.hxx:137: error: ‘constexpr’ does not name a type
  140. ./src/Chrono.hxx:139: error: ‘constexpr’ does not name a type
  141. ./src/Chrono.hxx:146: error: ‘constexpr’ does not name a type
  142. ./src/Chrono.hxx:150: error: ‘constexpr’ does not name a type
  143. ./src/Chrono.hxx:154: error: ‘constexpr’ does not name a type
  144. ./src/Chrono.hxx:158: error: ‘constexpr’ does not name a type
  145. ./src/Chrono.hxx:162: error: ‘constexpr’ does not name a type
  146. ./src/Chrono.hxx:166: error: ‘constexpr’ does not name a type
  147. ./src/Chrono.hxx:170: error: ‘constexpr’ does not name a type
  148. ./src/Chrono.hxx:174: error: ‘constexpr’ does not name a type
  149. ./src/Chrono.hxx:178: error: ‘constexpr’ does not name a type
  150. ./src/Chrono.hxx:183: error: expected constructor, destructor, or type conversion before ‘T’
  151. ./src/Chrono.hxx:195: error: expected initializer before ‘SignedSongTime’
  152. ./src/Chrono.hxx:199: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  153. ./src/Chrono.hxx:199: error: expected ‘;’ before ‘double’
  154. ./src/Chrono.hxx:203: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  155. ./src/Chrono.hxx:203: error: expected ‘;’ before ‘bool’
  156. ./src/Chrono.hxx:207: error: expected ‘;’ before ‘constexpr’
  157. ./src/Chrono.hxx:207: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  158. ./src/Chrono.hxx:207: error: expected ‘;’ before ‘bool’
  159. ./src/Chrono.hxx:211: error: expected ‘;’ before ‘constexpr’
  160. ./src/Chrono.hxx:211: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  161. ./src/Chrono.hxx:211: error: expected ‘;’ before ‘bool’
  162. ./src/Chrono.hxx:215: error: expected ‘;’ before ‘__attribute__’
  163. ./src/Chrono.hxx: In member function ‘SignedSongTime SignedSongTime::operator+(const SignedSongTime&) const’:
  164. ./src/Chrono.hxx:216: error: no matching function for call to ‘SignedSongTime::SignedSongTime(std::chrono::duration<int, std::ratio<1l, 1000l> >)’
  165. ./src/Chrono.hxx:129: note: candidates are: SignedSongTime::SignedSongTime()
  166. ./src/Chrono.hxx:124: note: SignedSongTime::SignedSongTime(const SignedSongTime&)
  167. ./src/Chrono.hxx: In member function ‘SignedSongTime SignedSongTime::operator-(const SignedSongTime&) const’:
  168. ./src/Chrono.hxx:220: error: no matching function for call to ‘SignedSongTime::SignedSongTime(std::chrono::duration<int, std::ratio<1l, 1000l> >)’
  169. ./src/Chrono.hxx:129: note: candidates are: SignedSongTime::SignedSongTime()
  170. ./src/Chrono.hxx:124: note: SignedSongTime::SignedSongTime(const SignedSongTime&)
  171. In file included from src/output/OutputAPI.hxx:28,
  172. from src/output/Registry.cxx:22:
  173. ./src/tag/Tag.hxx: At global scope:
  174. ./src/tag/Tag.hxx:144: error: ‘constexpr’ does not name a type
  175. ./src/tag/Tag.hxx:148: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  176. ./src/tag/Tag.hxx:148: error: expected ‘;’ before ‘const’
  177. ./src/tag/Tag.hxx:152: error: expected ‘;’ before ‘constexpr’
  178. ./src/tag/Tag.hxx:152: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  179. ./src/tag/Tag.hxx:152: error: expected ‘;’ before ‘const’
  180. ./src/tag/Tag.hxx:156: error: expected ‘;’ before ‘const_iterator’
  181. ./src/tag/Tag.hxx:176: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  182. ./src/tag/Tag.hxx:176: error: expected ‘;’ before ‘bool’
  183. ./src/tag/Tag.hxx:180: error: expected ‘;’ before ‘constexpr’
  184. ./src/tag/Tag.hxx:180: error: ISO C++ forbids declaration of ‘constexpr’ with no type
  185. ./src/tag/Tag.hxx:180: error: expected ‘;’ before ‘bool’
  186. ./src/tag/Tag.hxx:183: error: expected ‘;’ before ‘}’ token
  187. ./src/tag/Tag.hxx: In constructor ‘Tag::Tag()’:
  188. ./src/tag/Tag.hxx:59: error: ‘Negative’ is not a member of ‘SignedSongTime’
  189. ./src/tag/Tag.hxx:60: error: ‘nullptr’ was not declared in this scope
  190. ./src/tag/Tag.hxx: In constructor ‘Tag::Tag(Tag&&)’:
  191. ./src/tag/Tag.hxx:67: error: ‘nullptr’ was not declared in this scope
  192. ./src/tag/Tag.hxx: In member function ‘bool Tag::IsDefined() const’:
  193. ./src/tag/Tag.hxx:100: error: ‘const class SignedSongTime’ has no member named ‘IsNegative’
  194. ./src/tag/Tag.hxx: In member function ‘Tag::const_iterator Tag::const_iterator::operator++(int)’:
  195. ./src/tag/Tag.hxx:163: error: no matching function for call to ‘Tag::const_iterator::const_iterator(<brace-enclosed initializer list>)’
  196. ./src/tag/Tag.hxx:140: note: candidates are: Tag::const_iterator::const_iterator()
  197. ./src/tag/Tag.hxx:140: note: Tag::const_iterator::const_iterator(const Tag::const_iterator&)
  198. ./src/tag/Tag.hxx: In member function ‘Tag::const_iterator Tag::const_iterator::operator--(int)’:
  199. ./src/tag/Tag.hxx:173: error: no matching function for call to ‘Tag::const_iterator::const_iterator(<brace-enclosed initializer list>)’
  200. ./src/tag/Tag.hxx:140: note: candidates are: Tag::const_iterator::const_iterator()
  201. ./src/tag/Tag.hxx:140: note: Tag::const_iterator::const_iterator(const Tag::const_iterator&)
  202. ./src/tag/Tag.hxx: In member function ‘Tag::const_iterator Tag::begin() const’:
  203. ./src/tag/Tag.hxx:186: error: no matching function for call to ‘Tag::const_iterator::const_iterator(<brace-enclosed initializer list>)’
  204. ./src/tag/Tag.hxx:140: note: candidates are: Tag::const_iterator::const_iterator()
  205. ./src/tag/Tag.hxx:140: note: Tag::const_iterator::const_iterator(const Tag::const_iterator&)
  206. ./src/tag/Tag.hxx: In member function ‘Tag::const_iterator Tag::end() const’:
  207. ./src/tag/Tag.hxx:190: error: no matching function for call to ‘Tag::const_iterator::const_iterator(<brace-enclosed initializer list>)’
  208. ./src/tag/Tag.hxx:140: note: candidates are: Tag::const_iterator::const_iterator()
  209. ./src/tag/Tag.hxx:140: note: Tag::const_iterator::const_iterator(const Tag::const_iterator&)
  210. In file included from src/output/OutputAPI.hxx:29,
  211. from src/output/Registry.cxx:22:
  212. ./src/config/ConfigData.hxx: At global scope:
  213. ./src/config/ConfigData.hxx:109: error: ‘nullptr’ was not declared in this scope
  214. ./src/config/ConfigData.hxx: In constructor ‘config_param::config_param(int)’:
  215. ./src/config/ConfigData.hxx:78: error: ‘nullptr’ was not declared in this scope
  216. src/output/Registry.cxx: At global scope:
  217. src/output/Registry.cxx:93: error: ‘nullptr’ was not declared in this scope
  218. src/output/Registry.cxx: In function ‘const AudioOutputPlugin* AudioOutputPlugin_get(const char*)’:
  219. src/output/Registry.cxx:99: error: ‘nullptr’ was not declared in this scope
  220. src/output/Registry.cxx:103: error: ‘nullptr’ was not declared in this scope
  221. make[1]: *** [src/output/libmpd_a-Registry.o] Error 1
  222. make[1]: Leaving directory `/root/tmp/mpd-0.19.8'
  223. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement