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.
Hi folks,
I get the following error when trying to compile the armsrc.
obj/start.o: file not recognized: File format not recognized
make: *** [obj/fullimage.elf] Error 1
Here's the dump from the console:
perl ../tools/mkversion.pl .. > version.c || copy ../common/default_version.c version.c
arm-elf-gcc -c -I../include -Wall -O6 -mthumb -mthumb-interwork -o obj/version.o version.c
arm-elf-ld -g -Tldscript -Map=obj/fullimage.map -o obj/fullimage.elf obj/version.o obj/fpga.o obj/start.o obj/appmain.o obj/lfops.o obj/iso15693.o obj/util.o obj/hitag2.o obj/usb.o obj/iso14443.o obj/iso14443a.o obj/fpgaloader.o ../../devkitARM/lib/gcc/arm-elf/4.1.0/interwork/libgcc.a
obj/start.o: file not recognized: File format not recognized
make: *** [obj/fullimage.elf] Error 1
A similar error shows up when compiling the bootrom.
obj/ram-reset.o: file not recognized: File format not recognized
make: *** [obj/bootrom.elf] Error 1
I am running Vista, and am working on the 20090905 svn release.
Any suggestions?
Thanks.
Offline
I did a 'make clean' before the 'make' and it worked. Seems some object files are environment-dependent or something...
Offline
Guys, am now getting another error message. It says:
arm-elf-gcc -c -I../include -Wall -O6 -mthumb -mthumb-interwork -o obj/appmain.o appmain.c
appmain.c:9:20: error: stdlib.h: No such file or directory
appmain.c: In function 'ListenReaderField':
appmain.c:463: warning: implicit declaration of function 'abs'
make: *** [obj/appmain.o] Error 1
Seems the compiler cannot grab the header files! I wonder why is this happening? Have anybody successfully did it on Vista? I feel like it's a problem with the used version of the arm toolchain, since I had to add some more paths to the environment variables for the compiler to work under Vista!
Last edited by moh.elsabagh (2010-05-09 13:16:34)
Offline
Okay guys, this is weird.. but the problem is resolved after I installed the recent version of GNU ARM (4.3.2).
Here's what I've done in steps:
1. Replace the bundled GNU ARM 4.1.0 with the new GNU ARM 4.3.2.
2. Modify line 37 in common/Make.common to
ARMLIB ?= ../../devkitARM/lib/gcc/arm-elf/4.3.2/interwork
3. Clean and rebuild all.
That surely says it was a problem with the old GNU ARM release under Vista.
Hope that helps anyone going through this :-).
Offline