LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2021, 04:19 AM   #1
vegetableChicken
LQ Newbie
 
Registered: Apr 2021
Posts: 1

Rep: Reputation: Disabled
"make mrproper" does not work: fs/aufs/Makefile:3: fs/aufs/magic.mk No such file or directory


The command runs at location :

/usr/src/linux-headers-5.4.0-26-generic

And the version of Linux is 5.8.0-50-generic



I am writing my first kernel module for school OS project and setting up the environment by the teacher's tutorial.

However, I am stuck at this step and do not know how to fix that. Can anyone help? Thank you so much!
 
Old 04-30-2021, 01:24 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
"make mrproper" deletes .config and all generated files. You do not have to do that for kernel headers. Follow the official module building instructions, not random tutorials you find on the web:

https://www.kernel.org/doc/html/v5.4...d/modules.html
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between make mrproper and make clean? hottdogg Slackware 5 03-11-2013 02:31 PM
automake, makefile, makefile.in and makefile.am Fond_of_Opensource Linux - Newbie 1 09-12-2006 08:35 PM
what is the meaning of Makefile,Makefile.am,Makefile.in cynthia_thomas Linux - General 3 12-08-2005 05:00 AM
Use of 'make mrproper' and 'make clean'.... fenice1976 Linux - Software 6 05-25-2004 05:18 PM
'make mrproper' - make bzImage options. liguorir Linux - Software 4 06-26-2003 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration