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 2010-04-01 14:15:53

formel1950
Member
Registered: 2010-03-25
Posts: 3

flasher: cannot execute binary file

Dear developers,

I tried to flash the bootloader with the flasher tool but I get the error message:

cannot execute binary file

Please help me...
Thanks.

Offline

#2 2010-04-01 15:06:37

formel1950
Member
Registered: 2010-03-25
Posts: 3

Re: flasher: cannot execute binary file

I have tried the Windows Environemnt:

http://proxmark3.googlecode.com/files/P … 22-r374.7z

and downloaded the cockpit directory from the svn (r374). When I start the 5makeall.bat after 0setpath.bat I received the following output:

C:\ProxSpace\pm3\cockpit>5makeall.bat
**************
*** armsrc ***
**************
perl ../tools/mkversion.pl .. > version.c || cp ../common/default_version.c vers
ion.c
'svn' is not recognized as an internal or external command,
operable program or batch file.
'svn' is not recognized as an internal or external command,
operable program or batch file.
arm-eabi-gcc -c -I../include -I../common -Wall -Werror -pedantic -std=gnu99 -O6
-DWITH_LF -DWITH_ISO15693 -DWITH_ISO14443a -DWITH_ISO14443b -I. -mthumb -mthumb-
interwork -o obj/version.o version.c
make: *** No rule to make target `/c/devkitPro/devkitARM/lib/gcc/arm-eabi/4.4.2/
libgcc.a', needed by `obj/fullimage.elf'.  Stop.
***************
*** bootrom ***
***************
perl ../tools/mkversion.pl .. > version.c || cp ../common/default_version.c vers
ion.c
'svn' is not recognized as an internal or external command,
operable program or batch file.
'svn' is not recognized as an internal or external command,
operable program or batch file.
arm-eabi-gcc -c -I../include -I../common -Wall -Werror -pedantic -std=gnu99 -I.
-mthumb -mthumb-interwork -o obj/version.o version.c
arm-eabi-ld -g -Tldscript-flash --oformat elf32-littlearm -Map=obj/bootrom.map -
o obj/bootrom.elf obj/version.o obj/ram-reset.o obj/flash-reset.o obj/fromflash.
o obj/usb.o obj/bootrom.o
arm-eabi-objcopy -Osrec --srec-forceS3 --strip-debug --no-change-warnings --chan
ge-addresses -0x100000 --change-start 0 --change-section-address .bss+0 --change
-section-address .data+0 --change-section-address .commonarea+0 obj/bootrom.elf
obj/bootrom.s19
**************
*** client ***
**************
gcc -std=gnu99 -I. -I../include -I../common -I/opt/local/include -Wall -Wno-unus
ed-function  -g -O3 -DHAVE_GUI -c -o obj/proxmark3.o proxmark3.c
proxmark3.c:14:21: pthread.h: No such file or directory
proxmark3.c:15:31: readline/readline.h: No such file or directory
proxmark3.c:16:30: readline/history.h: No such file or directory
In file included from proxmark3.c:17:
proxusb.h:16:17: usb.h: No such file or directory
proxmark3.c: In function `usb_receiver':
proxmark3.c:47: warning: implicit declaration of function `pthread_exit'
proxmark3.c: In function `main_loop':
proxmark3.c:56: error: `pthread_t' undeclared (first use in this function)
proxmark3.c:56: error: (Each undeclared identifier is reported only once
proxmark3.c:56: error: for each function it appears in.)
proxmark3.c:56: error: syntax error before "reader_thread"
proxmark3.c:60: warning: implicit declaration of function `pthread_create'
proxmark3.c:60: error: `reader_thread' undeclared (first use in this function)
proxmark3.c:64: warning: implicit declaration of function `readline'
proxmark3.c:64: warning: assignment makes pointer from integer without a cast
proxmark3.c:68: warning: implicit declaration of function `add_history'
proxmark3.c:79: warning: implicit declaration of function `pthread_join'
proxmark3.c: In function `main':
proxmark3.c:90: error: `pthread_t' undeclared (first use in this function)
proxmark3.c:90: error: syntax error before "main_loop_t"
proxmark3.c:91: warning: implicit declaration of function `usb_init'
proxmark3.c:102: error: `main_loop_t' undeclared (first use in this function)
make: *** [obj/proxmark3.o] Error 1

I dont find the answer, why it isnt working. Please help me!
Thanks.

Offline

#3 2010-04-06 09:21:28

toffe
Member
Registered: 2010-03-07
Posts: 13

Re: flasher: cannot execute binary file

There seems to be at least two issues.  One is that you do not have the svn binaries. This issue seem to be less important than the following:

You're missing the headers (and most likely the libraries) for three required dependencies:

  • pthread

  • readline

  • libusb v0.1.12

Fix these issues and you should be on your way.

Offline

Board footer

Powered by FluxBB