Phenomenon The system could compile the Linux system kernel normally, but after installing SVN, the kernel compilation failed. 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] Error 1 make[3]: *** [drivers/gpu/mali/mali] Error 2 make[2]: *** [drivers/gpu/mali] Error 2 make[1]: *** [drivers/gpu] Error 2 make: *** [drivers] Error 2 make: *** Waiting for unfinished tasks.... Cause Analysis We found that there are statements about SVN_REV:=xxxx in drivers/gpu/mali/ump/Makefile.common and drivers/gpu/mali/mali/Makefile. Under normal circumstances, SVN_REV:= is empty. When the SVN version is checked, SVN_REV:= has a value, which causes the script to go into the wrong branch. Workaround Just assign the SVN_REV value in both files to empty "". 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 := "" Summarize This is the end of this article about resolving conflicts between Linux kernel and SVN versions. For more information about resolving conflicts between Linux kernel and SVN versions, please search previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: MySQL 8.0.18 deployment and installation tutorial under Windows 7
>>: Vue development tree structure components (component recursion)
Let's make a simple 3D Rubik's Cube today...
Preface Components are something we use very ofte...
1. What is master-slave replication? Master-slave...
1. Use of alias The alias command is used to set ...
Table of contents Preface 1. Current gcc version ...
Concept introduction : 1. px (pixel): It is a vir...
This article describes how to use Docker's mu...
Table of contents A murder caused by ERR 1067 The...
1: Download MySql Official website download addre...
Table of contents 1. Array deduplication 2. Dedup...
1. Find duplicate rows SELECT * FROM blog_user_re...
<br />Once, Foyin and Mr. Dongpo were chatti...
When key is not added to the v-for tag. <!DOCT...
Table of contents What is the Picker component Pr...
1. Introduction A few days ago, a development col...