错误1:=====================================================================================================target thumb C++: gralloc.stuttgart <= hardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpphardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp: In function 'int framebuffer_device_open(const hw_module_t*, char const*, hw_device_t**)':hardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:42:21: note: 'framebuffer_device_t::flags' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:49:21: note: 'framebuffer_device_t::width' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:50:21: note: 'framebuffer_device_t::height' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:57:21: note: 'framebuffer_device_t::stride' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:61:21: note: 'framebuffer_device_t::format' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:68:21: note: 'framebuffer_device_t::xdpi' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:69:21: note: 'framebuffer_device_t::ydpi' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:73:21: note: 'framebuffer_device_t::fps' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:76:21: note: 'framebuffer_device_t::minSwapInterval' should be initializedhardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp:432:37: error: uninitialized const member in 'framebuffer_device_t {aka struct framebuffer_device_t}' using 'new' without new-initializer [-fpermissive]hardware/libhardware/include/hardware/fb.h:79:21: note: 'framebuffer_device_t::maxSwapInterval' should be initializedmake: *** [/media/scue/Source/JellyBean/out/target/product/stuttgart/obj/SHARED_LIBRARIES/gralloc.stuttgart_intermediates/framebuffer_device.o] Error 1make: *** Waiting for unfinished jobs....scue@Link:/media/scue/Source/JellyBean$ 解决:自从gcc编译器更新至4.6之后出现的;      把haware_samsung代码切换至jellybean-stable分支;      或者手动修改hardware/samsung/exynos4/hal/libgralloc_ump/framebuffer_device.cpp此文件;错误2:=====================================================================================================target thumb C++: libhdmiclient <= hardware/samsung/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cppIn file included from hardware/samsung/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cpp:27:0:hardware/samsung/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h:37:45: fatal error: surfaceflinger/ISurfaceComposer.h: No such file or directorycompilation terminated.make: *** [/media/scue/Source/JellyBean/out/target/product/stuttgart/obj/SHARED_LIBRARIES/libhdmiclient_intermediates/SecHdmiClient.o] Error 1make: *** Waiting for unfinished jobs....hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::info' [-Wmissing-field-initializers]hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::finfo' [-Wmissing-field-initializers]hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::xdpi' [-Wmissing-field-initializers]hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::ydpi' [-Wmissing-field-initializers]hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::fps' [-Wmissing-field-initializers]hardware/samsung/exynos4/hal/libgralloc_ump/gralloc_module.cpp:480:1: warning: missing initializer for member 'private_module_t::enableVSync' [-Wmissing-field-initializers]解决:不知道哪个版本开始,不再使用surfaceflinger/ISurfaceComposer.h,而使用gui/ISurfaceComposer.h;       找到hardware/samsung/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h,把surfaceflinger修改为gui;错误3:=====================================================================================================提示"DEV_NAME"第一次使用(error: 'DEV_NAME' undeclared)。解决:多是DDC(直接数据控制)没有设置好导致的;      在device/lenovo/sttutgart/BoardConfig.mk中,添加:      BOARD_HDMI_DDC_CH := DDC_CH_I2C_7

测试机型:联想K860

更多相关文章

  1. Android中将Activity转换成View使用.
  2. 解决android 4.0 EditText无框的烦恼
  3. Android中PopupWindow的使用
  4. android滑动删除的一个开源项目SwipeDelMenuLayout的简单使用
  5. Android中一直走马灯效果的TextView
  6. mybatisplus的坑 insert标签insert into select无参数问题的解决
  7. 箭头函数的基础使用
  8. NPM 和webpack 的基础使用
  9. Python list sort方法的具体使用

随机推荐

  1. 【设计模式与Android】迭代器模式——容
  2. Android(安卓)App驱动Arduino通过蓝牙控
  3. android中常见的内存溢出和解决办法
  4. [置顶] android下调试声卡驱动之wm8960介
  5. 阿里云消息队列MQTT踩坑之路(阿里云MQTT A
  6. Android仿考拉全局滑动返回及联动效果的
  7. Android高仿IOS和QQ的弹出对话框
  8. BroadcastReceiver与Notification的综合
  9. Android(安卓)OpenGLES2.0(十七)——球形天
  10. Android相机、相册获取图片,解决相机拍照