Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building Linux profile #62

Open
kawbin87 opened this issue Sep 21, 2018 · 1 comment
Open

Error when building Linux profile #62

kawbin87 opened this issue Sep 21, 2018 · 1 comment

Comments

@kawbin87
Copy link

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

@klockeph
Copy link

klockeph commented Nov 2, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants