View previous topic :: View next topic |
Author |
Message |
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Tue Nov 21, 2017 2:00 pm Post subject: emerged gcc now i get an error when building kernel [solved] |
|
|
Peace, the error is pointing to the old gcc, i tried restarting after following the guide after installing gcc.
Code: | make -j3
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
DESCEND objtool
make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/stddef.h', needed by '/usr/src/linux-4.12.12-gentoo/tools/objtool/fixdep.o'. Stop.
make[3]: *** [Makefile:42: /usr/src/linux-4.12.12-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-4.12.12-gentoo/tools/build/Makefile.include:4: fixdep] Error 2
make[1]: *** [Makefile:61: objtool] Error 2
make: *** [Makefile:1640: tools/objtool] Error 2
make: *** Waiting for unfinished jobs....
CHK scripts/mod/devicetable-offsets.h |
what must I do? _________________ Seek and you shall find, Knock and it shall be opened, cry and you shall find comfort.
Last edited by Majed17 on Tue Nov 21, 2017 2:18 pm; edited 1 time in total |
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Tue Nov 21, 2017 2:18 pm Post subject: |
|
|
solved the problem, hope it helps someone. _________________ Seek and you shall find, Knock and it shall be opened, cry and you shall find comfort. |
|
Back to top |
|
|
f1tz Tux's lil' helper
Joined: 27 Aug 2020 Posts: 88
|
Posted: Fri Nov 13, 2020 2:24 pm Post subject: |
|
|
it just did, thanks a lot.
I had this error pop up after a typo "make && make modules_insta". make clean did the trick! |
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Thu Nov 19, 2020 1:57 pm Post subject: |
|
|
i'm so happy to read this after doing prison time _________________ Seek and you shall find, Knock and it shall be opened, cry and you shall find comfort. |
|
Back to top |
|
|
|