Compile and download the linux-source-2.6.32 kernel source code, the following error can not continue:
ld: can not find /ubuntu/omnibook/sections.lds: No such file or directory
Cause and Solution:
This is because a directory in the makefile gets an error and can be fixed. The specific solution is as follows.
Edit File
/usr/src/linux-source-2.6.32/ubuntu/omnibook/Makefile
Find:
ifeq ($( KERNELRELEASE),)# Support for direct Makefile invocation
Add a line in front of it:
PWD=$(shell pwd)
You can also refer to the following steps (principle Same):
$pwd/usr/src/mylinux-source-2.6.38$sudo vim +160 ubuntu/omnibook/Makefile
After opening the Makefile, look for the following statement:
160 #EXTRA_LDFLAGS += $(src)/sections.lds161 EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
Modification Method 1:
160 # EXTRA_LDFLAGS += $(src)/sections.lds161 PWD = $(shell pwd) 162 EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
Modification Method 2:
160 EXTRA_LDFLAGS += $(src)/sections.lds161 #EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
IAP, the full name is In-Application Programming, Chinese is interpreted as Programming in the prog
Computer Store News Microsoft released Windows8 RTM for PC OEMs and manufacturer partners on August
According to the US technology blog TNW, the well-known Linux vendor Canonical today released and de
win7 There are a lot of tricks, if used well, can make the win7 system get no small optimization. No
Linux system mount point and partition relationship
Introduction to several important Linux system kernel files
Linux shutdown restart process analysis
Linux environment programming - editor basic operations
Select/poll/epoll comparison analysis
ADSL dial-up and dynamic domain name use under Debian Linux
Sudo cd and sudo ll command error solution
10 useful Linux command interview questions and answers
Linux shell flow control (condition if, loop [for, while], select [case] statement instance
Microsoft improves the Win10 home features to make it safer for children to use the computer
Win10 built-in application installation failure error 0x80073cff solution
Win8.1 Tip: SecureBoot is not set correctly solution
Reinstalling Win7 system, "Windows installation can not continue" solution
Win32k.sys blue screen repair how to do win32k.sys blue screen solution
Win10 latest preview version update after the slow start of four solutions
How to use phpmyadmin to set the permissions of the mysql database user
Win8 system super button "search" function use
What should I do if the dll dynamic link library error occurs in the windows system?