Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Pages: 1
I am trying to build for a Nexus 6p (Android aarch64) on Nethunter (Kali 'Rolling').
I have been able to successfully build 'proxmart3' from source on both OS X and Kali Linux (VMware - Compiles successfully)
I have followed the instructions for the linux build for 'proxmark3', but it appears to be failing because of 'devkitARM'.
Here are the key preliminaries:
wget http://iweb.dl.sourceforge.net/project/devkitpro/devkitARM/previous/devkitARM_r41-x86_64-linux.tar.bz2
tar jxvf [...]
mv devkitARM/ proxmark3/
export PATH=${PATH}:/root/proxmark3/devkitARM/bin
make
Here are the results:
gcc -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/inflate.o ../zlib/inflate.c
gcc -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/inffast.o ../zlib/inffast.c
gcc -std=c99 -I. -I../include -I../common -I../zlib -I/opt/local/include -I../liblua -Wall -g -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED -c -o obj/inftrees.o ../zlib/inftrees.c
g++ -Wall -O4 -DZ_SOLO -DZ_PREFIX -DNO_GZIP -DZLIB_PM3_TUNED obj/fpga_compress.o obj/deflate.o obj/adler32.o obj/trees.o obj/zutil.o obj/inflate.o obj/inffast.o obj/inftrees.o -L/opt/local/lib -L/usr/local/lib -lreadline -lpthread -lm -o fpga_compress
make[1]: Leaving directory '/root/proxmark3/client'
make -C bottom all
make[1]: Entering directory '/root/proxmark3/bootrom'
/root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: 6: /root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: Syntax error: ")" unexpected
/root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: 6: /root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: Syntax error: ")" unexpected
/root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: 6: /root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: Syntax error: ")" unexpected
perl ../tools/mkversion.pl .. > version.c || cp ../common/default_version.c version.c
arm-none-eabi-gcc -c -I../include -I../common -Wall -Werror -pedantic -std=c99 -Os -I. -mthumb -mthumb-interwork -o obj/version.o version.c
/root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: 6: /root/proxmark3/devkitARM/bin/arm-none-eabi-gcc: Syntax error: ")" unexpected
../common/Makefile.common:90: recipe for target 'obj/version.o' failed
make[1]: *** [obj/version.o] Error 2
make[1]: Leaving directory '/root/proxmark3/bootrom'
Makefile:8: recipe for target 'bootrom/all' failed
make: *** [bootrom/all] Error 2
Any advice would be appreciated.
Offline
OK solved it! Easy fix. KaliLinux and NetHunter 'Rolling' both have the gcc-arm-none-wabi compiler. No need to go elsewhere. For the record, here are the procedures:
How to compile Porxmark3 on Nethunter
1) Get Source:
git clone https://github.com/Proxmark/proxmark3.git
2) Update libreadline:
apt-get install libreadline6-dev
3) Add gcc-arm-none-eabi cross-compiler for ARM:
apt-get install gcc-arm-none-wabi
4) Compile:
cd proxmark3
make
5) Plug-in PROXMAR3 hardware into USB/USB-C:
6)Find device:
dmesg | grep ttyACM #--> /dev/ttyACM0
7) Launch proxmark3
cd proxmark3/client
./proxmark3 /dev/ttyACM0
8) Test:
hw version
hw tune
hw quit
Offline
Pages: 1