deepin 2015RC版编译cm12.1莫名其妙出错
Tofloor
poster avatar
love-dcp
deepin
2015-12-28 04:43
Author
一直来都在用ubuntu来编译,看见深度界面不错,想体验一下,结果编译cm12.1莫名其妙的出错,需要说明的是同样的源码在ubuntu15.10下编译是没有任何问题的,配置环境都是一样的,所以只能认为是系统问题,错误提示如下:
  1. prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/bin/ld: error: ~/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/third_party/libvpx/source/libvpx/build/make/obj_int_extract.o: unsupported reloc 43 against global symbol stderr
  2. external/chromium_org/third_party/libvpx/source/libvpx/build/make/obj_int_extract.c:31: error: unsupported reloc 43
  3. external/chromium_org/third_party/libvpx/source/libvpx/build/make/obj_int_extract.c:787: error: unsupported reloc 43
  4. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  5. build/core/host_executable_internal.mk:31: recipe for target '~/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/libvpx_obj_int_extract' failed
  6. make: *** [~/cm12.1/out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/libvpx_obj_int_extract] Error 1
Copy the Code


Reply Favorite View the author
All Replies
Jinly
deepin
2015-12-28 07:22
#1
那啥,我记得官方推荐是在Ubuntu下编译才对。另外,2015是基于debian了,而非Ubuntu,可能有些区别的。
Reply View the author
oocool
deepin
2015-12-28 17:15
#2
不支持的部分可能正是ubuntu添加的部分
Reply View the author
monolith
deepin
2016-02-18 16:00
#3
1: sudo apt-get update binutils
2: apt-cache search linux-image
3: apt-get install linux-headers-4.3.0-1-amd64
4: apt-get install linux-image-4.3.0-1-amd64-dbg
5. apt-get install linux-image-4.3.0-1-amd64
6. Restart
Reply View the author
link_max
deepin
2017-07-19 05:34
#4
hi,你最后解决了吗?我也遇到了相同的问题
Reply View the author