Mailing List Archive

make[4]: *** No rule to make target
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
Re: make[4]: *** No rule to make target [ In reply to ]
On 5/7/23 03:29, thelma@sys-concept.com wrote:
> 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
>
Did you update GCC recently? What do 'gcc-config -l' and ' gcc
--version' return in the terminal where you build the kernel?