volatility icon indicating copy to clipboard operation
volatility copied to clipboard

Fedora profile build error missing MODULE_LICENSE

Open mdenzel opened this issue 3 years ago • 5 comments

Hello,

if anyone else gets an error building a Fedora profile similar to this:

make: Entering directory /usr/src/kernels/5.14.18-200.fc34.x86_64
  CC [M] .../volatility/tools/linux/module.o
  MODPOST .../volatility/tools/linux/Module.symvers
ERROR: modpost: missing MODULE_LICENSE() in .../volatility/tools/linux/module.o
make[1]: *** [scripts/Makefile.modpost:150: .../volatility/tools/linux/Module.symvers] Error 1
...

The solution is simply to add MODULE_LICENSE("GPL"); as last line in volatility/tools/linux/module.c

Maybe this helps someone...

mdenzel avatar Nov 19 '21 20:11 mdenzel

Woah, thank you. I spent almost an hour trying to get this to work... Thanks a bunch!

tomioe avatar Nov 26 '21 17:11 tomioe

thank you @mdenzel. it work for me.

rajujnvgupta avatar Dec 25 '21 08:12 rajujnvgupta

Thank you so much for sharing this!

IlPreteRosso avatar Mar 10 '22 07:03 IlPreteRosso

Project still not updated for this error.

fahri314 avatar Aug 16 '22 21:08 fahri314

Thank you so much, it works for me.

UtopianFuture avatar Sep 26 '22 03:09 UtopianFuture