View previous topic :: View next topic |
Author |
Message |
equaeghe l33t
Joined: 22 Feb 2005 Posts: 637
|
Posted: Wed Mar 06, 2019 5:20 pm Post subject: [solved] kernel compile wants previous gcc |
|
|
I'm trying to recompile my kernel. However, there was a gcc update since the installation of the sources/previous compile. Now the build process aborts:
Code: | make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/stddef.h', needed by '/usr/src/linux-4.19.23-gentoo/tools/objtool/fixdep.o'. Stop.
make[3]: *** [Makefile:43: /usr/src/linux-4.19.23-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-4.19.23-gentoo/tools/build/Makefile.include:4: fixdep] Error 2
make[1]: *** [Makefile:63: objtool] Error 2
make: *** [Makefile:1647: tools/objtool] Error 2
|
I guess I need to update some configuration file. Can anyone tell me what to do? (I did the gcc-config change.)
Last edited by equaeghe on Wed Mar 06, 2019 8:00 pm; edited 1 time in total |
|
Back to top |
|
|
Tyler_Durden Apprentice
Joined: 27 Jul 2004 Posts: 189 Location: Germany
|
Posted: Wed Mar 06, 2019 5:56 pm Post subject: Re: kernel compile wants previous gcc |
|
|
equaeghe wrote: | I'm trying to recompile my kernel. However, there was a gcc update since the installation of the sources/previous compile. Now the build process aborts:
Code: | make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/stddef.h', needed by '/usr/src/linux-4.19.23-gentoo/tools/objtool/fixdep.o'. Stop.
make[3]: *** [Makefile:43: /usr/src/linux-4.19.23-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-4.19.23-gentoo/tools/build/Makefile.include:4: fixdep] Error 2
make[1]: *** [Makefile:63: objtool] Error 2
make: *** [Makefile:1647: tools/objtool] Error 2
|
I guess I need to update some configuration file. Can anyone tell me what to do? (I did the gcc-config change.) |
do a at first to remove all previous generated object files by the older gcc. _________________ Gentoo 17.1 x86_64
Intel Core i9-9900K
Asus MAXIMUS XI HERO
AMD Radeon 6800XT
64GB DDR4
Samsung SSD 970 EVO Plus 1TB
8x Seagate Archive (SATA-RAID 64TB)
Digital Devices Cine S2 V6.5 DVB Adapter |
|
Back to top |
|
|
equaeghe l33t
Joined: 22 Feb 2005 Posts: 637
|
Posted: Wed Mar 06, 2019 8:00 pm Post subject: Re: kernel compile wants previous gcc |
|
|
Tyler_Durden wrote: | do a at first to remove all previous generated object files by the older gcc. |
Thanks, obviously |
|
Back to top |
|
|
|