Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] kernel make leads to -> [mm/built-in.o] Error 1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
felixculpa
n00b
n00b


Joined: 11 Oct 2014
Posts: 12

PostPosted: Thu Nov 27, 2014 5:17 pm    Post subject: [SOLVED] kernel make leads to -> [mm/built-in.o] Error 1 Reply with quote

Hi all, trying to make the kernel and getting an odd error, output goes like so:

Code:
CHK    include/config/kernel.release
CHK    include/generated/uapi/linux/version.h
CHK    include/generated/utsrelease.h
CALL   scripts/checksyscalls.sh
CHK    include/generated/compile.sh
CHK    kernel/config_data.h
LD     mm/built-in.o
mm/madvise.o: file not recognized: File truncated
scripts/Makefile.build:336: recipe for target 'mm/built-in.o' failed
make[1]: *** [mm/built-in.o] Error 1
Makefile:901: recipe for target 'mm' failed
make: *** [mm] Error 2


This likely occured because the battery had died while I was trying to do the last compile, or perhaps I enabled an option that I shouldn't have?

Edit: quilosaq's suggestion fixed the problem. Thank you!


Last edited by felixculpa on Thu Nov 27, 2014 9:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
quilosaq
Veteran
Veteran


Joined: 22 Dec 2009
Posts: 1330

PostPosted: Thu Nov 27, 2014 5:27 pm    Post subject: Reply with quote

Hi!

Don't worry. Do
Code:
(root)# make clean
and try again the kernel build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum