Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.31 KB | None | 0 0
  1. target thumb C++: camera-wrapper.msm8974 <= device/oppo/msm8974-common/camerawrapper/CameraWrapper.cpp
  2. Import includes file: /home/samstone/android/lollipop/out/target/product/find7op/obj/SHARED_LIBRARIES/copybit.msm8974_intermediates/import_includes
  3. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3197:1: error: too many initializers for 'const android_audio_legacy::AudioPolicyManagerBase::VolumeCurvePoint* [10][3]'
  4. };
  5. ^
  6. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3917:20: error: 'AUDIO_DEVICE_OUT_PROXY' was not declared in this scope
  7. STRING_TO_ENUM(AUDIO_DEVICE_OUT_PROXY),
  8. ^
  9. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  10. #define STRING_TO_ENUM(string) { #string, string }
  11. ^
  12. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3924:20: error: 'AUDIO_DEVICE_IN_FM_RX' was not declared in this scope
  13. STRING_TO_ENUM(AUDIO_DEVICE_IN_FM_RX),
  14. ^
  15. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  16. #define STRING_TO_ENUM(string) { #string, string }
  17. ^
  18. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3925:20: error: 'AUDIO_DEVICE_IN_FM_RX_A2DP' was not declared in this scope
  19. STRING_TO_ENUM(AUDIO_DEVICE_IN_FM_RX_A2DP),
  20. ^
  21. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  22. #define STRING_TO_ENUM(string) { #string, string }
  23. ^
  24. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3937:20: error: 'AUDIO_DEVICE_IN_PROXY' was not declared in this scope
  25. STRING_TO_ENUM(AUDIO_DEVICE_IN_PROXY),
  26. ^
  27. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  28. #define STRING_TO_ENUM(string) { #string, string }
  29. ^
  30. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3950:20: error: 'AUDIO_OUTPUT_FLAG_VOIP_RX' was not declared in this scope
  31. STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_VOIP_RX),
  32. ^
  33. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  34. #define STRING_TO_ENUM(string) { #string, string }
  35. ^
  36. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3951:20: error: 'AUDIO_OUTPUT_FLAG_LPA' was not declared in this scope
  37. STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_LPA),
  38. ^
  39. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  40. #define STRING_TO_ENUM(string) { #string, string }
  41. ^
  42. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3952:20: error: 'AUDIO_OUTPUT_FLAG_TUNNEL' was not declared in this scope
  43. STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_TUNNEL),
  44. ^
  45. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  46. #define STRING_TO_ENUM(string) { #string, string }
  47. ^
  48. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3953:20: error: 'AUDIO_OUTPUT_FLAG_INCALL_MUSIC' was not declared in this scope
  49. STRING_TO_ENUM(AUDIO_OUTPUT_FLAG_INCALL_MUSIC),
  50. ^
  51. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  52. #define STRING_TO_ENUM(string) { #string, string }
  53. ^
  54. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3973:20: error: 'AUDIO_FORMAT_DTS' was not declared in this scope
  55. STRING_TO_ENUM(AUDIO_FORMAT_DTS),
  56. ^
  57. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  58. #define STRING_TO_ENUM(string) { #string, string }
  59. ^
  60. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3974:20: error: 'AUDIO_FORMAT_DTS_LBR' was not declared in this scope
  61. STRING_TO_ENUM(AUDIO_FORMAT_DTS_LBR),
  62. ^
  63. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  64. #define STRING_TO_ENUM(string) { #string, string }
  65. ^
  66. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3975:20: error: 'AUDIO_FORMAT_WMA' was not declared in this scope
  67. STRING_TO_ENUM(AUDIO_FORMAT_WMA),
  68. ^
  69. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  70. #define STRING_TO_ENUM(string) { #string, string }
  71. ^
  72. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3976:20: error: 'AUDIO_FORMAT_WMA_PRO' was not declared in this scope
  73. STRING_TO_ENUM(AUDIO_FORMAT_WMA_PRO),
  74. ^
  75. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  76. #define STRING_TO_ENUM(string) { #string, string }
  77. ^
  78. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3977:20: error: 'AUDIO_FORMAT_AAC_ADIF' was not declared in this scope
  79. STRING_TO_ENUM(AUDIO_FORMAT_AAC_ADIF),
  80. ^
  81. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  82. #define STRING_TO_ENUM(string) { #string, string }
  83. ^
  84. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3980:20: error: 'AUDIO_FORMAT_AMR_WB_PLUS' was not declared in this scope
  85. STRING_TO_ENUM(AUDIO_FORMAT_AMR_WB_PLUS),
  86. ^
  87. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  88. #define STRING_TO_ENUM(string) { #string, string }
  89. ^
  90. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3981:20: error: 'AUDIO_FORMAT_EVRC' was not declared in this scope
  91. STRING_TO_ENUM(AUDIO_FORMAT_EVRC),
  92. ^
  93. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  94. #define STRING_TO_ENUM(string) { #string, string }
  95. ^
  96. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3982:20: error: 'AUDIO_FORMAT_EVRCB' was not declared in this scope
  97. STRING_TO_ENUM(AUDIO_FORMAT_EVRCB),
  98. ^
  99. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  100. #define STRING_TO_ENUM(string) { #string, string }
  101. ^
  102. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3983:20: error: 'AUDIO_FORMAT_EVRCWB' was not declared in this scope
  103. STRING_TO_ENUM(AUDIO_FORMAT_EVRCWB),
  104. ^
  105. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  106. #define STRING_TO_ENUM(string) { #string, string }
  107. ^
  108. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3984:20: error: 'AUDIO_FORMAT_QCELP' was not declared in this scope
  109. STRING_TO_ENUM(AUDIO_FORMAT_QCELP),
  110. ^
  111. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  112. #define STRING_TO_ENUM(string) { #string, string }
  113. ^
  114. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3985:20: error: 'AUDIO_FORMAT_MP2' was not declared in this scope
  115. STRING_TO_ENUM(AUDIO_FORMAT_MP2),
  116. ^
  117. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  118. #define STRING_TO_ENUM(string) { #string, string }
  119. ^
  120. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3986:20: error: 'AUDIO_FORMAT_EVRCNW' was not declared in this scope
  121. STRING_TO_ENUM(AUDIO_FORMAT_EVRCNW),
  122. ^
  123. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  124. #define STRING_TO_ENUM(string) { #string, string }
  125. ^
  126. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3987:20: error: 'AUDIO_FORMAT_PCM_16_BIT_OFFLOAD' was not declared in this scope
  127. STRING_TO_ENUM(AUDIO_FORMAT_PCM_16_BIT_OFFLOAD),
  128. ^
  129. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  130. #define STRING_TO_ENUM(string) { #string, string }
  131. ^
  132. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3988:20: error: 'AUDIO_FORMAT_PCM_24_BIT_OFFLOAD' was not declared in this scope
  133. STRING_TO_ENUM(AUDIO_FORMAT_PCM_24_BIT_OFFLOAD),
  134. ^
  135. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  136. #define STRING_TO_ENUM(string) { #string, string }
  137. ^
  138. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3996:20: error: 'AUDIO_CHANNEL_OUT_2POINT1' was not declared in this scope
  139. STRING_TO_ENUM(AUDIO_CHANNEL_OUT_2POINT1),
  140. ^
  141. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  142. #define STRING_TO_ENUM(string) { #string, string }
  143. ^
  144. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3998:20: error: 'AUDIO_CHANNEL_OUT_SURROUND' was not declared in this scope
  145. STRING_TO_ENUM(AUDIO_CHANNEL_OUT_SURROUND),
  146. ^
  147. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  148. #define STRING_TO_ENUM(string) { #string, string }
  149. ^
  150. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3999:20: error: 'AUDIO_CHANNEL_OUT_PENTA' was not declared in this scope
  151. STRING_TO_ENUM(AUDIO_CHANNEL_OUT_PENTA),
  152. ^
  153. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  154. #define STRING_TO_ENUM(string) { #string, string }
  155. ^
  156. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:4003:20: error: 'AUDIO_CHANNEL_OUT_6POINT1' was not declared in this scope
  157. STRING_TO_ENUM(AUDIO_CHANNEL_OUT_6POINT1),
  158. ^
  159. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  160. #define STRING_TO_ENUM(string) { #string, string }
  161. ^
  162. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:4013:20: error: 'AUDIO_CHANNEL_IN_5POINT1' was not declared in this scope
  163. STRING_TO_ENUM(AUDIO_CHANNEL_IN_5POINT1),
  164. ^
  165. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  166. #define STRING_TO_ENUM(string) { #string, string }
  167. ^
  168. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:4014:20: error: 'AUDIO_CHANNEL_IN_VOICE_CALL_MONO' was not declared in this scope
  169. STRING_TO_ENUM(AUDIO_CHANNEL_IN_VOICE_CALL_MONO),
  170. ^
  171. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  172. #define STRING_TO_ENUM(string) { #string, string }
  173. ^
  174. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:4015:20: error: 'AUDIO_CHANNEL_IN_VOICE_DNLINK_MONO' was not declared in this scope
  175. STRING_TO_ENUM(AUDIO_CHANNEL_IN_VOICE_DNLINK_MONO),
  176. ^
  177. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  178. #define STRING_TO_ENUM(string) { #string, string }
  179. ^
  180. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:4016:20: error: 'AUDIO_CHANNEL_IN_VOICE_UPLINK_MONO' was not declared in this scope
  181. STRING_TO_ENUM(AUDIO_CHANNEL_IN_VOICE_UPLINK_MONO),
  182. ^
  183. hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:3900:43: note: in definition of macro 'STRING_TO_ENUM'
  184. #define STRING_TO_ENUM(string) { #string, string }
  185. ^
  186. build/core/binary.mk:618: recipe for target '/home/samstone/android/lollipop/out/target/product/find7op/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o' failed
  187. make: *** [/home/samstone/android/lollipop/out/target/product/find7op/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Error 1
  188. make: *** Waiting for unfinished jobs....
  189. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In member function 'virtual android::status_t android_audio_legacy::AudioPolicyManager::setDeviceConnectionState(audio_devices_t, android_audio_legacy::AudioSystem::device_connection_state, const char*)':
  190. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:200:27: error: 'AUDIO_DEVICE_OUT_PROXY' was not declared in this scope
  191. device == AUDIO_DEVICE_OUT_PROXY &&
  192. ^
  193. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In member function 'virtual void android_audio_legacy::AudioPolicyManager::setForceUse(android_audio_legacy::AudioSystem::force_use, android_audio_legacy::AudioSystem::forced_config)':
  194. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:462:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  195. for (int i = 0; i < mOutputs.size(); i++) {
  196. ^
  197. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In member function 'virtual audio_devices_t android_audio_legacy::AudioPolicyManager::getDeviceForStrategy(android_audio_legacy::AudioPolicyManagerBase::routing_strategy, bool)':
  198. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:810:53: error: 'AUDIO_DEVICE_OUT_PROXY' was not declared in this scope
  199. device2 = mAvailableOutputDevices & AUDIO_DEVICE_OUT_PROXY;
  200. ^
  201. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In static member function 'static android_audio_legacy::AudioPolicyManagerBase::device_category android_audio_legacy::AudioPolicyManager::getDeviceCategory(audio_devices_t)':
  202. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:921:14: error: 'AUDIO_DEVICE_OUT_PROXY' was not declared in this scope
  203. case AUDIO_DEVICE_OUT_PROXY:
  204. ^
  205. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In member function 'virtual float android_audio_legacy::AudioPolicyManager::computeVolume(int, int, audio_io_handle_t, audio_devices_t)':
  206. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:1031:20: error: 'AUDIO_DEVICE_OUT_PROXY' was not declared in this scope
  207. device == AUDIO_DEVICE_OUT_PROXY ||
  208. ^
  209. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp: In member function 'virtual bool android_audio_legacy::AudioPolicyManager::isOffloadSupported(const audio_offload_info_t&)':
  210. hardware/qcom/audio-caf-bfam/policy_hal/AudioPolicyManager.cpp:1072:48: error: 'audio_is_offload_pcm' was not declared in this scope
  211. if (audio_is_offload_pcm(offloadInfo.format)) {
  212. ^
  213. build/core/binary.mk:618: recipe for target '/home/samstone/android/lollipop/out/target/product/find7op/obj/SHARED_LIBRARIES/audio_policy.msm8974_intermediates/AudioPolicyManager.o' failed
  214. make: *** [/home/samstone/android/lollipop/out/target/product/find7op/obj/SHARED_LIBRARIES/audio_policy.msm8974_intermediates/AudioPolicyManager.o] Error 1
  215. device/oppo/msm8974-common/camerawrapper/CameraWrapper.cpp:102:15: warning: unused parameter 'id' [-Wunused-parameter]
  216. static char * camera_fixup_getparams(int id, const char * settings)
  217. ^
  218. device/oppo/msm8974-common/camerawrapper/CameraWrapper.cpp:113:8: warning: unused parameter 'id' [-Wunused-parameter]
  219. char * camera_fixup_setparams(int id, const char * settings)
  220. ^
  221. device/oppo/msm8974-common/camerawrapper/CameraWrapper.cpp: In function 'int camera_device_open(const hw_module_t*, const char*, hw_device_t**)':
  222. device/oppo/msm8974-common/camerawrapper/CameraWrapper.cpp:508:134: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  223. if(rv = gVendorModule->common.methods->open((const hw_module_t*)gVendorModule, name, (hw_device_t**)&(camera_device->vendor)))
  224. ^
  225. make: *** wait: No child processes. Stop.
  226.  
  227. real 22m55.818s
  228. user 57m51.639s
  229. sys 29m24.749s
  230. samstone@omnirombuild:~/android/lollipop$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement