volatilityfoundation / profiles

Volatility profiles for Linux and Mac OS X

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when building Linux profile

kawbin87 opened this issue · comments

Hi All,

I have been trying hard to create a Linux profile but I ran into error when I build it.
The machine I want to analyze is a Red Hat Enterprise Linux Server release 6.10 (Oracle Linux Server release 6.10)

Below is the error msg:

root@:~/volatility/tools/linux# make -C /lib/modules/4.1.12-112.14.15.el6uek.x86_64/build CONFIG_DEBUG_INFO=y M=$PWD modules
make: Entering directory '/usr/src/4.1.12-112.14.15.el6uek.x86_64'
arch/x86/Makefile:114: stack-protector enabled but compiler support broken
Makefile:658: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
CC [M] /root/volatility/tools/linux/module.o
cc1: error: code model kernel does not support PIC mode
make[1]: *** [scripts/Makefile.build:265: /root/volatility/tools/linux/module.o] Error 1
make: *** [Makefile:1430: module/root/volatility/tools/linux] Error 2
make: Leaving directory '/usr/src/4.1.12-112.14.15.el6uek.x86_64'

Thank you

I'd say you're using a version of gcc which is too old and thus can't build the kernel or kernel modules.

It's just a guess though.