반응형

[문제/에러]

/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[3]: *** [scripts/kconfig/parser.tab.h] Deleting file 'scripts/kconfig/parser.tab.c'
make[2]: *** [Makefile:630: syncconfig] Error 2
make[1]: *** [Makefile:750: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-78-generic'
make: *** [Makefile:9: default] Error 2

 

[원인]

/bin/sh 이라는 애(쉘)가 bison 패키지를 발견할 수 없어서 나오는 에러이다.

[해결방안]

아래의 명령어를 통해 bison 패키지를 설치한다.

sudo apt-get install bison

 

당신의 시간을 절약했으면 아래의 좋아요 부탁드립니다.

반응형