Proxmark / proxmark3

Proxmark 3
http://www.proxmark.org/
GNU General Public License v2.0
3.17k stars 910 forks source link

Undefined reference to 'CmdPacDemod' & 'CmdLFPac' #357

Closed Fl0-0 closed 7 years ago

Fl0-0 commented 7 years ago

cmdlfpac.c reference is missing in client/Makefile

obj/cmdlf.o: In function `CmdLFfind':
/home/fl0/RFID/proxmark3/client/cmdlf.c:1059: undefined reference to `CmdPacDemod'
obj/cmdlf.o:(.data.rel+0x1a8): undefined reference to `CmdLFPac'
collect2: error: ld returned 1 exit status
Makefile:214: recipe for target 'proxmark3' failed
make[1]: *** [proxmark3] Error 1
make[1]: Leaving directory '/home/fl0/RFID/proxmark3/client'
Makefile:33: recipe for target 'client/all' failed
make: *** [client/all] Error 2

Fix:

diff --git a/client/Makefile b/client/Makefile
index d05bdc4..471d2f5 100644
--- a/client/Makefile
+++ b/client/Makefile
@@ -140,6 +140,7 @@ CMDSRCS =   crapto1/crapto1.c\
                        cmdlfti.c \
                        cmdlfviking.c\
                        cmdlfvisa2000.c\
+                       cmdlfpac.c\
                        cmdparser.c \
                        cmdmain.c \
                        scripting.c\
marshmellow42 commented 7 years ago

Thanks! Sorry about that. I had some conflicts and I must have missed that file after resolving...