Android源码编译时遇到的问题:error:reference 'counts' cannot be declared 'mutable'
来源:互联网 发布:motion graphic软件 编辑:程序博客网 时间:2024/05/21 20:33
In file included from external/oprofile/libpp/arrange_profiles.cpp:24:0:
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
解决办法:
external/oprofile/libpp/format_output.h
把:
mutable counts_t & counts;
改为:
counts_t & counts;
external/oprofile/libpp/format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/liboprofile_pp_intermediates/arrange_profiles.o] Error 1
解决办法:
external/oprofile/libpp/format_output.h
把:
mutable counts_t & counts;
改为:
counts_t & counts;
- Android源码编译时遇到的问题:error:reference 'counts' cannot be declared 'mutable'
- andoid4.0编译 reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive]
- Android源码编译时,遇到的问题:error: "_FORTIFY_SOURCE" redefined [-Werror]
- Android 从 View 中获取 Activity 时遇到 TintContextWrapper cannot be cast to 的问题
- Android NDk 编译C++遇到的问题getifaddrs was not declared in this scope
- 编译android源码及遇到的问题
- 编译android源码遇到的问题
- 编译android源码遇到的问题
- 编译Android源码遇到的一个问题
- error: interface type cannot be statically allocated 学习object-c的时候遇到的小问题
- error C2894: templates cannot be declared to have 'C' linkage
- error C2894: templates cannot be declared to have 'C' linkage
- error C2894: templates cannot be declared to have 'C' linkage
- 安装tslib时遇到的问题error: call to ‘__open_missing_mode’ declared with attribute
- 编译caffe时遇到的undefined reference to的问题
- 编译cocos2dx遇到error:undefine reference to'dladdr'的解决办法
- CentOS遇到Qt编译问题(error: cannot find -lGL)
- Android Studio编译报错:sdk:minSdkVersion 1 cannot be smaller than version 7 declared in library
- 关于log4j的配置
- 大概是游戏方向
- 如何在AutoCAD中实现鼠标双击事件
- Android java.lang.NoClassDefFoundError:*报错的处理
- 32位Win7平台VS2010的directshow开发环境配置
- Android源码编译时遇到的问题:error:reference 'counts' cannot be declared 'mutable'
- 用程序写XML时注意
- 康托展开式
- linux编译与链接的知识
- POJ 2751 Saving Endeavour
- Java实现在控制台中输入字符
- POJ 3080 Blue Jeans
- glibc--could not find function realization--search head files
- oracle 备份与恢复 总结