RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
4.01k stars 1.05k forks source link

[FreeBSD] make Proxmark3 portable to FreeBSD #2568

Open rscheff opened 1 month ago

rscheff commented 1 month ago

trying to run make on the proxmax3 repro shows that some incompatible / non-portable variant of make appears to have been used.

Is there any appetite in making the bulild scripts portable to FreeBSD as well?

make: "/root/proxmark3/Makefile.defs" line 16: Invalid line 'ifneq ($(V),1)', expanded to 'ifneq ' make: "/root/proxmark3/Makefile.defs" line 18: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 66: Variable/Value missing from "export" make: "/root/proxmark3/Makefile.defs" line 71: Invalid line 'ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang version"), 1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 73: Invalid line 'else' make: "/root/proxmark3/Makefile.defs" line 75: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 77: Invalid line 'ifeq ($(platform),Darwin)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 78: Invalid line ' ifeq ($(shell uname -p),arm64)', expanded to ' ifeq ' make: "/root/proxmark3/Makefile.defs" line 82: Invalid line ' export IPHONEOS_DEPLOYMENT_TARGET=11.0' make: "/root/proxmark3/Makefile.defs" line 83: Invalid line ' else' make: "/root/proxmark3/Makefile.defs" line 86: Invalid line ' endif' make: "/root/proxmark3/Makefile.defs" line 90: Invalid line 'else' make: "/root/proxmark3/Makefile.defs" line 93: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 95: Invalid line 'ifeq ($(USE_BREW),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 96: Invalid line ' ifneq ($(strip $(HOMEBREW_PREFIX)),)', expanded to ' ifneq ' make: "/root/proxmark3/Makefile.defs" line 98: Invalid line ' else' make: "/root/proxmark3/Makefile.defs" line 100: Invalid line ' ifeq ($(strip $(BREW_PREFIX)),)', expanded to ' ifeq ' make: "/root/proxmark3/Makefile.defs" line 102: Invalid line ' endif' make: "/root/proxmark3/Makefile.defs" line 103: Invalid line ' endif' make: "/root/proxmark3/Makefile.defs" line 104: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 106: Invalid line 'ifeq ($(USE_MACPORTS),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 108: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 110: Invalid line 'ifeq ($(DEBUG),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 114: Invalid line 'else' make: "/root/proxmark3/Makefile.defs" line 118: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 120: Invalid line 'ifeq ($(DEBUG_ARM),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 123: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 125: Invalid line 'ifeq ($(SANITIZE),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 129: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 137: Invalid line 'ifeq ($(shell expr $(CC_VERSION) >= 10), 1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 138: Invalid line ' ifneq ($(DETECTED_COMPILER), clang)', expanded to ' ifneq ' make: "/root/proxmark3/Makefile.defs" line 140: Invalid line ' endif' make: "/root/proxmark3/Makefile.defs" line 141: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 142: Invalid line 'ifeq ($(platform),Darwin)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 143: Invalid line ' ifeq ($(shell uname -p),arm64)', expanded to ' ifeq ' make: "/root/proxmark3/Makefile.defs" line 146: Invalid line ' endif' make: "/root/proxmark3/Makefile.defs" line 151: Invalid line 'else' make: "/root/proxmark3/Makefile.defs" line 153: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 175: Invalid line 'ifeq ($(GCCEXTRA),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 177: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 187: Invalid line 'ifeq ($(CLANGEXTRA),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 189: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 190: Invalid line 'ifeq ($(CLANGEVERYTHING),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 192: Invalid line 'endif' make: "/root/proxmark3/Makefile.defs" line 193: Invalid line 'ifeq ($(NOERROR),1)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile.defs" line 195: Invalid line 'endif' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 23: Invalid line 'define KNOWN_STANDALONE_DEFINITIONS' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 25: Invalid line '| STANDALONE | DESCRIPTION |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 27: Invalid line '| (empty) | No standalone mode |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 28: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 29: Invalid line '| LF_SKELETON | standalone mode skeleton |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 30: Invalid line '| | - iceman |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 31: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 32: Invalid line '| LF_EM4100EMUL | Simulate predefined em4100 tags only |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 33: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 34: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 35: Invalid line '| LF_EM4100RSWB | Read/simulate/brute em4100 tags & |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 36: Invalid line '| | clone it to T555x tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 37: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 38: Invalid line '| LF_EM4100RSWW | Read/simulate/validate em4100 tags & |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 39: Invalid line '| | clone it to T55xx tags, wipe T55xx tags|' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 40: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 41: Invalid line '| LF_EM4100RWC | Read/simulate em4100 tags & clone it |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 42: Invalid line '| | to T555x tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 43: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 44: Invalid line '| LF_HIDBRUTE | HID corporate 1000 bruteforce |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 45: Invalid line '| | - Federico dotta & Maurizio Agazzini |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 46: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 47: Invalid line '| LF_HIDFCBRUTE | HID Facility Code bruteforce |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 48: Invalid line '| (RDV4 only) | |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 49: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 50: Invalid line '| LF_ICEHID | LF HID collector to flashmem |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 51: Invalid line '| (RDV4 only) | |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 52: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 53: Invalid line '| LF_MULTIHID | LF HID 26 Bit (H1031) multi simulator |', expanded to '| LF_MULTIHID | LF HID 26 Bit ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 54: Invalid line '| | - Shain Lakin |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 55: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 56: Invalid line '| LF_NEDAP_SIM | LF Nedap ID simple simulator |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 57: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 58: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 59: Invalid line '| LF_NEXID | LF Nexwatch collector to flashmem |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 60: Invalid line '| (RDV4 only) | |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 61: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 62: Invalid line '| LF_PROXBRUTE | HID ProxII bruteforce |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 63: Invalid line '| | - Brad Antoniewicz |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 64: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 65: Invalid line '| LF_PROX2BRUTE | HID ProxII bruteforce v2 |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 66: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 67: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 68: Invalid line '| LF_SAMYRUN | HID26 read/clone/sim |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 69: Invalid line '| (default) | - Samy Kamkar |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 70: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 71: Invalid line '| LF_THAREXDE | Simulate/read EM4x50 tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 72: Invalid line '| (RDV4 only) | storing in flashmem |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 73: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 74: Invalid line '| HF_14ASNIFF | 14a sniff to flashmem (rdv4) or ram |', expanded to '| HF_14ASNIFF | 14a sniff to flashmem ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 75: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 76: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 77: Invalid line '| HF_14BSNIFF | 14b sniff to flashmem (rdv4) or ram |', expanded to '| HF_14BSNIFF | 14b sniff to flashmem ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 78: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 79: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 80: Invalid line '| HF_15SNIFF | 15693 sniff to flashmem (rdv4) or ram |', expanded to '| HF_15SNIFF | 15693 sniff to flashmem ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 81: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 82: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 83: Invalid line '| HF_15SIM | 15693 tag simulator |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 84: Invalid line '| | |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 85: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 86: Invalid line '| HF_AVEFUL | Mifare ultralight read/simulation |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 87: Invalid line '| | - Ave Ozkal |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 88: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 89: Invalid line '| HF_BOG | 14a sniff with ULC/ULEV1/NTAG auth |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 90: Invalid line '| (RDV4 only) | storing in flashmem - Bogito |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 91: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 92: Invalid line '| HF_CARDHOPPER | Relay 14a protocols over long distances|' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 93: Invalid line '| (RDV4 only) | (w/ IP backbone) - Sam Haskins |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 94: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 95: Invalid line '| HF_COLIN | Mifare ultra fast sniff/sim/clone |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 96: Invalid line '| (RDV4 only) | - Colin Brigato |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 97: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 98: Invalid line '| HF_CRAFTBYTE | UID stealer - Emulates scanned 14a UID |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 99: Invalid line '| | - Anze Jensterle |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 100: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 101: Invalid line '| HF_ICECLASS | Simulate HID iCLASS legacy ags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 102: Invalid line '| (RDV4 only) | storing in flashmem |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 103: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 104: Invalid line '| HF_LEGIC | Read/simulate Legic Prime tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 105: Invalid line '| | storing in flashmem |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 106: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 107: Invalid line '| HF_LEGICSIM | Simulate Legic Prime tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 108: Invalid line '| (RDV4 only) | stored on flashmem |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 109: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 110: Invalid line '| HF_MATTYRUN | Mifare sniff/clone |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 111: Invalid line '| | - Matías A. Ré Medina |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 112: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 113: Invalid line '| HF_MFCSIM | Simulate Mifare Classic 1k card |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 114: Invalid line '| (RDV4 only) | storing in flashmem - Ray Lee |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 115: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 116: Invalid line '| HF_MSDSAL | Read and emulate MSD Visa cards |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 117: Invalid line '| | - Salvador Mendoza |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 118: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 119: Invalid line '| HF_REBLAY | 14A Relay over BT |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 120: Invalid line '| (RDV4 only) | - Salvador Mendoza |', expanded to '| ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 121: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 122: Invalid line '| HF_TCPRST | IKEA Rothult read/sim/dump/emul |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 123: Invalid line '| | - Nick Draffen |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 124: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 125: Invalid line '| HF_TMUDFORD | Read and emulate 15 tags |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 126: Invalid line '| | - Tim Mudford |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 127: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 128: Invalid line '| HF_UNISNIFF | Sniff 14a/14b/15 (optionally to flash) |', expanded to '| HF_UNISNIFF | Sniff 14a/14b/15 ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 129: Invalid line '| | - hazardousvoltage |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 130: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 131: Invalid line '| HF_YOUNG | Mifare sniff/simulation |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 132: Invalid line '| | - Craig Young |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 133: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 134: Invalid line '| DANKARMULTI | Load multiple standalone modes. |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 135: Invalid line '| | - Daniel Karling |' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 136: Invalid line '+----------------------------------------------------------+' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 137: Invalid line 'endef' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 147: Invalid line 'ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES)),)', expanded to 'ifneq ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 149: Invalid line ' ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_SMARTCARD)),)', expanded to ' ifneq ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 151: Invalid line ' endif' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 152: Invalid line ' ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_FLASH)),)', expanded to ' ifneq ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 154: Invalid line ' endif' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 155: Invalid line ' ifneq ($(filter $(STANDALONE),$(STANDALONE_MODES_REQ_BT)),)', expanded to ' ifneq ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 157: Invalid line ' endif' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 158: Invalid line 'else ifneq ($(STANDALONE),)', expanded to 'else ifneq ' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 159: Unknown modifier " $(STANDALONE" make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 159: Invalid line ' $(error Invalid STANDALONE: $(STANDALONE). $(KNOWN_DEFINITIONS))', expanded to ' . )' make: "/root/proxmark3/armsrc/Standalone/Makefile.hal" line 160: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 24: Invalid line 'ifndef DEFAULT_STANDALONE' make: "/root/proxmark3/common_arm/Makefile.hal" line 25: Invalid line '$(error Could not find armsrc/Standalone/Makefile.hal)', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 26: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 28: Invalid line 'define KNOWN_PLATFORM_DEFINITIONS' make: "/root/proxmark3/common_arm/Makefile.hal" line 33: Invalid line '| PLATFORM | DESCRIPTION |' make: "/root/proxmark3/common_arm/Makefile.hal" line 35: Invalid line '| PM3RDV4 (def) | Proxmark3 RDV4 |', expanded to '| PM3RDV4 ' make: "/root/proxmark3/common_arm/Makefile.hal" line 36: Invalid line '+--------------------------------------------+' make: "/root/proxmark3/common_arm/Makefile.hal" line 37: Invalid line '| PM3GENERIC | Proxmark3 generic target |' make: "/root/proxmark3/common_arm/Makefile.hal" line 38: Invalid line '+--------------------------------------------+' make: "/root/proxmark3/common_arm/Makefile.hal" line 39: Invalid line '| PM3ICOPYX | iCopy-X with XC3S100E |' make: "/root/proxmark3/common_arm/Makefile.hal" line 40: Invalid line '+--------------------------------------------+' make: "/root/proxmark3/common_arm/Makefile.hal" line 43: Invalid line '| PLATFORM_EXTRAS | DESCRIPTION |' make: "/root/proxmark3/common_arm/Makefile.hal" line 45: Invalid line '| BTADDON | Proxmark3 RDV4 BT add-on |' make: "/root/proxmark3/common_arm/Makefile.hal" line 46: Invalid line '+--------------------------------------------+' make: "/root/proxmark3/common_arm/Makefile.hal" line 48: Invalid line 'endef' make: "/root/proxmark3/common_arm/Makefile.hal" line 50: Invalid line 'define HELP_DEFINITIONS' make: "/root/proxmark3/common_arm/Makefile.hal" line 55: Invalid line 'make PLATFORM=PM3GENERIC STANDALONE=$(HELP_EXAMPLE_STANDALONE)', expanded to 'make PLATFORM=PM3GENERIC STANDALONE=LF_SAMYRUN' make: "/root/proxmark3/common_arm/Makefile.hal" line 64: Invalid line 'Default standalone mode is $(DEFAULT_STANDALONE).', expanded to 'Default standalone mode is LF_SAMYRUN.' make: "/root/proxmark3/common_arm/Makefile.hal" line 68: Invalid line 'For Proxmarks with only 256k, you can define' make: "/root/proxmark3/common_arm/Makefile.hal" line 71: Invalid line 'to be warned if the image is too big for your device' make: "/root/proxmark3/common_arm/Makefile.hal" line 88: Invalid line 'endef' make: "/root/proxmark3/common_arm/Makefile.hal" line 90: Invalid line 'define KNOWN_DEFINITIONS' make: "/root/proxmark3/common_arm/Makefile.hal" line 91: Invalid line '$(KNOWN_PLATFORM_DEFINITIONS)', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 92: Invalid line '$(KNOWN_STANDALONE_DEFINITIONS)', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 93: Invalid line '$(HELP_DEFINITIONS)', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 94: Invalid line 'endef' make: "/root/proxmark3/common_arm/Makefile.hal" line 99: Invalid line 'ifeq ($(PLATFORM),PM3RDV4)', expanded to 'ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 102: Invalid line ' ifneq ($(SKIP_LF),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 104: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 105: Invalid line ' ifneq ($(SKIP_FELICA),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 107: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 108: Invalid line ' ifneq ($(SKIP_ISO15693),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 110: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 115: Invalid line 'else ifeq ($(PLATFORM),PM3OTHER)', expanded to 'else ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 116: Invalid line ' $(warning PLATFORM=PM3OTHER is deprecated, please use PLATFORM=PM3GENERIC)', expanded to ' ' make: "/root/proxmark3/common_arm/Makefile.hal" line 119: Invalid line ' ifneq ($(SKIP_LF),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 121: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 122: Invalid line ' ifneq ($(SKIP_FELICA),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 124: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 125: Invalid line ' ifneq ($(SKIP_ISO15693),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 127: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 130: Invalid line ' ifeq ($(LED_ORDER),PM3EASY)', expanded to ' ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 132: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 133: Invalid line 'else ifeq ($(PLATFORM),PM3GENERIC)', expanded to 'else ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 136: Invalid line ' ifneq ($(SKIP_LF),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 138: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 139: Invalid line ' ifneq ($(SKIP_FELICA),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 141: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 142: Invalid line ' ifneq ($(SKIP_ISO15693),1)', expanded to ' ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 144: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 147: Invalid line ' ifeq ($(LED_ORDER),PM3EASY)', expanded to ' ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 149: Invalid line ' endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 150: Invalid line 'else ifeq ($(PLATFORM),PM3ICOPYX)', expanded to 'else ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 157: Invalid line 'else' make: "/root/proxmark3/common_arm/Makefile.hal" line 158: Unknown modifier " $(PLATFORM" make: "/root/proxmark3/common_arm/Makefile.hal" line 158: Invalid line ' $(error Invalid or empty PLATFORM: $(PLATFORM). $(KNOWN_DEFINITIONS))', expanded to ' . )' make: "/root/proxmark3/common_arm/Makefile.hal" line 159: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 163: Invalid line 'ifneq (,$(findstring SMARTCARD,$(PLATFORM_EXTRAS_TMP)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 166: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 167: Invalid line 'ifneq (,$(findstring FLASH,$(PLATFORM_EXTRAS_TMP)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 170: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 171: Invalid line 'ifneq (,$(findstring BTADDON,$(PLATFORM_EXTRAS_TMP)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 174: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 175: Invalid line 'ifneq (,$(findstring FPC_USART_DEV,$(PLATFORM_EXTRAS_TMP)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 178: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 179: Invalid line 'ifneq (,$(PLATFORM_EXTRAS_TMP))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 180: Unknown modifier " $(PLATFORM_EXTRAS_TMP" make: "/root/proxmark3/common_arm/Makefile.hal" line 180: Invalid line ' $(error Unknown PLATFORM_EXTRAS token(s): $(PLATFORM_EXTRAS_TMP))', expanded to ' )' make: "/root/proxmark3/common_arm/Makefile.hal" line 181: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 184: Invalid line 'ifneq ($(SKIP_LF),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 186: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 187: Invalid line 'ifneq ($(SKIP_HITAG),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 189: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 190: Invalid line 'ifneq ($(SKIP_EM4x50),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 192: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 193: Invalid line 'ifneq ($(SKIP_EM4x70),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 195: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 196: Invalid line 'ifneq ($(SKIP_ZX8211),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 198: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 201: Invalid line 'ifneq ($(SKIP_HF),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 203: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 204: Invalid line 'ifneq ($(SKIP_ISO15693),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 206: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 207: Invalid line 'ifneq ($(SKIP_LEGICRF),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 209: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 210: Invalid line 'ifneq ($(SKIP_ISO14443b),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 212: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 213: Invalid line 'ifneq ($(SKIP_ISO14443a),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 215: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 216: Invalid line 'ifneq ($(SKIP_ICLASS),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 218: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 219: Invalid line 'ifneq ($(SKIP_FELICA),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 221: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 222: Invalid line 'ifneq ($(SKIP_NFCBARCODE),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 224: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 225: Invalid line 'ifneq ($(SKIP_HFSNIFF),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 227: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 228: Invalid line 'ifneq ($(SKIP_HFPLOT),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 230: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 231: Invalid line 'ifneq ($(SKIP_COMPRESSION),1)', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 233: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 236: Invalid line 'ifneq ($(strip $(filter $(PLATFORM_DEFS),$(STANDALONE_REQ_DEFS))),$(strip $(STANDALONE_REQ_DEFS)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 237: Invalid line ' $(error Chosen Standalone mode $(STANDALONE) requires $(strip $(STANDALONE_REQ_DEFS)), unsupported by $(PLTNAME))', expanded to ' ' make: "/root/proxmark3/common_arm/Makefile.hal" line 238: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 239: Invalid line 'ifneq (,$(STANDALONE_PLATFORM_DEFS))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 241: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 243: Invalid line '$(info $(findstring WITHSTANDALONE*,$(PLATFORM_DEFS)))', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 246: Invalid line 'ifneq (,$(findstring WITH_LCD,$(PLATFORM_DEFS)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 248: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 253: Invalid line 'ifneq (,$(findstring WITH_FPCUSART,$(PLATFORM_DEFS)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 255: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 261: Invalid line 'ifneq (,$(word 2, $(PLATFORM_DEFS_INFO_STANDALONE)))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 262: Unknown modifier " $(PLATFORM_DEFS_INFO_STANDALONE" make: "/root/proxmark3/common_arm/Makefile.hal" line 262: Invalid line ' $(error You must choose only one Standalone mode!: $(PLATFORM_DEFS_INFO_STANDALONE))', expanded to ' )' make: "/root/proxmark3/common_arm/Makefile.hal" line 263: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 267: Invalid line 'ifeq (,$(PLATFORM_EXTRAS_INFO))', expanded to 'ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 269: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 272: Invalid line 'ifeq (,$(PLATFORM_DEFS_INFO_STANDALONE))', expanded to 'ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 274: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 276: Invalid line 'ifeq ($(PLATFORM_SIZE),)', expanded to 'ifeq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 278: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 281: Invalid line 'ifneq ($(PLATFORM), $(CACHED_PLATFORM))', expanded to 'ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 283: Invalid line 'else ifneq ($(PLATFORM_EXTRAS), $(CACHED_PLATFORM_EXTRAS))', expanded to 'else ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 285: Invalid line 'else ifneq ($(PLATFORM_DEFS), $(CACHED_PLATFORM_DEFS))', expanded to 'else ifneq ' make: "/root/proxmark3/common_arm/Makefile.hal" line 287: Invalid line 'endif' make: "/root/proxmark3/common_arm/Makefile.hal" line 289: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 290: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 291: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 292: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 293: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 294: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 295: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 296: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 297: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 298: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 299: Variable/Value missing from "export" make: "/root/proxmark3/common_arm/Makefile.hal" line 301: Invalid line '$(info ===================================================================)', expanded to '' make: "/root/proxmark3/common_arm/Makefile.hal" line 302: Unknown modifier " $(shell tools/mkversion.sh --short 2>/dev/null || ../tools/mkversion.sh --short 2>/dev/null" make: "/root/proxmark3/common_arm/Makefile.hal" line 302: Invalid line '$(info Version info: $(shell tools/mkversion.sh --short 2>/dev/null || ../tools/mkversion.sh --short 2>/dev/null))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 303: Unknown modifier " $(PLTNAME" make: "/root/proxmark3/common_arm/Makefile.hal" line 303: Invalid line '$(info Platform name: $(PLTNAME))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 304: Unknown modifier " $(PLATFORM" make: "/root/proxmark3/common_arm/Makefile.hal" line 304: Invalid line '$(info PLATFORM: $(PLATFORM))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 305: Unknown modifier " $(PLATFORM_FPGA" make: "/root/proxmark3/common_arm/Makefile.hal" line 305: Invalid line '$(info PLATFORM_FPGA: $(PLATFORM_FPGA))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 306: Unknown modifier " $(PLATFORM_SIZE" make: "/root/proxmark3/common_arm/Makefile.hal" line 306: Invalid line '$(info PLATFORM_SIZE: $(PLATFORM_SIZE))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 307: Unknown modifier " $(PLATFORM_EXTRAS_INFO" make: "/root/proxmark3/common_arm/Makefile.hal" line 307: Invalid line '$(info Platform extras: $(PLATFORM_EXTRAS_INFO))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 308: Unknown modifier " $(PLATFORM_DEFS_INFO" make: "/root/proxmark3/common_arm/Makefile.hal" line 308: Invalid line '$(info Included options: $(PLATFORM_DEFS_INFO))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 309: Unknown modifier " $(PLATFORM_DEFS_INFO_STANDALONE" make: "/root/proxmark3/common_arm/Makefile.hal" line 309: Invalid line '$(info Standalone mode: $(PLATFORM_DEFS_INFO_STANDALONE))', expanded to ')' make: "/root/proxmark3/common_arm/Makefile.hal" line 310: Invalid line '$(info ===================================================================)', expanded to '' make: "/root/proxmark3/Makefile" line 23: Invalid line 'ifneq (,$(DESTDIR))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 25: Invalid line ' $(shell $(MKDIR) $(DESTDIR))', expanded to ' ' make: "/root/proxmark3/Makefile" line 27: Invalid line ' ifeq (,$(MYDESTDIR))', expanded to ' ifeq ' make: "/root/proxmark3/Makefile" line 28: Invalid line ' $(error Can't create $(DESTDIR))', expanded to ' ' make: "/root/proxmark3/Makefile" line 29: Invalid line ' endif' make: "/root/proxmark3/Makefile" line 30: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 46: Invalid line 'ifneq (,$(INSTALLSCRIPTS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 49: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 50: Invalid line 'ifneq (,$(INSTALLSHARES))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 51: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 52: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 53: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 54: Invalid line 'ifneq (,$(INSTALLDOCS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 55: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 56: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 57: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 58: Invalid line 'ifneq (,$(INSTALLTOOLS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 59: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 60: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 61: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 62: Invalid line 'ifneq (,$(INSTALLSIMFW))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 63: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 64: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 65: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 66: Invalid line 'ifeq ($(platform),Linux)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile" line 70: Invalid line 'ifneq ($(wildcard /etc/arch-release),)', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 71: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 72: Invalid line 'else' make: "/root/proxmark3/Makefile" line 74: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 75: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 81: Invalid line 'ifneq (,$(INSTALLSCRIPTS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "(,pm3)" ignored make: "Makefile" line 48: warning: using previous script for "(,pm3)" defined here make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "(pm3-flash)" ignored make: "Makefile" line 48: warning: using previous script for "(pm3-flash)" defined here make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "(pm3-flash-all)" ignored make: "Makefile" line 48: warning: using previous script for "(pm3-flash-all)" defined here make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "(pm3-flash-bootrom)" ignored make: "Makefile" line 48: warning: using previous script for "(pm3-flash-bootrom)" defined here make: "/root/proxmark3/Makefile" line 82: warning: duplicate script for target "(pm3-flash-fullimage)" ignored make: "Makefile" line 48: warning: using previous script for "(pm3-flash-fullimage)" defined here make: "/root/proxmark3/Makefile" line 83: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 85: Invalid line 'ifneq (,$(INSTALLSHARES))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 86: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 86: warning: duplicate script for target "(,tools/jtag_openocd)" ignored make: "Makefile" line 52: warning: using previous script for "(,tools/jtag_openocd)" defined here make: "/root/proxmark3/Makefile" line 86: warning: duplicate script for target "(traces)" ignored make: "Makefile" line 52: warning: using previous script for "(traces)" defined here make: "/root/proxmark3/Makefile" line 87: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 89: Invalid line 'ifneq (,$(INSTALLDOCS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 90: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 90: warning: duplicate script for target "(doc/md)" ignored make: "Makefile" line 56: warning: using previous script for "(doc/md)" defined here make: "/root/proxmark3/Makefile" line 91: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 91: warning: duplicate script for target "(doc/md)" ignored make: "Makefile" line 56: warning: using previous script for "(doc/md)" defined here make: "/root/proxmark3/Makefile" line 92: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 94: Invalid line 'ifneq (,$(INSTALLTOOLS))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(,mfc/pm3_eml2lower.sh)" ignored make: "Makefile" line 60: warning: using previous script for "(,mfc/pm3_eml2lower.sh)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(mfc/pm3_eml2upper.sh)" ignored make: "Makefile" line 60: warning: using previous script for "(mfc/pm3_eml2upper.sh)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(mfc/pm3_mfdread.py)" ignored make: "Makefile" line 60: warning: using previous script for "(mfc/pm3_mfdread.py)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(mfc/pm3_mfd2eml.py)" ignored make: "Makefile" line 60: warning: using previous script for "(mfc/pm3_mfd2eml.py)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(mfc/pm3_eml2mfd.py)" ignored make: "Makefile" line 60: warning: using previous script for "(mfc/pm3_eml2mfd.py)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(pm3_amii_bin2eml.pl)" ignored make: "Makefile" line 60: warning: using previous script for "(pm3_amii_bin2eml.pl)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(pm3_reblay-emulating.py)" ignored make: "Makefile" line 60: warning: using previous script for "(pm3_reblay-emulating.py)" defined here make: "/root/proxmark3/Makefile" line 95: warning: duplicate script for target "(pm3_reblay-reading.py)" ignored make: "Makefile" line 60: warning: using previous script for "(pm3_reblay-reading.py)" defined here make: "/root/proxmark3/Makefile" line 96: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 100: Invalid line 'ifneq (,$(INSTALLSIMFW))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(,sim011.bin)" ignored make: "Makefile" line 64: warning: using previous script for "(,sim011.bin)" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(sim011.sha512.txt)" ignored make: "Makefile" line 64: warning: using previous script for "(sim011.sha512.txt)" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(sim013.bin)" ignored make: "Makefile" line 64: warning: using previous script for "(sim013.bin)" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(sim013.sha512.txt)" ignored make: "Makefile" line 64: warning: using previous script for "(sim013.sha512.txt)" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(sim014.bin)" ignored make: "Makefile" line 64: warning: using previous script for "(sim014.bin)" defined here make: "/root/proxmark3/Makefile" line 101: warning: duplicate script for target "(sim014.sha512.txt)" ignored make: "Makefile" line 64: warning: using previous script for "(sim014.sha512.txt)" defined here make: "/root/proxmark3/Makefile" line 102: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 106: Invalid line 'ifeq ($(platform),Linux)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile" line 107: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 107: warning: duplicate script for target "(,Linux)" ignored make: "Makefile" line 67: warning: using previous script for "(,Linux)" defined here make: "/root/proxmark3/Makefile" line 108: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 261: Invalid line 'ifeq ($(PLATFORM_CHANGED),true)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile" line 262: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 263: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 264: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 265: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 266: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 267: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 268: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 269: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 270: warning: duplicate script for target "ifeq" ignored make: "Makefile" line 67: warning: using previous script for "ifeq" defined here make: "/root/proxmark3/Makefile" line 271: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 276: Invalid line 'ifneq ($(wildcard /etc/arch-release),)', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 278: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 278: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 279: Invalid line 'else' make: "/root/proxmark3/Makefile" line 282: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 290: Invalid line 'ifneq ($(wildcard /etc/arch-release),)', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 292: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 292: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 293: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 293: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 294: Invalid line 'else ifneq ($(wildcard /etc/fedora-release),)', expanded to 'else ifneq ' make: "/root/proxmark3/Makefile" line 296: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 296: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 297: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 297: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 298: Invalid line 'else' make: "/root/proxmark3/Makefile" line 301: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 332: Invalid line 'ifeq ($(platform),Darwin)', expanded to 'ifeq ' make: "/root/proxmark3/Makefile" line 334: Invalid line 'else' make: "/root/proxmark3/Makefile" line 336: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 337: Invalid line 'ifneq (,$(EDIT))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 339: Invalid line 'endif' make: "/root/proxmark3/Makefile" line 346: Invalid line 'ifneq (,$(EDIT))', expanded to 'ifneq ' make: "/root/proxmark3/Makefile" line 347: warning: duplicate script for target "ifneq" ignored make: "Makefile" line 48: warning: using previous script for "ifneq" defined here make: "/root/proxmark3/Makefile" line 347: warning: duplicate script for target "(,)" ignored make: "Makefile" line 71: warning: using previous script for "(,)" defined here make: "/root/proxmark3/Makefile" line 348: Invalid line 'else' make: "/root/proxmark3/Makefile" line 350: Invalid line 'endif' make: Fatal errors encountered -- cannot continue make: stopped in /root/proxmark3

iceman1001 commented 1 month ago

Usually it falls back to yourself. Make it work on FreeBSD and I merge it!

We welcome pull requests!

nvx commented 1 week ago

Looking at those errors I expect it's because make on FreeBSD is BSD make not GNU make. Try installing gmake and running gmake instead of make and see if that works any better.

iceman1001 commented 1 week ago

is it because iOS etc or Playstation runs on freebsd?

nvx commented 1 week ago

is it because iOS etc or Playstation runs on freebsd?

iOS and Mac OS etc all run Darwin which has its origins in a BSD kernel. I think PlayStation does too but I'm less familiar with it.