最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

linux編譯kernel和svn版本沖突的解決辦法

 更新時間:2020年05月11日 08:46:24   作者:dbtech  
這篇文章主要介紹了linux編譯kernel和svn版本沖突的解決辦法,文中通過示例代碼介紹的非常詳細,對大家學習或者使用linux系統(tǒng)具有一定的參考學習價值,需要的朋友們下面來一起學習學習吧

現(xiàn)象

系統(tǒng)本來可以正常編譯linux系統(tǒng)kernel,但在安裝svn后,kernel編譯出錯。

CHK   include/linux/version.h
 CHK   include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
 CALL  scripts/checksyscalls.sh
 CHK   include/generated/compile.h
gcc: directory: No such file or directory
gcc: directory": No such file or directory
<command-line>:0: warning: missing terminating " character
gcc: directory: No such file or directory
gcc: directory": No such file or directory
<command-line>:0: warning: missing terminating " character
gcc: directory: No such file or directory
gcc: directory": No such file or directory
<command-line>:0: warning: missing terminating " character
 CC   drivers/gpu/mali/mali/common/mali_kernel_core.o

arm-eabi-gcc: error: ": No such file or directory
make[4]: *** [drivers/gpu/mali/mali/common/mali_kernel_core.o] 錯誤 1
make[3]: *** [drivers/gpu/mali/mali] 錯誤 2
make[2]: *** [drivers/gpu/mali] 錯誤 2
make[1]: *** [drivers/gpu] 錯誤 2
make: *** [drivers] 錯誤 2
make: *** 正在等待未完成的任務....

原因分析

定位到 drivers/gpu/mali/ump/Makefile.common 和 drivers/gpu/mali/mali/Makefile 兩個文件中都有關于 SVN_REV:=xxxx 的語句,正常情況下 SVN_REV:= 為空,當檢查到svn版本后, SVN_REV:= 有了值,導致腳本中判斷走入錯誤分支。

解決方法

將兩個文件中的 SVN_REV 值都賦值為空 “” 即可。

drivers/gpu/mali/ump/Makefile.common:

 16 # Get subversion revision number, fall back to 0000 if no svn info is available
 17 #SVN_REV:=$(shell ((svnversion | grep -qv exported && echo -n 'Revision: ' && svnversion) || git svn info | sed -e 's/$$$$/M/' | grep     '^Revision: ' || echo ${MALI_RELEASE_NAME}) 2>/dev/null | sed -e 's/^Revision: //')
 19 SVN_REV:=""

drivers/gpu/mali/mali/Makefile:

117 #SVN_REV := $(shell (cd $(DRIVER_DIR); (svnversion | grep -qv exported && svnversion) || git svn info | grep '^Revision: '| sed -e 's/    ^Revision: //' ) 2>/dev/null )
119 SVN_REV := ""

總結

到此這篇關于linux編譯kernel和svn版本沖突解決的文章就介紹到這了,更多相關linux編譯kernel和svn版本沖突內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!

相關文章

最新評論

淮南市| 东乌| 文水县| 龙州县| 丰顺县| 曲沃县| 连州市| 和顺县| 满洲里市| 大理市| 昔阳县| 沛县| 遂平县| 广汉市| 安西县| 玛多县| 通州区| 万全县| 于田县| 桃园市| 中卫市| 银川市| 汶川县| 南宁市| 新丰县| 玛曲县| 聂荣县| 广汉市| 双鸭山市| 天镇县| 青神县| 普格县| 开化县| 故城县| 义马市| 沁源县| 定日县| 修武县| 华坪县| 霍州市| 潜山县|