[so2] [Tema 0] Eroare la make build
Daniel Baluta
daniel.baluta at gmail.com
Wed Mar 13 16:45:18 EET 2019
On Wed, Mar 13, 2019 at 1:51 PM Alexandru-Daniel Pintilie via so2
<so2 at cursuri.cs.pub.ro> wrote:
>
> Salut,
>
> Atunci cand rulez comanda make build intampin urmatoarea problema:
>
> echo "# autogenerated, do not edit " > skels/Kbuild
> echo "ccflags-y += -Wno-unused-function -Wno-unused-label -Wno-unused-variable " >> skels/Kbuild
> for i in ./assignments/0-list; do echo "obj-m += $i/" >> skels/Kbuild; done
> dirname: missing operand
> Try 'dirname --help' for more information.
> make -C /home/ranyel/SO2/linux M=/home/ranyel/SO2/linux/tools/labs/skels ARCH=x86 modules
> make[1]: Entering directory '/home/ranyel/SO2/linux'
>
> ERROR: Kernel configuration is invalid.
> include/generated/autoconf.h or include/config/auto.conf are missing.
> Run 'make oldconfig && make prepare' on kernel src to fix it.
>
> Makefile:595: include/config/auto.conf: No such file or directory
> make[1]: *** [Makefile:643: include/config/auto.conf] Error 1
> make[1]: Leaving directory '/home/ranyel/SO2/linux'
> make: *** [Makefile:20: build] Error 2
>
> Am rulat make oldconfig && make prepare dupa care au inceput sa apara foarte multe mesaje cu interactiune utilizator si am renuntat dupa cateva zeci de astfel de mesaje.
Comand asta ai dat-o in radacina surselor de kernel da?
Cel mai simplu incearca sa rulezi pe un tree de kernel curat.
git fetch master
git reset --hard origin/master
More information about the so2
mailing list