View previous topic :: View next topic |
Author |
Message |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1469 Location: Tri-Cities, WA USA
|
Posted: Mon Jan 02, 2023 3:38 pm Post subject: No rule to make target '/usr/lib/gcc/x86_64-pc help[slvd] |
|
|
I was updating my kernels on two different systems and I got this error:
Code: |
make && make modules_install
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/stddef.h', needed by '/usr/src/linux-5.15.80-gentoo/tools/objtool/fixdep.o'. Stop.
make[3]: *** [Makefile:47: /usr/src/linux-5.15.80-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-5.15.80-gentoo/tools/build/Makefile.include:5: fixdep] Error 2
make[1]: *** [Makefile:69: objtool] Error 2
make: *** [Makefile:1403: tools/objtool] Error 2
|
# gcc-config -l
[1] x86_64-pc-linux-gnu-11
uname -a
Linux yoda 5.15.80-gentoo #1 SMP Wed Nov 30 11:51:30 PST 2022 x86_64 Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz GenuineIntel GNU/Linux _________________ Without diversity there can be no evolution:)
Last edited by cwc on Mon Jan 02, 2023 7:07 pm; edited 1 time in total |
|
Back to top |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2949
|
Posted: Mon Jan 02, 2023 4:17 pm Post subject: |
|
|
Updating as in new version, or modifying it? I assume latter given your uname is same version. Try to make clean, seeing how it's looking for gcc-11.3.0 when we use 11.3.1 now, it's probably still configured to use old gcc and is confused.
Edit: These issues should be less likely in the future on minor versions given include path was changed from /11.3.x/ to /11/ too. |
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1469 Location: Tri-Cities, WA USA
|
Posted: Mon Jan 02, 2023 5:52 pm Post subject: |
|
|
I did the following after a make menuconfig setting:
[*] Diffie-Hellman operations on retained keys
<*> User-space interface for hash algorithms
make clean
make && make modules_install
So far all is better .
Thank you Ionen {that is an epic username} _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
sinanqapudan Apprentice


Joined: 26 Oct 2004 Posts: 235 Location: Milan
|
Posted: Mon Jan 16, 2023 5:15 pm Post subject: |
|
|
Precisely same issue here and same solution as well. In my case changes were required by net-wireless/bluez
cwc wrote: | I did the following after a make menuconfig setting:
[*] Diffie-Hellman operations on retained keys
<*> User-space interface for hash algorithms
make clean
make && make modules_install
So far all is better .
Thank you Ionen {that is an epic username} |
|
|
Back to top |
|
 |
Lumpy Gravy n00b

Joined: 28 Dec 2016 Posts: 45 Location: France
|
Posted: Mon Jan 16, 2023 6:14 pm Post subject: |
|
|
Same thing here. make clean did the trick !
Thanks! |
|
Back to top |
|
 |
|