Proxmark3 community

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.

Announcement

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.

#1 2015-10-31 20:32:46

wehob
Contributor
Registered: 2015-10-31
Posts: 5

Ubuntu Compile Help

Hi all, and thank you in advance for any help you can provide. After completely giving up on getting the Proxmark3 to work on Windows, I installed Linux Ubuntu and followed the instructions here: https://github.com/Proxmark/proxmark3/wiki/Ubuntu%20Linux. The last step in the instructions says to enter the proxmark3 directory and run the command 'make'. Below is what happens when I do this, and the resulting errors. I would appreciate any help. Thank you!

root@B:~# cd proxmark3
root@B:~/proxmark3# make
make -C client all
make[1]: Entering directory `/root/proxmark3/client'
Compiling liblua, using platform linux
cd ../liblua && make linux
make[2]: Entering directory `/root/proxmark3/liblua'
make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"
make[3]: Entering directory `/root/proxmark3/liblua'
gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX    -c -o lua.o lua.c
lua.c:67:31: fatal error: readline/readline.h: No such file or directory
#include <readline/readline.h>
                               ^
compilation terminated.
make[3]: *** [lua.o] Error 1
make[3]: Leaving directory `/root/proxmark3/liblua'
make[2]: *** [linux] Error 2
make[2]: Leaving directory `/root/proxmark3/liblua'
make[1]: *** [lua_build] Error 2
make[1]: Leaving directory `/root/proxmark3/client'
make: *** [client/all] Error 2

Offline

#2 2015-11-02 10:35:25

wil
Contributor
Registered: 2010-04-13
Posts: 14

Re: Ubuntu Compile Help

Hi,

The readline development package is missing. You can install it with the following command:
    apt-get install libreadline-dev


Wil

Offline

#3 2015-11-03 07:24:44

wehob
Contributor
Registered: 2015-10-31
Posts: 5

Re: Ubuntu Compile Help

Thank you, Wil! I really appreciate it. Unfortunately, I am now getting the following error after it compiles for a bit.

make[1]: Leaving directory `/root/proxmark3/client'
make -C bootrom all
make[1]: Entering directory `/root/proxmark3/bootrom'
/bin/sh: 1: arm-none-eabi-gcc: not found
/bin/sh: 1: arm-none-eabi-gcc: not found
/bin/sh: 1: arm-none-eabi-gcc: not found
/bin/sh: 1: arm-none-eabi-gcc: not found
/bin/sh: 1: arm-none-eabi-gcc: not found
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 -I. -Os -mthumb -mthumb-interwork -o obj/version.o version.c
make[1]: arm-none-eabi-gcc: Command not found
make[1]: *** [obj/version.o] Error 127
make[1]: Leaving directory `/root/proxmark3/bootrom'
make: *** [bootrom/all] Error 2

Offline

#4 2015-11-03 07:34:29

meter
Contributor
Registered: 2015-07-13
Posts: 78

Re: Ubuntu Compile Help

It's time to read wiki !!!
https://github.com/Proxmark/proxmark3/wiki
https://github.com/Proxmark/proxmark3/wiki/Ubuntu%20Linux
You can search also in this forum, the same problem is resolved about 100 times.

Offline

#5 2015-11-03 08:25:57

wehob
Contributor
Registered: 2015-10-31
Posts: 5

Re: Ubuntu Compile Help

Thank you, meter. I have spent a ton of time trying to read  through posts and wiki, and must be completely missing what I'm doing wrong. I trust that you are right, and will get back to reading through the posts. Glad to hear that it's been solved 100 times... that means there's hope. Sorry for the annoying questions, but I do appreciate the help.

Offline

#6 2015-11-03 09:16:51

wehob
Contributor
Registered: 2015-10-31
Posts: 5

Re: Ubuntu Compile Help

That said, I'd definitely appreciate a point in the right direction in which the  problem was solved. Still missing it! Thanks again.

Offline

#7 2015-11-03 09:38:22

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Ubuntu Compile Help

just search the forum for your problem, gives you the answer.

http://www.proxmark.org/forum/viewtopic.php?id=1348

Offline

Board footer

Powered by FluxBB