Discussion:
[gentoo-user] make[4]: *** No rule to make target
(too old to reply)
t***@sys-concept.com
2023-05-07 01:40:01 UTC
Permalink
Trying to compile "cifs" support in the kernel and getting an error during "make"

CALL scripts/checksyscalls.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-6.1.19-gentoo/tools/objtool/fixdep.o'. Stop.
make[3]: *** [Makefile:47: /usr/src/linux-6.1.19-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-6.1.19-gentoo/tools/build/Makefile.include:5: fixdep] Error 2
make[1]: *** [Makefile:73: objtool] Error 2
make: *** [Makefile:1442: tools/objtool] Error 2
--
Thelma
ralfconn
2023-05-07 10:30:01 UTC
Permalink
Post by t***@sys-concept.com
Trying to compile "cifs" support in the kernel and getting an error during "make"
  CALL    scripts/checksyscalls.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-6.1.19-gentoo/tools/objtool/fixdep.o'.  Stop.
/usr/src/linux-6.1.19-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: ***
[/usr/src/linux-6.1.19-gentoo/tools/build/Makefile.include:5: fixdep]
Error 2
make[1]: *** [Makefile:73: objtool] Error 2
make: *** [Makefile:1442: tools/objtool] Error 2
Did you update GCC recently? What do 'gcc-config -l' and ' gcc
--version' return in the terminal where you build the kernel?

Loading...