View previous topic :: View next topic |
Author |
Message |
Ewua n00b
Joined: 10 Jul 2022 Posts: 4
|
Posted: Sun Jul 10, 2022 1:55 pm Post subject: Can’t compile new kernel |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Sun Jul 10, 2022 2:28 pm Post subject: |
|
|
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 |
|
|
Ewua n00b
Joined: 10 Jul 2022 Posts: 4
|
Posted: Sun Jul 10, 2022 4:44 pm Post subject: |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3948
|
Posted: Sun Jul 10, 2022 4:51 pm Post subject: |
|
|
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
for that. _________________
|
|
Back to top |
|
|
|