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 2018-04-27 02:10:53

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

[solved] Help to compile iceman's proxmark3 v 3.1.0

static const char StrOSDescriptor[] = {
                   ^~~~~~~~~~~~~~~
../common/usb_cdc.c:160:19: error: 'OSFeatureDescriptor' defined but not used [-
Werror=unused-const-variable=]
static const char OSFeatureDescriptor[] = {
                   ^~~~~~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
make[1]: *** [obj/usb_cdc.o] Error 1
make[1]: Leaving directory `/pm3/bootrom'
make: *** [bootrom/all] Error 2

Hi,I tried to upgrade my pm3 to pm3 v 3.1.0 but when I did make clean && make all,I got above error and I failed to upgrade,any help will be  appreciated...

Last edited by seanedu (2018-04-27 19:55:17)

Offline

#2 2018-04-27 06:18:18

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Did you download the release file?
In that case, I suggest you download and compile the latest source code instead.

Offline

#3 2018-04-27 08:17:08

Shashadow
Contributor
Registered: 2018-03-13
Posts: 58

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

hello,

hmmm... I had a issue similar with Windows, are you are to have the last proxspace version ? my issue was resolved with download last release
https://github.com/Gator96100/ProxSpace


if you are with linux, except depency I don't know
try a apt-get update, and after

for ubuntu/debian
sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev libusb-0.1-4 libusb-dev libqt4-dev perl pkg-config wget libncurses5-dev gcc-arm-none-eabi libstdc++-arm-none-eabi-newlib

and maybe :
sudo cp -rf driver/77-mm-usb-device-blacklist.rules /etc/udev/rules.d/77-mm-usb-device-blacklist.rules
sudo udevadm control --reload-rules


or for kali
https://github.com/Proxmark/proxmark3/wiki/Kali-Linux
sudo apt-get install git build-essential libreadline5 libreadline-dev gcc-arm-none-eabi libusb-0.1-4 libusb-dev libqt4-dev ncurses-dev perl pkg-config

Offline

#4 2018-04-27 13:53:00

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Hi,thanks for the reply both Iceman and shashadow,to Iceman,that was actually found from Iceman'fork and two types of file like zip and tar something like that and I tried both file to compile with gator96100 proxspace environment but was failed to compile,but when I download and compile from latest source code it worked,but version doesn't say 3.1.0 rather appeared iceman suspect,I am not sure weather both are same version or not,if it is same version then I will rather use source code from git...

Offline

#5 2018-04-27 13:59:31

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

I like to add current version I have right know below,Iceman can you confirm my version is 3.1.0 or lower.....


C:\Users\gsjh1209\Desktop\pm3 official 2017>proxmark3 COM10
Prox/RFID mark3 RFID instrument
bootrom: /-suspect 2018-04-26 13:19:49
os: /-suspect 2018-04-26 13:20:07
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2017/10/27 at 08:30:59

uC: AT91SAM7S256 Rev B
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 256K bytes. Used: 197081 bytes (75%). Free: 650
63 bytes (25%).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory
proxmark3>

Offline

#6 2018-04-27 15:14:17

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

So from Gator96100 proxspace,   you did a git clone from the iceman repo?
and did you do a git pull?

then  make clean & make all?

usually that would allow for the compilation to get right version numbers.

Offline

#7 2018-04-27 16:18:49

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

I did actually download zip to my folder from Iceman's repo,and from gator96100 proxspace did make clean && make all,went well but instead of version number it says "suspect",I don't know what went wrong...

Offline

#8 2018-04-27 16:27:03

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

well,  if you download the zip,  you don't get the versioning since that is based on the compilator having access to the git repo.

I suggest you follow the instructions for repo cloning in the documentations for

git clone

  if you want to have some more details in the firmware output.  If you don't then you miss out all changes later on...

Offline

#9 2018-04-27 16:28:07

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

I did actually download zip to my folder from Iceman's repo,and from gator96100 proxspace did make clean && make all,went well but instead of version number it says "suspect",I don't know what went wrong...

Offline

#10 2018-04-27 16:33:12

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Thanks again Iceman,I will do try git clone this time and let you know if it works...

Offline

#11 2018-04-27 17:12:12

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

I tried git clone from repo still same result below,notice any error...

make[1]: Leaving directory `/pm3/tools/nonce2key'
pm3 ~$ ./client/flasher com10 -b ./bootrom/obj/bootrom.elf
Loading ELF file './bootrom/obj/bootrom.elf'...
Loading usable ELF segments:
0: V 0x00100000 P 0x00100000 (0x00000200->0x00000200) [R X] @0x94
1: V 0x00200000 P 0x00100200 (0x00000d3c->0x00000d3c) [R X] @0x298

Waiting for Proxmark to appear on com10............ Found.

Flashing...
Writing segments for file: ./bootrom/obj/bootrom.elf
0x00100000..0x001001ff [0x200 / 1 blocks]. OK
0x00100200..0x00100f3b [0xd3c / 7 blocks]....... OK

Resetting hardware...
All done.

Have a nice day!
pm3 ~$ ./client/flasher com10 ./armsrc/obj/fullimage.elf
Loading ELF file './armsrc/obj/fullimage.elf'...
Loading usable ELF segments:
0: V 0x00102000 P 0x00102000 (0x000363d8->0x000363d8) [R X] @0x94
1: V 0x00200000 P 0x001383d8 (0x000012f8->0x000012f8) [RW ] @0x3646c
Note: Extending previous segment from 0x363d8 to 0x376d0 bytes

Waiting for Proxmark to appear on com10........ Found.

Flashing...
Writing segments for file: ./armsrc/obj/fullimage.elf
0x00102000..0x001396cf [0x376d0 / 444 blocks]..................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.......... OK

Resetting hardware...
All done.

Have a nice day!
pm3 ~$ ./client/proxmark3.exe com10

Proxmark3 RFID instrument

[ ARM ]
bootrom: iceman// 2018-04-27 11:55:45
      os: iceman// 2018-04-27 11:56:16
[ FPGA ]
LF image built for 2s30vq100 on 2017/10/25 at 19:50:50
HF image built for 2s30vq100 on 2017/11/10 at 19:24:16

[ Hardware ]
  --= uC: AT91SAM7S256 Rev B
  --= Embedded Processor: ARM7TDMI
  --= Nonvolatile Program Memory Size: 256K bytes, Used: 235213 bytes (90%) Free
: 26931 bytes (10%)
  --= Second Nonvolatile Program Memory Size: None
  --= Internal SRAM Size: 64K bytes
  --= Architecture Identifier: AT91SAM7Sxx Series
  --= Nonvolatile Program Memory Type: Embedded Flash Memory


pm3 -->

Offline

#12 2018-04-27 17:15:30

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Still there are no version number but at least "-suspect"is gone,do you think it compiled correctly?

Offline

#13 2018-04-27 18:42:06

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

It did compile correct.
Would you mind edit  tools/mkversion.pl 

my $commandGIT = `bash which git`;

into

my $commandGIT = `sh which git`;

and run this from inside tools folder.

perl -W mkversion.pl

Offline

#14 2018-04-27 18:53:58

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Thanks a lot Iceman,I will edit like you said,what do I have do after edit,should I compile again?

Offline

#15 2018-04-27 19:08:03

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

I did edit as you said but I don't know how to run perl -w mkversion.pl from inside tool though...

Offline

#16 2018-04-27 19:10:23

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

never mind,   just be enjoy your pm3,   if iceman fork fails you,  go back to the latest source for offical pm3 repo.

Offline

#17 2018-04-27 19:52:45

seanedu
Contributor
From: Canada
Registered: 2017-04-12
Posts: 105

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

Thanks again Iceman,have a good one...

Last edited by seanedu (2018-04-27 22:16:02)

Offline

#18 2018-04-27 20:03:39

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

Re: [solved] Help to compile iceman's proxmark3 v 3.1.0

for sure!

Offline

Board footer

Powered by FluxBB