RfidResearchGroup / proxmark3

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

Compile fail src/lz4frame.h missing #2314

Closed mmiller7 closed 4 months ago

mmiller7 commented 4 months ago

Things to try before submitting bug report read the troubleshooting guide

Compilation problems Try compiling with verbose. make VERBOSE=1 with main makefile or make V=1 with cmake.

Verbose compilation attached

Describe the bug After pulling the latest updates from repository, compiling the latest pull from repository fails with a missing header file. Previously I have had successful builds up thru at least Aug 2023.

To Reproduce Steps to reproduce the behavior: Attempt to build makefile

Expected behavior Compiles successfully

Screenshots

$ make clean && make VERBOSE=1

===================================================================
Version info:      Iceman/master/v4.18218-51-g8340d60e8
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 GENERAL_HF ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   LF_SAMYRUN
===================================================================
[*] MAKE client/clean
===================================================================
Version info:      Iceman/master/v4.18218-51-g8340d60e8
Client platform:   Linux
GUI support:       QT5 found, enabled (Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu)
native BT support: Bluez found, enabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 v3.10 found, enabled
GD library:        GD not found, disabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Python SWIG:       wrapper found
compiler version:  cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
===================================================================
PLATFORM Linux
[*] 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
[*] MAKE cryptorf/clean

===================================================================
Version info:      Iceman/master/v4.18218-51-g8340d60e8
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 GENERAL_HF ISO15693 LEGICRF ISO14443b ISO14443a ICLASS FELICA NFCBARCODE HFSNIFF HFPLOT
Standalone mode:   LF_SAMYRUN
===================================================================
[*] MAKE client/all
===================================================================
Version info:      Iceman/master/v4.18218-51-g8340d60e8
Client platform:   Linux
GUI support:       QT5 found, enabled (Qt version 5.15.3 in /usr/lib/x86_64-linux-gnu)
native BT support: Bluez found, enabled
Jansson library:   system library not found, using local library
Lua library:       system library not found, using local library
Python3 library:   Python3 v3.10 found, enabled
GD library:        GD not found, disabled
Readline library:  enabled
Whereami library:  system library not found, using local library
Lua SWIG:          wrapper found
Python SWIG:       wrapper found
compiler version:  cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
===================================================================
[-] CC src/mifare/aiddesfire.c
[-] CC src/aidsearch.c
[-] CC src/atrs.c
[-] CC src/cmdanalyse.c
[-] CC src/cmdcrc.c
[-] CC src/cmddata.c
[-] 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/cmdhffudan.c
[-] CC src/cmdhfgallagher.c
[-] CC src/cmdhfksx6924.c
[-] CC src/cmdhfcipurse.c
[-] CC src/cmdhficlass.c
[-] CC src/cmdhfict.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
src/cmdhfmfhard.c:33:10: fatal error: lz4frame.h: No such file or directory
   33 | #include <lz4frame.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:979: obj/cmdhfmfhard.o] Error 1
make: *** [Makefile:177: client/all] Error 2

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

iceman1001 commented 4 months ago

Did you install all dependencies according to the guides?

The reason for me asking is that we changed it some months ago where we introduced a new dependency to liblz4...