Hi,

at first sight for sure you have some extra slashes on the paths

"KDIR := ~/goldfish-ksemulator/" --> remove the last '/'
"CCPATH := ~/android-ndk/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/"  --> remove the last '/' after bin a try again.

At least you will clean a bit the error output. Try and post it again.

P.




On Thu, Oct 3, 2013 at 5:25 AM, Tareq Hanaysha <hanaysha@live.com> wrote:
Hi,

I am trying to build a volatility 2.3p profile using a mac os host 10.8.5 and a 4.3 android goldfish guest custom kernel.

edited my make file under tools/linux/ to: 

"
obj-m += module.o
KDIR := ~/goldfish-ksemulator/ 
CCPATH := ~/android-ndk/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/
DWARFDUMP := /Users/Hanaysha/dwarf/dwarfdump/dwarfdump
-include version.mk
all: dwarf
dwarf: module.c 
$(MAKE) ARCH=arm CROSS_COMPILE=$(CCPATH)/arm-linux-androideabi- -C $(KDIR) CONFIG_DEBUG_INFO=y M=$(PWD) modules
$(DWARFDUMP) -di module.ko > module.dwarf 

"

I am awarded with the follwing errors :

"
Hanayshas-MacBook-Pro:linux Hanaysha$ make
make -C ~/goldfish-ksemulator//lib/modules/12.5.0/build CONFIG_DEBUG_INFO=y M=/Users/Hanaysha/android-volatility/tools/linux modules
make: *** /Users/Hanaysha/goldfish-ksemulator//lib/modules/12.5.0/build: No such file or directory. Stop.
make: *** [dwarf] Error 2
Hanayshas-MacBook-Pro:linux Hanaysha$ make
make ARCH=arm CROSS_COMPILE=~/android-ndk/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin//arm-linux-androideabi- -C ~/goldfish-ksemulator/ CONFIG_DEBUG_INFO=y M=/Users/Hanaysha/android-volatility/tools/linux modules
Building modules, stage 2.
MODPOST 1 modules
CC /Users/Hanaysha/android-volatility/tools/linux/module.mod.o
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:8:1: error: variable '__this_module' has initializer but incomplete type
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:9:2: error: unknown field 'name' specified in initializer
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:9:2: warning: excess elements in struct initializer [enabled by default]
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:9:2: warning: (near initialization for '__this_module') [enabled by default]
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:10:2: error: unknown field 'arch' specified in initializer
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:10:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:10:2: warning: excess elements in struct initializer [enabled by default]
/Users/Hanaysha/android-volatility/tools/linux/module.mod.c:10:2: warning: (near initialization for '__this_module') [enabled by default]
make[2]: *** [/Users/Hanaysha/android-volatility/tools/linux/module.mod.o] Error 1
make[1]: *** [modules] Error 2
make: *** [dwarf] Error 2


"

Any ideas !? your help is appreciated

_______________________________________________
Vol-users mailing list
Vol-users@volatilesystems.com
http://lists.volatilityfoundation.org/mailman/listinfo/vol-users




--
Pasquale Stirparo, MEng    
GCFA, OPST, OWSE, ECCE                      

European Commission - JRC Joint Research Centre
Institute for the Protection and Security of the Citizen (IPSC)  
Digital Citizen Security Unit
Via E. Fermi, 2749 - TP 361
21027 Ispra (VA) - Italy

PGP Key: 0x4C589FB2
Fingerprint: 776D F072 3F43 D5DE CB55 86D2 55FF 14A7 4C58 9FB2

Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.