proxmark3
proxmark3 copied to clipboard
Compilation Errors / MAC M1 / error: target attribute is not supported on this machine
In process of creating fresh files on new release. Previous versions compiled just fine on system.
MAC M1 / Sonoma 14.2.1
make VERBOSE=1 clean && make VERBOSE=1 -j
Finishes but pops 3 errors.
[-] CXX sma_multi.cpp [-] CC ../common_arm/ticks.c In file included from ../common_arm/ticks.c:19:0: ../common_arm/ticks.h:34:1: error: target attribute is not supported on this machine [-Werror=attributes] uint32_t RAMFUNC GetCountUS(void); ^ In file included from ../common_arm/flashmem.c:22:0: ../common_arm/ticks.h:34:1: error: target attribute is not supported on this machine [-Werror=attributes] uint32_t RAMFUNC GetCountUS(void); ^ ../common_arm/ticks.c:253:1: error: target attribute is not supported on this machine [-Werror=attributes] uint32_t RAMFUNC GetCountUS(void) { ^ [-] CC version_pm3.c
Thanks for reporting, If you are able to find a fix then that would be nice.
Something tells me that your compiler doesn't like the #define RAMFUNC
. That where I would have started.