Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can’t compile new kernel
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
Ewua
n00b
n00b


Joined: 10 Jul 2022
Posts: 4

PostPosted: Sun Jul 10, 2022 1:55 pm    Post subject: Can’t compile new kernel Reply with quote

Hi,

Tried to compile a modified version of the kernel today, but got hit with this error message?

Code:

[usr/src/linux # make & make modules_install make[1]: No rule to make target 'arch/6/entry/syscalls/syscall 32.tbl', needed by 'arch/x86/include/generated/uapi/asm/unistd 32.h'. Stop. ke: [arch/6/Makefile:217: archheaders] Error 2]



Anyone know y?

Regards
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Sun Jul 10, 2022 2:28 pm    Post subject: Reply with quote

What is the output of
Code:

ls -ld /usr/src/linux
ls /usr/src/linux/.config

How did you install this particular kernel?
Quote:

Tried to compile a modified version of the kernel today

Modified how?
_________________
:)
Back to top
View user's profile Send private message
Ewua
n00b
n00b


Joined: 10 Jul 2022
Posts: 4

PostPosted: Sun Jul 10, 2022 4:44 pm    Post subject: Reply with quote

alamahant wrote:
What is the output of
Code:

ls -ld /usr/src/linux
ls /usr/src/linux/.config

How did you install this particular kernel?
Quote:

Tried to compile a modified version of the kernel today

Modified how?


I modified some settings like removed intel components because i got a all amd system, you know that kind of stuff.

And here is the output you asked for:
Code:
(User) /usr/src/linux #whoami
root

(User) /usr/src/linux # ls -ld /usr/src/linux
Irwrworx 1 root root 25 Jul 9 15:29 /usr/src/linux -> linux-5.15.52-gentoo-dis

(User) /usr/src/linux # ls /usr/src/linux/.config
/usr/src/linux/.config

[/code]
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3948

PostPosted: Sun Jul 10, 2022 4:51 pm    Post subject: Reply with quote

Quote:

/usr/src/linux -> linux-5.15.52-gentoo-dis

Did you mean
Code:

/usr/src/linux -> linux-5.15.52-gentoo-dist

?
This is probably a precompiled kernel.
Plz see
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
You can not build a precompiled kernel.
You need
Code:

gentoo-sources

for that.
_________________
:)
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