[prev in list] [next in list] [prev in thread] [next in thread]
List: vol-users
Subject: [Vol-users] Create a profile for Android
From: tadbauer () outlook ! com (Tad Bauer)
Date: 2012-10-24 14:47:56
Message-ID: COL002-W92A1462F434E0B3A6BF6DDCC7F0 () phx ! gbl
[Download RAW message or body]
Hello,
Thanks for your advice.
I resolved a issue because removed pmem from makfile.
Tad
Date: Tue, 23 Oct 2012 23:08:17 -0500
Subject: Re: [Vol-users] Create a profile for Android
From: atcuno@gmail.com
To: tadbauer@outlook.com
CC: vol-users@volatilesystems.com
Hello,
It seems like you snipped the error part of the build message and only included the \
warnings :)
It looks like pmem is the issue, but that module.o built. I would recommend taking \
any references to pmem out of the makefile and just building module since that is all \
you need to build a profile. Write back with what happens if you remove pmem from the \
makefile.
On Tue, Oct 23, 2012 at 7:23 PM, Tad Bauer <tadbauer@outlook.com> wrote:
Hello All,
I'm trying to create a profile for Android.
First, I changed Makefile, and then executed make command.
but, make command was failed.
So, Could someone check the Makefile ?
error message
---
ubuntu:~/volatility-2.2/tools/linux$ make
make ARCH=arm CROSS_COMPILE=~/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- \
EXTRA_CFLAGS=-fno-pic -C ~/goldfish CONFIG_DEBUG_INFO=y \
M=/home/td/volatility-2.2/tools/linux modules
make[1]: Entering directory `/home/td/goldfish'
CC [M] /home/td/volatility-2.2/tools/linux/module.o
/home/td/volatility-2.2/tools/linux/module.c:212:5: warning: "STATS" is not defined
/home/td/volatility-2.2/tools/linux/module.c:228:5: warning: "DEBUG" is not defined
CC [M] /home/td/volatility-2.2/tools/linux/pmem.o
In file included from /home/td/volatility-2.2/tools/linux/pmem.c:51:
/home/td/goldfish/arch/arm/include/asm/mmzone.h:21:1: warning: "NODE_DATA" redefined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
<snip>
/home/td/volatility-2.2/tools/linux/pmem.c: In function 'pmem_read_partial':
/home/td/volatility-2.2/tools/linux/pmem.c:142: warning: comparison of distinct \
pointer types lacks a cast
make[2]: *** [/home/td/volatility-2.2/tools/linux/pmem.o] Error 1
make[1]: *** [_module_/home/td/volatility-2.2/tools/linux] Error 2
make[1]: Leaving directory `/home/td/goldfish'
make: *** [dwarf] Error 2
---
Makefile
---
obj-m += module.o
obj-m += pmem.o
KDIR := ~/goldfish
CCPATH := ~/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
-include version.mk
all: dwarf pmem
pmem: pmem.c
$(MAKE) ARCH=arm CROSS_COMPILE=$(CCPATH)/arm-linux-androideabi- \
EXTRA_CFLAGS=-fno-pic -C $(KDIR) M=$(PWD) modules
dwarf: module.c
$(MAKE) ARCH=arm CROSS_COMPILE=$(CCPATH)/arm-linux-androideabi- \
EXTRA_CFLAGS=-fno-pic -C $(KDIR) CONFIG_DEBUG_INFO=y M=$(PWD) modules
dwarfdump -di module.ko > module.dwarf
$(MAKE) ARCH=arm CROSS_COMPILE=$(CCPATH)/arm-linux-androideabi- \
EXTRA_CFLAGS=-fno-pic -C $(KDIR) M=$(PWD) clean
clean:
$(MAKE) ARCH=arm CROSS_COMPILE=$(CCPATH)/arm-linux-androideabi- \
EXTRA_CFLAGS=-fno-pic -C $(KDIR) M=$(PWD) clean
rm module.dwarf
---
Thanks,
Tad
_______________________________________________
Vol-users mailing list
Vol-users@volatilesystems.com
http://lists.volatilesystems.com/mailman/listinfo/vol-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.volatilesystems.com/pipermail/vol-users/attachments/20121025/5a167ff0/attachment.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic