volatilityfoundation / volatility

An advanced memory forensics framework
http://volatilityfoundation.org/
GNU General Public License v2.0
7.31k stars 1.28k forks source link

Problems to create a profile of Linux with Ubuntu 20.04 #844

Open JessyGothik opened 1 year ago

JessyGothik commented 1 year ago

I have the next problem:

make -C //lib/modules/5.15.0-60-generic/build CONFIG_DEBUG_INFO=y M="" modules make[1]: Entering directory '/usr/src/linux-headers-5.15.0-60-generic' SYNC include/config/auto.conf.cmd YACC scripts/kconfig/parser.tab.[ch] /bin/sh: 1: bison: not found make[3]: [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127 make[2]: [Makefile:622: syncconfig] Error 2 make[1]: [Makefile:742: include/config/auto.conf.cmd] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-60-generic' make: [Makefile:10: dwarf] Error 2

Can you help me, please?

I tried to test adding "MODULE_LICENSE("GPL");" in the last line, but, I still have the same problem.

miszr commented 1 year ago

Based on your output i would say: /bin/sh: 1: bison: not found is your problem. Your are likely missing a required package for building.