RfidResearchGroup / proxmark3

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

Failed to build on macOS 12 running on M1 Macs #1485

Closed lsylx closed 3 years ago

lsylx commented 3 years ago

Compilation problems ld: warning: pointer not aligned at address 0x10025E9C2 (_mfu_ident_table + 258 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E9BA (_mfu_ident_table + 250 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E9B2 (_mfu_ident_table + 242 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E99A (_mfu_ident_table + 218 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E95E (_mfu_ident_table + 158 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E956 (_mfu_ident_table + 150 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E94E (_mfu_ident_table + 142 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E946 (_mfu_ident_table + 134 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E93E (_mfu_ident_table + 126 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E936 (_mfu_ident_table + 118 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8FA (_mfu_ident_table + 58 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8F2 (_mfu_ident_table + 50 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8EA (_mfu_ident_table + 42 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8E2 (_mfu_ident_table + 34 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8DA (_mfu_ident_table + 26 from obj/cmdhfmfu.o) ld: warning: pointer not aligned at address 0x10025E8D2 (_mfu_ident_table + 18 from obj/cmdhfmfu.o) ld: unaligned pointer(s) for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [proxmark3] Error 1 make: [client/all] Error 2

Describe the bug When I tried to build this on my Mac I got errors like this above I don't know what happened and how to fix this problem All things works fine on macOS 11 but it didn't work on macOS 12

Additional info Device: M1 MacBook Pro

doegox commented 3 years ago

which version of clang ? can you compile with make V=1 and share the log ?

lsylx commented 3 years ago

which version of clang ? can you compile with make V=1 and share the log ?

===================================================================
Platform name:     Proxmark3 RDV4
PLATFORM:          PM3RDV4
PLATFORM_SIZE:     512
Platform extras:   No extra selected
Included options:  SMARTCARD FLASH -DRDV4 LF HITAG EM4x50 EM4x70 ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   HF_MSDSAL
===================================================================
[*] MAKE client/all
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C client all DESTDIR=
===================================================================
Client platform:   Darwin
GUI support:       QT5 found, enabled ()
native BT support: Bluez not found, disabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 not found, disabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
compiler version:  Apple clang version 13.0.0 (clang-1300.0.29.3)
===================================================================
[*] MAKE deps/amiitool/libamiibo.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/amiitool all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/cliparser/libcliparser.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/cliparser all
PLATFORM Darwin
make[2]: Nothing to be done for `all'.
[*] MAKE deps/hardnested/libhardnested.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/hardnested all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/liblua/liblua.a for macosx
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/liblua macosx
/Library/Developer/CommandLineTools/usr/bin/make all SYSCFLAGS="-DLUA_USE_MACOSX"
make[3]: Nothing to be done for `all'.
[*] MAKE deps/jansson/libjansson.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/jansson all
make[2]: Nothing to be done for `all'.
[*] MAKE obj/libmbedtls.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ../common/mbedtls OBJDIR=../../client/obj BINDIR=../../client/obj all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/reveng/libreveng.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/reveng all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/tinycbor/tinycbor.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/tinycbor all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/whereami/libwhereami.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/whereami all
make[2]: Nothing to be done for `all'.
[=] LD proxmark3
g++  -framework Foundation -framework AppKit obj/aiddesfire.o obj/aidsearch.o obj/cmdanalyse.o obj/cmdcrc.o obj/cmddata.o obj/cmdflashmem.o obj/cmdflashmemspiffs.o obj/cmdhf.o obj/cmdhf14a.o obj/cmdhf14b.o obj/cmdhf15.o obj/cmdhfcryptorf.o obj/cmdhfepa.o obj/cmdhfemrtd.o obj/cmdhffelica.o obj/cmdhffido.o obj/cmdhfcipurse.o obj/cmdhficlass.o obj/cmdhflegic.o obj/cmdhfjooki.o obj/cmdhflist.o obj/cmdhflto.o obj/cmdhfmf.o obj/cmdhfmfdes.o obj/cmdhfmfhard.o obj/cmdhfmfu.o obj/cmdhfmfp.o obj/cmdhfseos.o obj/cmdhfst.o obj/cmdhfst25ta.o obj/cmdhfthinfilm.o obj/cmdhftopaz.o obj/cmdhfwaveshare.o obj/cmdhw.o obj/cmdlf.o obj/cmdlfawid.o obj/cmdlfcotag.o obj/cmdlfdestron.o obj/cmdlfem.o obj/cmdlfem410x.o obj/cmdlfem4x05.o obj/cmdlfem4x50.o obj/cmdlfem4x70.o obj/cmdlffdxb.o obj/cmdlfguard.o obj/cmdlfgallagher.o obj/cmdlfhid.o obj/cmdlfhitag.o obj/cmdlfidteck.o obj/cmdlfindala.o obj/cmdlfio.o obj/cmdlfjablotron.o obj/cmdlfkeri.o obj/cmdlfmotorola.o obj/cmdlfnedap.o obj/cmdlfnexwatch.o obj/cmdlfnoralsy.o obj/cmdlfpac.o obj/cmdlfparadox.o obj/cmdlfpcf7931.o obj/cmdlfpresco.o obj/cmdlfpyramid.o obj/cmdlfsecurakey.o obj/cmdlft55xx.o obj/cmdlfti.o obj/cmdlfviking.o obj/cmdlfvisa2000.o obj/cmdmain.o obj/cmdnfc.o obj/cmdparser.o obj/cmdscript.o obj/cmdsmartcard.o obj/cmdtrace.o obj/cmdusart.o obj/cmdwiegand.o obj/comms.o obj/crypto/asn1dump.o obj/crypto/asn1utils.o obj/crypto/libpcrypto.o obj/emv/cmdemv.o obj/emv/crypto.o obj/emv/crypto_polarssl.o obj/emv/dol.o obj/emv/emv_pk.o obj/emv/emv_pki.o obj/emv/emv_pki_priv.o obj/emv/emv_roca.o obj/emv/emv_tags.o obj/emv/emvcore.o obj/emv/emvjson.o obj/emv/tlv.o obj/emv/test/crypto_test.o obj/emv/test/cryptotest.o obj/emv/test/cda_test.o obj/emv/test/dda_test.o obj/emv/test/sda_test.o obj/fido/additional_ca.o obj/fido/cose.o obj/fido/cbortools.o obj/fido/fidocore.o obj/cipurse/cipursecore.o obj/cipurse/cipursecrypto.o obj/cipurse/cipursetest.o obj/fileutils.o obj/flash.o obj/generator.o obj/graph.o obj/jansson_path.o obj/iso7816/apduinfo.o obj/iso7816/iso7816core.o obj/loclass/cipher.o obj/loclass/cipherutils.o obj/loclass/elite_crack.o obj/loclass/ikeys.o obj/mifare/desfire_crypto.o obj/mifare/desfirecrypto.o obj/mifare/desfirecore.o obj/mifare/desfiresecurechan.o obj/mifare/desfiretest.o obj/mifare/mad.o obj/mifare/mfkey.o obj/mifare/mifare4.o obj/mifare/mifaredefault.o obj/mifare/mifarehost.o obj/nfc/ndef.o obj/pm3.o obj/pm3_binlib.o obj/pm3_bitlib.o obj/preferences.o obj/prng.o obj/proxmark3.o obj/scandir.o obj/uart/uart_posix.o obj/uart/uart_win32.o obj/scripting.o obj/tea.o obj/ui.o obj/util.o obj/version_pm3.o obj/wiegand_formats.o obj/wiegand_formatutils.o obj/bucketsort.o obj/cardhelper.o obj/crapto1/crapto1.o obj/crapto1/crypto1.o obj/crc.o obj/crc16.o obj/crc32.o obj/crc64.o obj/commonutil.o obj/iso15693tools.o obj/legic_prng.o obj/lfdemod.o obj/parity.o obj/util_posix.o obj/pm3_luawrap.o obj/proxgui.o obj/proxguiqt.o obj/proxguiqt.moc.o obj/util_darwin.o ./deps/amiitool/libamiibo.a ./deps/cliparser/libcliparser.a ./deps/hardnested/libhardnested.a ./deps/liblua/liblua.a ./deps/jansson/libjansson.a obj/libmbedtls.a ./deps/reveng/libreveng.a ./deps/tinycbor/tinycbor.a ./deps/whereami/libwhereami.a -L/opt/homebrew/lib          -lbz2  -lm -lpthread  -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtWidgets -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtGui -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtCore -L/opt/homebrew/opt/readline/lib -lreadline -o proxmark3
ld: warning: pointer not aligned at address 0x10025E9C2 (_mfu_ident_table + 258 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E9BA (_mfu_ident_table + 250 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E9B2 (_mfu_ident_table + 242 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E99A (_mfu_ident_table + 218 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E95E (_mfu_ident_table + 158 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E956 (_mfu_ident_table + 150 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E94E (_mfu_ident_table + 142 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E946 (_mfu_ident_table + 134 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E93E (_mfu_ident_table + 126 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E936 (_mfu_ident_table + 118 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8FA (_mfu_ident_table + 58 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8F2 (_mfu_ident_table + 50 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8EA (_mfu_ident_table + 42 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8E2 (_mfu_ident_table + 34 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8DA (_mfu_ident_table + 26 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10025E8D2 (_mfu_ident_table + 18 from obj/cmdhfmfu.o)
ld: unaligned pointer(s) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [proxmark3] Error 1
make: *** [client/all] Error 2
doegox commented 3 years ago

Hmm ok clang13. I tried clang13 on my Debian, I pushed 2 fixes unrelated but I don't get this linker error, still investigating...

doegox commented 3 years ago

You didn't compile the latest proxmark3 code, which commit was it? The latest release ? Please try the latest commit.

lsylx commented 3 years ago

You didn't compile the latest proxmark3 code, which commit was it? The latest release ? Please try the latest commit.


===================================================================
Platform name:     Proxmark3 RDV4
PLATFORM:          PM3RDV4
PLATFORM_FPGA:     xc2s30
PLATFORM_SIZE:     512
Platform extras:   No extra selected
Included options:  SMARTCARD FLASH -DRDV4 LF HITAG EM4x50 EM4x70 ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   HF_MSDSAL
===================================================================
[*] MAKE client/all
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C client all DESTDIR=
===================================================================
Client platform:   Darwin
GUI support:       QT5 found, enabled ()
native BT support: Bluez not found, disabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 not found, disabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
compiler version:  Apple clang version 13.0.0 (clang-1300.0.29.3)
===================================================================
[*] MAKE deps/amiitool/libamiibo.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/amiitool all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/cliparser/libcliparser.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/cliparser all
PLATFORM Darwin
make[2]: Nothing to be done for `all'.
[*] MAKE deps/hardnested/libhardnested.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/hardnested all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/liblua/liblua.a for macosx
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/liblua macosx
/Library/Developer/CommandLineTools/usr/bin/make all SYSCFLAGS="-DLUA_USE_MACOSX"
make[3]: Nothing to be done for `all'.
[*] MAKE deps/jansson/libjansson.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/jansson all
make[2]: Nothing to be done for `all'.
[*] MAKE obj/libmbedtls.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ../common/mbedtls OBJDIR=../../client/obj/mbedtls BINDIR=../../client/obj all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/reveng/libreveng.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/reveng all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/tinycbor/tinycbor.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/tinycbor all
make[2]: Nothing to be done for `all'.
[*] MAKE deps/whereami/libwhereami.a
/Library/Developer/CommandLineTools/usr/bin/make --no-print-directory -C ./deps/whereami all
make[2]: Nothing to be done for `all'.
[=] LD proxmark3
g++  -framework Foundation -framework AppKit obj/mifare/aiddesfire.o obj/aidsearch.o obj/cmdanalyse.o obj/cmdcrc.o obj/cmddata.o obj/cmdflashmem.o obj/cmdflashmemspiffs.o obj/cmdhf.o obj/cmdhf14a.o obj/cmdhf14b.o obj/cmdhf15.o obj/cmdhfcryptorf.o obj/cmdhfepa.o obj/cmdhfemrtd.o obj/cmdhffelica.o obj/cmdhffido.o obj/cmdhfcipurse.o obj/cmdhficlass.o obj/cmdhflegic.o obj/cmdhfjooki.o obj/cmdhflist.o obj/cmdhflto.o obj/cmdhfmf.o obj/cmdhfmfdes.o obj/cmdhfmfhard.o obj/cmdhfmfu.o obj/cmdhfmfp.o obj/cmdhfseos.o obj/cmdhfst.o obj/cmdhfst25ta.o obj/cmdhfthinfilm.o obj/cmdhftopaz.o obj/cmdhfwaveshare.o obj/cmdhw.o obj/cmdlf.o obj/cmdlfawid.o obj/cmdlfcotag.o obj/cmdlfdestron.o obj/cmdlfem.o obj/cmdlfem410x.o obj/cmdlfem4x05.o obj/cmdlfem4x50.o obj/cmdlfem4x70.o obj/cmdlffdxb.o obj/cmdlfguard.o obj/cmdlfgallagher.o obj/cmdlfhid.o obj/cmdlfhitag.o obj/cmdlfidteck.o obj/cmdlfindala.o obj/cmdlfio.o obj/cmdlfjablotron.o obj/cmdlfkeri.o obj/cmdlfmotorola.o obj/cmdlfnedap.o obj/cmdlfnexwatch.o obj/cmdlfnoralsy.o obj/cmdlfpac.o obj/cmdlfparadox.o obj/cmdlfpcf7931.o obj/cmdlfpresco.o obj/cmdlfpyramid.o obj/cmdlfsecurakey.o obj/cmdlft55xx.o obj/cmdlfti.o obj/cmdlfviking.o obj/cmdlfvisa2000.o obj/cmdmain.o obj/cmdnfc.o obj/cmdparser.o obj/cmdscript.o obj/cmdsmartcard.o obj/cmdtrace.o obj/cmdusart.o obj/cmdwiegand.o obj/comms.o obj/crypto/asn1dump.o obj/crypto/asn1utils.o obj/crypto/libpcrypto.o obj/emv/cmdemv.o obj/emv/crypto.o obj/emv/crypto_polarssl.o obj/emv/dol.o obj/emv/emv_pk.o obj/emv/emv_pki.o obj/emv/emv_pki_priv.o obj/emv/emv_roca.o obj/emv/emv_tags.o obj/emv/emvcore.o obj/emv/emvjson.o obj/emv/tlv.o obj/emv/test/crypto_test.o obj/emv/test/cryptotest.o obj/emv/test/cda_test.o obj/emv/test/dda_test.o obj/emv/test/sda_test.o obj/fido/additional_ca.o obj/fido/cose.o obj/fido/cbortools.o obj/fido/fidocore.o obj/cipurse/cipursecore.o obj/cipurse/cipursecrypto.o obj/cipurse/cipursetest.o obj/fileutils.o obj/flash.o obj/generator.o obj/graph.o obj/jansson_path.o obj/iso7816/apduinfo.o obj/iso7816/iso7816core.o obj/loclass/cipher.o obj/loclass/cipherutils.o obj/loclass/elite_crack.o obj/loclass/ikeys.o obj/mifare/lrpcrypto.o obj/mifare/desfirecrypto.o obj/mifare/desfirecore.o obj/mifare/desfiresecurechan.o obj/mifare/desfiretest.o obj/mifare/mad.o obj/mifare/mfkey.o obj/mifare/mifare4.o obj/mifare/mifaredefault.o obj/mifare/mifarehost.o obj/nfc/ndef.o obj/pm3.o obj/pm3_binlib.o obj/pm3_bitlib.o obj/preferences.o obj/prng.o obj/proxmark3.o obj/scandir.o obj/uart/uart_posix.o obj/uart/uart_win32.o obj/scripting.o obj/tea.o obj/ui.o obj/util.o obj/version_pm3.o obj/wiegand_formats.o obj/wiegand_formatutils.o obj/bucketsort.o obj/cardhelper.o obj/crapto1/crapto1.o obj/crapto1/crypto1.o obj/crc.o obj/crc16.o obj/crc32.o obj/crc64.o obj/commonutil.o obj/iso15693tools.o obj/legic_prng.o obj/lfdemod.o obj/parity.o obj/util_posix.o obj/pm3_luawrap.o obj/proxgui.o obj/proxguiqt.o obj/proxguiqt.moc.o obj/util_darwin.o ./deps/amiitool/libamiibo.a ./deps/cliparser/libcliparser.a ./deps/hardnested/libhardnested.a ./deps/liblua/liblua.a ./deps/jansson/libjansson.a obj/libmbedtls.a ./deps/reveng/libreveng.a ./deps/tinycbor/tinycbor.a ./deps/whereami/libwhereami.a -L/opt/homebrew/lib          -lbz2  -lm -lpthread  -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtWidgets -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtGui -F/opt/homebrew/Cellar/qt@5/5.15.2/lib -framework QtCore -L/opt/homebrew/opt/readline/lib -lreadline -o proxmark3
ld: warning: pointer not aligned at address 0x1002669FA (_mfu_ident_table + 258 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x1002669F2 (_mfu_ident_table + 250 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x1002669EA (_mfu_ident_table + 242 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x1002669D2 (_mfu_ident_table + 218 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266996 (_mfu_ident_table + 158 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026698E (_mfu_ident_table + 150 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266986 (_mfu_ident_table + 142 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026697E (_mfu_ident_table + 134 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266976 (_mfu_ident_table + 126 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026696E (_mfu_ident_table + 118 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266932 (_mfu_ident_table + 58 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026692A (_mfu_ident_table + 50 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266922 (_mfu_ident_table + 42 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026691A (_mfu_ident_table + 34 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x100266912 (_mfu_ident_table + 26 from obj/cmdhfmfu.o)
ld: warning: pointer not aligned at address 0x10026690A (_mfu_ident_table + 18 from obj/cmdhfmfu.o)
ld: unaligned pointer(s) for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [proxmark3] Error 1
make: *** [client/all] Error 2


This one is the latest proxmark3 code
The problem still exists.
doegox commented 3 years ago

please try again, I pushed a fix

lsylx commented 3 years ago

please try again, I pushed a fix

Problem fixed. Compiled successfully

doegox commented 3 years ago

great, thanks for your cooperation

berikv commented 3 years ago

I'm trying to fix an error in a totally different project, but with the same title "ld: unaligned pointer(s) for architecture arm64".

To make it easier to find what has fixed this error it would be helpful to mention the commit that fixed it. It looks like these commits are the ones fixing the error:

ba7f1b93b986a6b1c975258977209d2869bbdaf9 2b3cd6e604f821b7f7a5696e081456ace019ab70

alfonsrv commented 2 years ago

Compilation still doesn't work on macOS Monterey with M1 Macs – unfortunately the Homebrew tap also seems broken.

make log ``` user@NullX proxmark3-master % make clean && make -j =================================================================== Version info: Iceman/master/release (git) Platform name: Proxmark3 generic target PLATFORM: PM3GENERIC PLATFORM_FPGA: xc2s30 PLATFORM_SIZE: 512 Platform extras: No extra selected Included options: LF HITAG EM4x50 EM4x70 ZX8211 ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT Standalone mode: LF_SAMYRUN =================================================================== [*] MAKE client/clean =================================================================== Version info: Iceman/master/release (git) Client platform: Darwin GUI support: QT5 found, enabled (Qt version 6.2.3 in /usr/local/lib) native BT support: Bluez not found, disabled Jansson library: system library found Lua library: system library not found, using local library Python3 library: Python3 not found, disabled Readline library: enabled Whereami library: system library not found, using local library Lua SWIG: wrapper found compiler version: Apple clang version 13.1.6 (clang-1316.0.21.2) =================================================================== PLATFORM Darwin [*] MAKE bootrom/clean [*] MAKE fpga_compress/clean [*] MAKE armsrc/clean [*] MAKE recovery/clean [*] MAKE mfkey/clean [*] MAKE nonce2key/clean [*] MAKE mf_nonce_brute/clean [*] MAKE mfd_aes_brute/clean =================================================================== Version info: Iceman/master/release (git) Platform name: Proxmark3 generic target PLATFORM: PM3GENERIC PLATFORM_FPGA: xc2s30 PLATFORM_SIZE: 512 Platform extras: No extra selected Included options: LF HITAG EM4x50 EM4x70 ZX8211 ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT Standalone mode: LF_SAMYRUN =================================================================== [*] MAKE client/all [*] MAKE bootrom/all [*] MAKE fpga_compress/all [*] MAKE mfkey/all [*] MAKE nonce2key/all [*] MAKE mf_nonce_brute/all [*] MAKE mfd_aes_brute/all [-] CC fpga_compress.c [-] CC ../../common/lz4/lz4hc.c [-] CC ../../common/lz4/lz4.c [-] CC brute_key.c [-] CC nonce2key.c [-] CC mf_nonce_brute.c [-] CC mfkey32.c [-] CC ../../common/crapto1/crypto1.c [-] CC ../../common/crapto1/crypto1.c [-] CC ../../common/crapto1/crypto1.c [-] CC ../../common/crapto1/crapto1.c [-] CC ../../common/crapto1/crapto1.c [-] CC ../../common/crapto1/crapto1.c [-] CC ../../common/bucketsort.c [-] CC ../../common/bucketsort.c [-] CC ../../common/bucketsort.c [-] CC iso14443crc.c [-] CC mfkey32v2.c [-] CC sleep.c [-] CC mfkey64.c [-] CC util_posix.c [-] CC mf_trace_brute.c compiler version: arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release) [=] GEN version_pm3.c [-] CC ram-reset.s [-] CC flash-reset.s [-] CC ../common_arm/usb_cdc.c [-] CC ../common_arm/clocks.c [-] CC bootrom.c fatal: not a git repository (or any of the parent directories): .git [-] CC util_posix.c fatal: not a git repository (or any of the parent directories): .git [-] CC randoms.c [=] LD nonce2key [=] LD mf_nonce_brute [=] LD mf_trace_brute [-] CC mfd_aes_brute.c [=] LD mfkey32 [=] LD mfkey32v2 =================================================================== [=] LD mfkey64 Version info: Iceman/master/release (git) Client platform: Darwin [-] CC mfd_multi_brute.c [-] CC version_pm3.c GUI support: QT5 found, enabled (Qt version 6.2.3 in /usr/local/lib) native BT support: Bluez not found, disabled Jansson library: system library found Lua library: system library not found, using local library Python3 library: Python3 not found, disabled Readline library: enabled Whereami library: system library not found, using local library Lua SWIG: wrapper found compiler version: Apple clang version 13.1.6 (clang-1316.0.21.2) =================================================================== [=] LD brute_key [=] LD mfd_aes_brute ld: warning: ignoring file /usr/local/opt/openssl@3/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_ERR_print_errors_fp", referenced from: _handleErrors in brute_key.o "_EVP_CIPHER_CTX_free", referenced from: _decrypt in brute_key.o "_EVP_CIPHER_CTX_new", referenced from: _decrypt in brute_key.o "_EVP_CIPHER_CTX_set_padding", referenced from: _decrypt in brute_key.o "_EVP_DecryptFinal_ex", referenced from: _decrypt in brute_key.o "_EVP_DecryptInit_ex", referenced from: _decrypt in brute_key.o "_EVP_DecryptUpdate", referenced from: _decrypt in brute_key.o "_EVP_aes_128_cbc", referenced from: _decrypt in brute_key.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [brute_key] Error 1 make[1]: *** Waiting for unfinished jobs.... ld: warning: ignoring file /usr/local/opt/openssl@3/lib/libcrypto.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_ERR_print_errors_fp", referenced from: _handleErrors in mfd_aes_brute.o "_EVP_CIPHER_CTX_free", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_CIPHER_CTX_new", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_CIPHER_CTX_set_padding", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_DecryptFinal_ex", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_DecryptInit_ex", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_DecryptUpdate", referenced from: _decrypt_aes in mfd_aes_brute.o "_EVP_aes_128_cbc", referenced from: _decrypt_aes in mfd_aes_brute.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [mfd_aes_brute] Error 1 make: *** [mfd_aes_brute/all] Error 2 make: *** Waiting for unfinished jobs.... [-] CC src/mifare/aiddesfire.c [-] CC src/aidsearch.c [=] LD obj/bootrom.elf [=] LD fpga_compress [-] CC src/atrs.c [-] CC src/cmdanalyse.c [-] CC src/cmdcrc.c [-] CC src/cmddata.c [=] GEN obj/bootrom.s19 [-] CC src/cmdflashmem.c [-] CC src/cmdflashmemspiffs.c [-] CC src/cmdhf.c [-] CC src/cmdhf14a.c [-] CC src/cmdhf14b.c [-] CC src/cmdhf15.c [-] CC src/cmdhfcryptorf.c [-] CC src/cmdhfepa.c [-] CC src/cmdhfemrtd.c [-] CC src/cmdhffelica.c [-] CC src/cmdhffido.c [-] CC src/cmdhfgallagher.c [-] CC src/cmdhfksx6924.c [-] CC src/cmdhfcipurse.c [-] CC src/cmdhficlass.c [-] CC src/cmdhflegic.c [-] CC src/cmdhfjooki.c [-] CC src/cmdhflist.c [-] CC src/cmdhflto.c [-] CC src/cmdhfmf.c [-] CC src/cmdhfmfdes.c [-] CC src/cmdhfmfhard.c [-] CC src/cmdhfmfu.c [-] CC src/cmdhfmfp.c [-] CC src/cmdhfntag424.c [-] CC src/cmdhfseos.c [-] CC src/cmdhfst.c [-] CC src/cmdhfst25ta.c [-] CC src/cmdhfthinfilm.c [-] CC src/cmdhftopaz.c [-] CC src/cmdhfwaveshare.c [-] CC src/cmdhw.c [-] CC src/cmdlf.c [-] CC src/cmdlfawid.c [-] CC src/cmdlfcotag.c [-] CC src/cmdlfdestron.c [-] CC src/cmdlfem.c [-] CC src/cmdlfem410x.c [-] CC src/cmdlfem4x05.c [-] CC src/cmdlfem4x50.c [-] CC src/cmdlfem4x70.c [-] CC src/cmdlffdxb.c [-] CC src/cmdlfguard.c [-] CC src/cmdlfgallagher.c [-] CC src/cmdlfhid.c [-] CC src/cmdlfhitag.c [-] CC src/cmdlfidteck.c [-] CC src/cmdlfindala.c [-] CC src/cmdlfio.c [-] CC src/cmdlfjablotron.c [-] CC src/cmdlfkeri.c [-] CC src/cmdlfmotorola.c [-] CC src/cmdlfnedap.c [-] CC src/cmdlfnexwatch.c [-] CC src/cmdlfnoralsy.c [-] CC src/cmdlfpac.c [-] CC src/cmdlfparadox.c [-] CC src/cmdlfpcf7931.c [-] CC src/cmdlfpresco.c [-] CC src/cmdlfpyramid.c [-] CC src/cmdlfsecurakey.c [-] CC src/cmdlft55xx.c [-] CC src/cmdlfti.c [-] CC src/cmdlfviking.c [-] CC src/cmdlfvisa2000.c [-] CC src/cmdlfzx8211.c [-] CC src/cmdmain.c [-] CC src/cmdnfc.c [-] CC src/cmdparser.c [-] CC src/cmdscript.c [-] CC src/cmdsmartcard.c [-] CC src/cmdtrace.c [-] CC src/cmdusart.c [-] CC src/cmdwiegand.c [-] CC src/comms.c [-] CC src/crypto/asn1dump.c [-] CC src/crypto/asn1utils.c [-] CC src/crypto/libpcrypto.c [-] CC src/emv/cmdemv.c [-] CC src/emv/crypto.c [-] CC src/emv/crypto_polarssl.c [-] CC src/emv/dol.c [-] CC src/emv/emv_pk.c [-] CC src/emv/emv_pki.c [-] CC src/emv/emv_pki_priv.c [-] CC src/emv/emv_roca.c [-] CC src/emv/emv_tags.c [-] CC src/emv/emvcore.c [-] CC src/emv/emvjson.c [-] CC src/emv/tlv.c [-] CC src/emv/test/crypto_test.c [-] CC src/emv/test/cryptotest.c [-] CC src/emv/test/cda_test.c [-] CC src/emv/test/dda_test.c [-] CC src/emv/test/sda_test.c [-] CC src/fido/additional_ca.c [-] CC src/fido/cose.c [-] CC src/fido/cbortools.c [-] CC src/fido/fidocore.c [-] CC src/ksx6924/ksx6924core.c [-] CC src/cipurse/cipursecore.c [-] CC src/cipurse/cipursecrypto.c [-] CC src/cipurse/cipursetest.c [-] CC src/fileutils.c [-] CC src/flash.c [-] CC ../common/generator.c src/flash.c:349:32: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] uint32_t offset = *(uint32_t *)(ctx->elf + le32(shdrs[i].sh_offset) + le32(shdrs[i].sh_size) - 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [-] CC src/graph.c 1 warning generated. [-] CC src/jansson_path.c [-] CC src/iso7816/apduinfo.c [-] CC src/iso7816/iso7816core.c [-] CC src/loclass/cipher.c [-] CC src/loclass/cipherutils.c [-] CC src/loclass/elite_crack.c [-] CC src/loclass/ikeys.c [-] CC src/mifare/lrpcrypto.c [-] CC src/mifare/desfirecrypto.c [-] CC src/mifare/desfirecore.c [-] CC src/mifare/desfiresecurechan.c [-] CC src/mifare/desfiretest.c [-] CC src/mifare/gallaghercore.c [-] CC src/mifare/mad.c [-] CC src/mifare/mfkey.c [-] CC src/mifare/mifare4.c [-] CC src/mifare/mifaredefault.c [-] CC src/mifare/mifarehost.c [-] CC src/nfc/ndef.c [-] CC src/pm3.c [-] CC src/pm3_binlib.c [-] CC src/pm3_bitlib.c [-] CC src/preferences.c [-] CC src/pm3line.c [-] CC src/proxmark3.c [-] CC src/scandir.c [-] CC src/uart/uart_posix.c [-] CC src/uart/uart_win32.c [-] CC src/scripting.c [-] CC src/ui.c [-] CC src/util.c [=] GEN src/version_pm3.c [-] CC src/wiegand_formats.c fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git [-] CC src/wiegand_formatutils.c [-] CC ../common/bucketsort.c [-] CC ../common/cardhelper.c [-] CC ../common/crapto1/crapto1.c [-] CC ../common/crapto1/crypto1.c [-] CC ../common/crc.c [-] CC ../common/crc16.c [-] CC ../common/crc32.c [-] CC ../common/crc64.c [-] CC ../common/commonutil.c [-] CC ../common/iso15693tools.c [-] CC ../common/legic_prng.c [-] CC ../common/lfdemod.c [-] CC ../common/util_posix.c [-] CC src/pm3_luawrap.c [-] UIC src/ui/ui_overlays.h [-] UIC src/ui/ui_image.h [-] CXX src/proxguiqt.cpp [-] MOC src/proxguiqt.moc.cpp [-] CC src/util_darwin.m [*] MAKE deps/amiitool/libamiibo.a [*] MAKE deps/cliparser/libcliparser.a [*] MAKE deps/hardnested/libhardnested.a [*] MAKE deps/liblua/liblua.a for macosx [*] MAKE obj/libmbedtls.a [*] MAKE deps/reveng/libreveng.a [*] MAKE deps/tinycbor/tinycbor.a [*] MAKE deps/whereami/libwhereami.a [=] GEN lualibs/pm3_cmd.lua [=] GEN lualibs/mfc_default_keys.lua [-] CC src/version_pm3.c [-] CC amiibo.c PLATFORM Darwin [-] CC whereami.c [-] CC bmpbit.c [=] TEST bmptst [-] CC drbg.c [-] CC cborencoder.c [-] CC keygen.c [-] CC aes.c [-] CC bmpbit.c [-] CC cborencoder_close_container_checked.c [-] CC argtable3.c [-] CC asn1parse.c [-] CC cli.c [-] CC cborerrorstrings.c [-] CC cliparser.c [-] CC asn1write.c [-] CC cborparser.c [-] CC model.c [-] CC base64.c [-] CC poly.c [-] CC cborparser_dup_string.c [-] CC bignum.c [-] CC preset.c [-] CC cborpretty.c [-] CXX src/proxguiqt.moc.cpp [-] CC ctr_drbg.c [-] CC cbortojson.c [-] CC reveng.c [-] CC cborvalidation.c [-] CC entropy_poll.c [-] CC entropy.c [-] CC(NOSIMD) hardnested_bf_core.c [-] CC(NOSIMD) hardnested_bitarray_core.c [-] CC error.c [=] AR libwhereami.a [-] CC ecp.c [-] CC ecp_curves.c [-] CC certs.c [=] AR libamiibo.a [-] CC camellia.c [-] CC blowfish.c [-] CC(NEON) hardnested_bf_core.c [-] CC cipher_wrap.c [-] CC(NEON) hardnested_bitarray_core.c [-] CC cipher.c [-] CC cmac.c [-] CC des.c [-] CC ecdsa.c [-] CC md.c [-] CC md5.c [-] CC oid.c [-] CC pem.c [-] CC arc4.c [-] CC lapi.c [-] CC pk.c [-] CC lcode.c [-] CC pk_wrap.c [-] CC lctype.c [-] CC pkwrite.c [-] CC ldebug.c [-] CC pkcs5.c [-] CC ldo.c [-] CC pkcs12.c [-] CC hardnested_bruteforce.c [-] CC ldump.c [-] CC lfunc.c [-] CC pkparse.c [-] CC lgc.c [-] CC llex.c [-] CC platform.c [-] CC lmem.c [=] AR tinycbor.a [-] CC platform_util.c [-] CC lobject.c [-] CC rsa.c [-] CC lopcodes.c [-] CC lparser.c [-] CC rsa_internal.c [-] CC lstate.c [-] CC lstring.c [-] CC sha1.c [-] CC ltable.c [-] CC ltm.c [-] CC sha256.c [-] CC lundump.c [-] CC sha512.c [-] CC lvm.c [-] CC threading.c [-] CC lzio.c [-] CC lauxlib.c [-] CC x509.c [-] CC x509_crl.c [-] CC lbaselib.c [-] CC x509_crt.c [-] CC lbitlib.c [-] CC lcorolib.c [-] CC ldblib.c [-] CC liolib.c [-] CC lmathlib.c [-] CC loslib.c [-] CC lstrlib.c [-] CC ltablib.c [=] AR libhardnested.a [-] CC loadlib.c [-] CC linit.c [=] AR libreveng.a [-] CXX src/proxgui.cpp [=] AR liblua.a [=] AR libcliparser.a [=] AR libmbedtls.a [=] LD proxmark3 ld: warning: ignoring file /usr/local/lib/libjansson.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/Cellar/qt@5/5.15.3/lib/QtWidgets.framework/QtWidgets, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/Cellar/qt@5/5.15.3/lib/QtCore.framework/QtCore, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/opt/readline/lib/libreadline.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 ld: warning: ignoring file /usr/local/Cellar/qt@5/5.15.3/lib/QtGui.framework/QtGui, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "qunsetenv(char const*)", referenced from: _InitGraphics in proxgui.o "QArrayData::deallocate(QArrayData*, unsigned long, unsigned long)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o ... "QArrayData::shared_null", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QBoxLayout::addLayout(QLayout*, int)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QBoxLayout::addWidget(QWidget*, int, QFlags)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QByteArray::fromBase64(QByteArray const&)", referenced from: ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QByteArray::QByteArray(char const*, int)", referenced from: ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QTabWidget::setTabText(int, QString const&)", referenced from: Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QTabWidget::setCurrentIndex(int)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QTabWidget::addTab(QWidget*, QString const&)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QTabWidget::QTabWidget(QWidget*)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QFormLayout::setWidget(int, QFormLayout::ItemRole, QWidget*)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QFormLayout::QFormLayout(QWidget*)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QHBoxLayout::QHBoxLayout()", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QMetaObject::Connection::~Connection()", referenced from: ProxGuiQT::_StartProxmarkThread() in proxguiqt.o ProxGuiQT::MainLoop() in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QMetaObject::connectSlotsByName(QObject*)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QMetaObject::activate(QObject*, QMetaObject const*, int, void**)", referenced from: ProxGuiQT::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in proxguiqt.moc.o ProxGuiQT::ShowGraphWindowSignal() in proxguiqt.moc.o ProxGuiQT::RepaintGraphWindowSignal() in proxguiqt.moc.o ProxGuiQT::HideGraphWindowSignal() in proxguiqt.moc.o ProxGuiQT::ExitSignal() in proxguiqt.moc.o ProxGuiQT::ShowPictureWindowSignal(char*) in proxguiqt.moc.o ProxGuiQT::ShowBase64PictureWindowSignal(char*) in proxguiqt.moc.o ... "QPushButton::QPushButton(QWidget*)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QVBoxLayout::QVBoxLayout(QWidget*)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QVBoxLayout::QVBoxLayout()", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QApplication::exec()", referenced from: ProxGuiQT::MainLoop() in proxguiqt.o "QApplication::QApplication(int&, char**, int)", referenced from: ProxGuiQT::MainLoop() in proxguiqt.o "QPainterPath::lineTo(QPointF const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o "QPainterPath::moveTo(QPointF const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o "QPainterPath::QPainterPath()", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o "QPainterPath::~QPainterPath()", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o "QAbstractButton::setText(QString const&)", referenced from: Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QAbstractSlider::setMaximum(int)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QAbstractSlider::setMinimum(int)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QAbstractSlider::setOrientation(Qt::Orientation)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QAbstractSlider::setValue(int)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QCoreApplication::quit()", referenced from: ProxGuiQT::~ProxGuiQT() in proxguiqt.o "QCoreApplication::translate(char const*, char const*, char const*, int)", referenced from: Ui_PictureForm::retranslateUi(QWidget*) in proxguiqt.o Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QPen::QPen(QColor const&)", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPen::~QPen()", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QFont::setStyle(QFont::Style)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QFont::QFont(QString const&, int, int, bool)", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QFont::QFont()", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QFont::~QFont()", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QBrush::QBrush(QColor const&, Qt::BrushStyle)", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o Plot::Plot(QWidget*) in proxguiqt.o "QBrush::~QBrush()", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o Plot::Plot(QWidget*) in proxguiqt.o "QLabel::setAlignment(QFlags)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QLabel::setScaledContents(bool)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QLabel::setText(QString const&)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o Ui_PictureForm::retranslateUi(QWidget*) in proxguiqt.o Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QLabel::setPixmap(QPixmap const&)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QLabel::QLabel(QWidget*, QFlags)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QTimer::singleShot(int, QObject const*, char const*)", referenced from: ProxGuiQT::MainLoop() in proxguiqt.o "QLayout::setContentsMargins(int, int, int, int)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QObject::childEvent(QChildEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::timerEvent(QTimerEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::customEvent(QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::eventFilter(QObject*, QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::qt_metacall(QMetaObject::Call, int, void**)", referenced from: ProxGuiQT::qt_metacall(QMetaObject::Call, int, void**) in proxguiqt.moc.o "QObject::qt_metacast(char const*)", referenced from: ProxGuiQT::qt_metacast(char const*) in proxguiqt.moc.o "QObject::connectNotify(QMetaMethod const&)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::setObjectName(QString const&)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QObject::disconnectNotify(QMetaMethod const&)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o vtable for WorkerThread in proxguiqt.moc.o vtable for ProxGuiQT in proxguiqt.moc.o "QObject::staticMetaObject", referenced from: ProxGuiQT::staticMetaObject in proxguiqt.moc.o "QObject::event(QEvent*)", referenced from: vtable for ProxGuiQT in proxguiqt.moc.o "QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType)", referenced from: ProxGuiQT::_StartProxmarkThread() in proxguiqt.o ProxGuiQT::MainLoop() in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QObject::QObject(QObject*)", referenced from: ProxGuiQT::ProxGuiQT(int, char**, WorkerThread*) in proxguiqt.o ProxGuiQT::ProxGuiQT(int, char**, WorkerThread*) in proxguiqt.o "QObject::~QObject()", referenced from: ProxGuiQT::~ProxGuiQT() in proxguiqt.o "QPixmap::loadFromData(unsigned char const*, unsigned int, char const*, QFlags)", referenced from: ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QPixmap::load(QString const&, char const*, QFlags)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o "QPixmap::QPixmap()", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QPixmap::~QPixmap()", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QSlider::QSlider(QWidget*)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QString::fromUtf8_helper(char const*, int)", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QString::fromAscii_helper(char const*, int)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QThread::qt_metacall(QMetaObject::Call, int, void**)", referenced from: WorkerThread::qt_metacall(QMetaObject::Call, int, void**) in proxguiqt.moc.o "QThread::qt_metacast(char const*)", referenced from: WorkerThread::qt_metacast(char const*) in proxguiqt.moc.o "QThread::staticMetaObject", referenced from: WorkerThread::staticMetaObject in proxguiqt.moc.o "QThread::event(QEvent*)", referenced from: vtable for WorkerThread in proxguiqt.moc.o "QThread::start(QThread::Priority)", referenced from: ProxGuiQT::_StartProxmarkThread() in proxguiqt.o "QThread::QThread(QObject*)", referenced from: WorkerThread::WorkerThread(char*, char*, bool) in proxgui.o WorkerThread::WorkerThread(char*, char*, bool) in proxgui.o _InitGraphics in proxgui.o "QThread::~QThread()", referenced from: WorkerThread::~WorkerThread() in proxgui.o WorkerThread::~WorkerThread() in proxgui.o WorkerThread::~WorkerThread() in proxgui.o "QWidget::closeEvent(QCloseEvent*)", referenced from: vtable for SliderWidget in proxguiqt.o "QWidget::enterEvent(QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::leaveEvent(QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::paintEvent(QPaintEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::setPalette(QPalette const&)", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QWidget::setVisible(bool)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::wheelEvent(QWheelEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::actionEvent(QActionEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::changeEvent(QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::nativeEvent(QByteArray const&, void*, long*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::qt_metacall(QMetaObject::Call, int, void**)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o ProxWidget::qt_metacall(QMetaObject::Call, int, void**) in proxguiqt.moc.o "QWidget::qt_metacast(char const*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o ProxWidget::qt_metacast(char const*) in proxguiqt.moc.o "QWidget::resizeEvent(QResizeEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for Plot in proxguiqt.o "QWidget::setGeometry(QRect const&)", referenced from: SliderWidget::SliderWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QWidget::tabletEvent(QTabletEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::focusInEvent(QFocusEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::dragMoveEvent(QDragMoveEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::focusOutEvent(QFocusEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::keyPressEvent(QKeyEvent*)", referenced from: Plot::keyPressEvent(QKeyEvent*) in proxguiqt.o vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::dragEnterEvent(QDragEnterEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::dragLeaveEvent(QDragLeaveEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::mouseMoveEvent(QMouseEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::setFocusPolicy(Qt::FocusPolicy)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o Plot::Plot(QWidget*) in proxguiqt.o "QWidget::setWindowTitle(QString const&)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o Plot::Plot(QWidget*) in proxguiqt.o Ui_PictureForm::retranslateUi(QWidget*) in proxguiqt.o Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QWidget::keyReleaseEvent(QKeyEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::mousePressEvent(QMouseEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::contextMenuEvent(QContextMenuEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::inputMethodEvent(QInputMethodEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::staticMetaObject", referenced from: Plot::Plot(QWidget*) in proxguiqt.o ProxWidget::staticMetaObject in proxguiqt.moc.o "QWidget::mouseReleaseEvent(QMouseEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::focusNextPrevChild(bool)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::mouseDoubleClickEvent(QMouseEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::setAutoFillBackground(bool)", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QWidget::hide()", referenced from: ProxGuiQT::_HideGraphWindow() in proxguiqt.o ProxGuiQT::_HidePictureWindow() in proxguiqt.o PictureWidget::closeEvent(QCloseEvent*) in proxguiqt.o ProxWidget::closeEvent(QCloseEvent*) in proxguiqt.o ProxWidget::hideEvent(QHideEvent*) in proxguiqt.o ProxWidget::showEvent(QShowEvent*) in proxguiqt.o Plot::closeEvent(QCloseEvent*) in proxguiqt.o ... "QWidget::move(QPoint const&)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QWidget::show()", referenced from: ProxGuiQT::_ShowGraphWindow() in proxguiqt.o ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o ProxWidget::showEvent(QShowEvent*) in proxguiqt.o "QWidget::close()", referenced from: ProxGuiQT::~ProxGuiQT() in proxguiqt.o ProxWidget::~ProxWidget() in proxguiqt.o "QWidget::event(QEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::resize(QSize const&)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o ProxGuiQT::MainLoop() in proxguiqt.o Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o ... "QWidget::update()", referenced from: ProxGuiQT::_RepaintGraphWindow() in proxguiqt.o ProxGuiQT::_RepaintPictureWindow() in proxguiqt.o Plot::wheelEvent(QWheelEvent*) in proxguiqt.o Plot::mouseMoveEvent(QMouseEvent*) in proxguiqt.o Plot::keyPressEvent(QKeyEvent*) in proxguiqt.o "QWidget::setFont(QFont const&)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QWidget::dropEvent(QDropEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::hideEvent(QHideEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o "QWidget::moveEvent(QMoveEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for Plot in proxguiqt.o "QWidget::setLayout(QLayout*)", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QWidget::showEvent(QShowEvent*)", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o "QWidget::QWidget(QWidget*, QFlags)", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o "QWidget::QWidget(QWidget*, QFlags)", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o ProxGuiQT::MainLoop() in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o ... "QWidget::~QWidget()", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o ProxGuiQT::MainLoop() in proxguiqt.o PictureWidget::PictureWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o SliderWidget::SliderWidget() in proxguiqt.o ... "QPainter::setPen(QColor const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::setFont(QFont const&)", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::drawPath(QPainterPath const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o "QPainter::drawText(QPointF const&, QString const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::fillRect(QRect const&, QColor const&)", referenced from: Plot::PlotDemod(unsigned char*, unsigned long, QRect, QRect, QPainter*, int, unsigned int) in proxguiqt.o Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::drawLines(QLine const*, int)", referenced from: Plot::PlotGraph(int*, unsigned long, QRect, QRect, QPainter*, int) in proxguiqt.o Plot::plotGridLines(QPainter*, QRect) in proxguiqt.o Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::QPainter(QPaintDevice*)", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPainter::~QPainter()", referenced from: Plot::paintEvent(QPaintEvent*) in proxguiqt.o "QPalette::setBrush(QPalette::ColorGroup, QPalette::ColorRole, QBrush const&)", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QPalette::QPalette(QColor const&)", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QPalette::~QPalette()", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QTabWidget::indexOf(QWidget*) const", referenced from: Ui_Form::retranslateUi(QWidget*) in proxguiqt.o "QMetaObject::tr(char const*, char const*, int) const", referenced from: Plot::Plot(QWidget*) in proxguiqt.o "QObjectData::dynamicMetaObject() const", referenced from: ProxWidget::metaObject() const in proxguiqt.moc.o WorkerThread::metaObject() const in proxguiqt.moc.o ProxGuiQT::metaObject() const in proxguiqt.moc.o "QMessageLogger::warning(char const*, ...) const", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QAbstractSlider::value() const", referenced from: ProxWidget::vchange_dthr_up(int) in proxguiqt.o ProxWidget::vchange_dthr_down(int) in proxguiqt.o "QObject::objectName() const", referenced from: Ui_PictureForm::setupUi(QWidget*) in proxguiqt.o Ui_Form::setupUi(QWidget*) in proxguiqt.o "QPixmap::size() const", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QString::arg(QString const&, int, QChar) const", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QString::arg(long long, int, int, QChar) const", referenced from: ProxGuiQT::_ShowPictureWindow(char*) in proxguiqt.o ProxGuiQT::_ShowBase64PictureWindow(char*) in proxguiqt.o "QWidget::metaObject() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o "QWidget::redirected(QPoint*) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::initPainter(QPainter*) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::paintEngine() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::sharedPainter() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::heightForWidth(int) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::minimumSizeHint() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::inputMethodQuery(Qt::InputMethodQuery) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::hasHeightForWidth() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::x() const", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QWidget::y() const", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QWidget::metric(QPaintDevice::PaintDeviceMetric) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::devType() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::sizeHint() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "QWidget::frameSize() const", referenced from: ProxWidget::ProxWidget(QWidget*, ProxGuiQT*) in proxguiqt.o "QKeyEvent::modifiers() const", referenced from: Plot::keyPressEvent(QKeyEvent*) in proxguiqt.o "typeinfo for QObject", referenced from: typeinfo for ProxGuiQT in proxguiqt.moc.o "typeinfo for QThread", referenced from: typeinfo for WorkerThread in proxguiqt.moc.o "typeinfo for QWidget", referenced from: typeinfo for PictureWidget in proxguiqt.o typeinfo for SliderWidget in proxguiqt.o typeinfo for Plot in proxguiqt.o typeinfo for ProxWidget in proxguiqt.moc.o "vtable for QSpacerItem", referenced from: Ui_Form::setupUi(QWidget*) in proxguiqt.o NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "non-virtual thunk to QWidget::redirected(QPoint*) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "non-virtual thunk to QWidget::initPainter(QPainter*) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "non-virtual thunk to QWidget::paintEngine() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "non-virtual thunk to QWidget::sharedPainter() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "non-virtual thunk to QWidget::metric(QPaintDevice::PaintDeviceMetric) const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "non-virtual thunk to QWidget::devType() const", referenced from: vtable for PictureWidget in proxguiqt.o vtable for SliderWidget in proxguiqt.o vtable for Plot in proxguiqt.o vtable for ProxWidget in proxguiqt.moc.o "_add_history", referenced from: _pm3line_add_history in pm3line.o (maybe you meant: _pm3line_add_history) "_history_get", referenced from: _pm3line_add_history in pm3line.o "_history_length", referenced from: _pm3line_add_history in pm3line.o "_json_array", referenced from: _CmdEMVScan in cmdemv.o _JsonSaveTLVTree in emvjson.o "_json_array_append_new", referenced from: _CmdEMVScan in cmdemv.o _JsonSaveTLVElm in emvjson.o _JsonSaveTLVTree in emvjson.o "_json_array_get", referenced from: _print_aiddf_description in aiddesfire.o _AIDSearchGetElm in aidsearch.o _PrintAIDDescription in aidsearch.o _CmdSmartBruteforceSFI in cmdsmartcard.o _ParamLoadFromJson in emvjson.o _JsonToCbor in cbortools.o _json_path_get in jansson_path.o ... "_json_array_set_new", referenced from: _json_path_set_new in jansson_path.o "_json_array_size", referenced from: _print_aiddf_description in aiddesfire.o _AIDSearchInit in aidsearch.o _PrintAIDDescription in aidsearch.o _infoHF14A in cmdhf14a.o _hf14b_aid_search in cmdhf14b.o _CmdSmartBruteforceSFI in cmdsmartcard.o _ParamLoadFromJson in emvjson.o ... "_json_delete", referenced from: _AIDDFDecodeAndPrint in aiddesfire.o _AIDSearchFree in aidsearch.o _PrintAIDDescription in aidsearch.o _CmdHFFidoRegister in cmdhffido.o _CmdHFFidoAuthenticate in cmdhffido.o _CmdHFFido2MakeCredential in cmdhffido.o _CmdHFFido2GetAssertion in cmdhffido.o ... "_json_dump_file", referenced from: _CmdEMVScan in cmdemv.o _saveFileJSONex in fileutils.o _saveFileJSONroot in fileutils.o _saveFileJSONrootEx in fileutils.o "_json_false", referenced from: _JsonSaveBoolean in emvjson.o "_json_integer", referenced from: _JsonSaveInt in emvjson.o "_json_integer_value", referenced from: _ParamLoadFromJson in emvjson.o _JsonToCbor in cbortools.o "_json_load_file", referenced from: _AIDDFDecodeAndPrint in aiddesfire.o _AIDSearchInit in aidsearch.o _CmdSmartBruteforceSFI in cmdsmartcard.o _asn1_tag_dump in asn1dump.o _CmdEMVScan in cmdemv.o _ParamLoadFromJson in emvjson.o _loadFileJSONex in fileutils.o ... "_json_object", referenced from: _CmdEMVScan in cmdemv.o _JsonSaveTLVElm in emvjson.o _JsonSaveTLVTree in emvjson.o _saveFileJSONex in fileutils.o _json_path_set_new in jansson_path.o "_json_object_get", referenced from: _print_aiddf_description in aiddesfire.o _AIDGetFromElm in aidsearch.o _PrintAIDDescription in aidsearch.o _CmdSmartBruteforceSFI in cmdsmartcard.o _asn1_tag_dump in asn1dump.o _ParamLoadFromJson in emvjson.o _CBOREncodeElm in cbortools.o ... "_json_object_iter", referenced from: _JsonToCbor in cbortools.o "_json_object_iter_key", referenced from: _JsonToCbor in cbortools.o "_json_object_iter_next", referenced from: _JsonToCbor in cbortools.o "_json_object_iter_value", referenced from: _JsonToCbor in cbortools.o "_json_object_key_to_iter", referenced from: _JsonToCbor in cbortools.o "_json_object_set_new", referenced from: _CmdEMVScan in cmdemv.o _JsonSaveJsonObject in emvjson.o _JsonSaveInt in emvjson.o _JsonSaveStr in emvjson.o _JsonSaveBoolean in emvjson.o _JsonSaveBufAsHexCompact in emvjson.o _JsonSaveBufAsHex in emvjson.o ... "_json_real_value", referenced from: _JsonToCbor in cbortools.o "_json_string", referenced from: _JsonSaveStr in emvjson.o _JsonSaveBufAsHexCompact in emvjson.o _JsonSaveBufAsHex in emvjson.o _JsonSaveTLVElm in emvjson.o "_json_string_value", referenced from: _print_aiddf_description in aiddesfire.o _AIDGetFromElm in aidsearch.o _PrintAIDDescription in aidsearch.o _CmdSmartBruteforceSFI in cmdsmartcard.o _JsonLoadStr in emvjson.o _JsonLoadBufAsHex in emvjson.o _ParamLoadFromJson in emvjson.o ... "_json_true", referenced from: _JsonSaveBoolean in emvjson.o "_json_unpack_ex", referenced from: _preferences_load_callback in preferences.o "_read_history", referenced from: _pm3line_load_history in pm3line.o "_readline", referenced from: _pm3line_read in pm3line.o "_rl_attempted_completion_function", referenced from: _pm3line_init in pm3line.o "_rl_attempted_completion_over", referenced from: _rl_command_completion in pm3line.o "_rl_catch_signals", referenced from: _pm3line_install_signals in pm3line.o "_rl_completion_matches", referenced from: _rl_command_completion in pm3line.o "_rl_copy_text", referenced from: _fPrintAndLog in ui.o "_rl_end", referenced from: _fPrintAndLog in ui.o "_rl_event_hook", referenced from: _pm3line_check in pm3line.o "_rl_extend_line_buffer", referenced from: _pm3line_init in pm3line.o "_rl_forced_update_display", referenced from: _pm3line_update_prompt in pm3line.o "_rl_get_screen_size", referenced from: _print_progress in ui.o "_rl_line_buffer", referenced from: _rl_command_generator in pm3line.o "_rl_point", referenced from: _fPrintAndLog in ui.o "_rl_readline_name", referenced from: _pm3line_init in pm3line.o "_rl_readline_state", referenced from: _fPrintAndLog in ui.o "_rl_redisplay", referenced from: _fPrintAndLog in ui.o "_rl_replace_line", referenced from: _fPrintAndLog in ui.o "_rl_reset_screen_size", referenced from: _print_progress in ui.o "_rl_restore_prompt", referenced from: _fPrintAndLog in ui.o "_rl_save_prompt", referenced from: _fPrintAndLog in ui.o "_rl_set_prompt", referenced from: _pm3line_update_prompt in pm3line.o "_rl_set_signals", referenced from: _pm3line_install_signals in pm3line.o "_using_history", referenced from: _pm3line_init in pm3line.o "_write_history", referenced from: _sigint_handler in pm3line.o _pm3line_flush_history in pm3line.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [proxmark3] Error 1 make: *** [client/all] Error 2 ```
iceman1001 commented 2 years ago

CLANG 13... seems to be annoyed with the OPENSSL , readline, cbor , QT... did you setup the devenv correct?

alfonsrv commented 2 years ago

I installed the dependencies as outlined here – however I worked around this by using the brew tap, which somehow failed due to an M1-specific OS upgrade error that's solved after rebooting.

CalfCrusher commented 1 year ago

I tried everything but i'm still unable to compile on OSX M1 getting ld: unaligned pointer(s) for architecture arm64