Proxmark3 developers 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.

#1 2020-03-13 00:19:05

lama
Contributor
Registered: 2013-01-08
Posts: 11

(SOLVED) Compiling Iceman fork error

Hi,

I try to install the last repo of the Proxmark Iceman fork but I always get the same error. Could somebody point me to the right direction please?

Thanks !

Here isi the error:

[-] CC epa.c
[-] CC mifaresim.c
mifaresim.c: In function 'Mifare1ksim':
mifaresim.c:763:88: error: expected ')' before 'PRIx64'
  if (DBGLEVEL >= DBG_EXTENDED) Dbprintf("[MFEMUL_WORK] KEY %c: %012" PRIx64, (cardAUTHKEY == 0) ? 'A' : 'B', emlGetKey(cardAUTHSC, cardAUTHKEY));
                                                                     ^~~~~~~
                                                                     )
make[1]: *** [../common_arm/Makefile.common:65: obj/mifaresim.o] Error 1
make: *** [Makefile:95: armsrc/all] Error 2

Last edited by lama (2020-03-18 12:28:37)

Offline

#2 2020-03-13 05:58:05

Riffruepel
Contributor
From: Germany / Magdeburg
Registered: 2019-04-17
Posts: 20

Re: (SOLVED) Compiling Iceman fork error

Hello lama,

you have the current repo from her ?

git clone https://github.com/RfidResearchGroup/proxmark3.git

have you installed all the necessary dependencies?

sudo apt-get install --no-install-recommends git ca-certificates build-essential pkg-config \
libreadline-dev gcc-arm-none-eabi libnewlib-dev qtbase5-dev

And which Linux version do you work on?

Regards

Riffruepel

Offline

#3 2020-03-13 08:38:43

iceman
Administrator
Registered: 2013-04-25
Posts: 6,654
Website

Re: (SOLVED) Compiling Iceman fork error

Let me guess,  you are compiling it on an old OS.  Like Debian 8  or Ubuntu 12.04/14.04...   Your GCC compiler is too old.  You need a new one.  Try a newer stable release of your OS aswell smile


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

#4 2020-03-13 13:40:12

lama
Contributor
Registered: 2013-01-08
Posts: 11

Re: (SOLVED) Compiling Iceman fork error

Thanks for the answers. I try to compiling it on Kali linux. I use the latest repo on github and follow all instruction. I will try again and let you know if I get the same result. I was able to compil the official repo but not the iceman fork.

Offline

#5 2020-03-13 14:20:47

lama
Contributor
Registered: 2013-01-08
Posts: 11

Re: (SOLVED) Compiling Iceman fork error

Just tried again on another computer running Kali. Update OS. Same result. Maybe it can't be compil on kali?

The good new is that I can still use the official proxmark repo. I was just trying to use your repo but I don't know why but can't compil on kali

Offline

#6 2020-03-17 14:49:29

lama
Contributor
Registered: 2013-01-08
Posts: 11

Re: (SOLVED) Compiling Iceman fork error

I don't understand what I did wrong. Same result on rasbian Jessie on my raspberry pi.

Offline

#7 2020-03-18 12:28:10

lama
Contributor
Registered: 2013-01-08
Posts: 11

Re: (SOLVED) Compiling Iceman fork error

Good news !!! Thanks Iceman you were right. I have update GCC to 9 on my linux distros and it's working. Here's the link I follow.
https://solarianprogrammer.com/2016/10/ … ntu-linux/

Offline

Board footer

Powered by FluxBB