Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
You are not logged in.
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
cmdlffdx.c: In function ‘getFDXBits’:
cmdlffdx.c:91:2: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
memset(bits, 0x01, 128);
^
cmdlffdx.c:91:2: warning: incompatible implicit declaration of built-in function ‘memset’
cmdlffdx.c: In function ‘CmdFdxDemod’:
cmdlffdx.c:137:35: error: ‘FALSE’ undeclared (first use in this function)
if (!ASKbiphaseDemod("0 32 1 0", FALSE)) {
^
cmdlffdx.c:137:35: note: each undeclared identifier is reported only once for each function it appears in
cmdlffdx.c:160:2: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
memcpy(bits_no_spacer, DemodBuffer + 11, 117);
^
cmdlffdx.c:160:2: warning: incompatible implicit declaration of built-in function ‘memcpy’
cmdlffdx.c: In function ‘CmdFdxRead’:
cmdlffdx.c:205:22: error: ‘TRUE’ undeclared (first use in this function)
getSamples("10000", TRUE);
^
cmdlffdx.c: In function ‘CmdFdxClone’:
cmdlffdx.c:216:2: warning: incompatible implicit declaration of built-in function ‘memset’
memset(bs, 0, sizeof(bits));
^
cmdlffdx.c:219:2: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
if (strlen(Cmd) == 0 || cmdp == 'h' || cmdp == 'H') return usage_lf_fdx_clone();
^
cmdlffdx.c:219:6: warning: incompatible implicit declaration of built-in function ‘strlen’
if (strlen(Cmd) == 0 || cmdp == 'h' || cmdp == 'H') return usage_lf_fdx_clone();
^
cmdlffdx.c: In function ‘CmdFdxSim’:
cmdlffdx.c:274:6: warning: incompatible implicit declaration of built-in function ‘strlen’
if (strlen(Cmd) == 0 || cmdp == 'h' || cmdp == 'H') return usage_lf_fdx_sim();
^
Makefile:161: recipe for target 'obj/cmdlffdx.o' failed
make[1]: *** [obj/cmdlffdx.o] Error 1
make[1]: Leaving directory '/root/proxmark3/client'
Makefile:12: recipe for target 'client/all' failed
make: *** [client/all] Error 2
Offline
That would be a missing include. Thanks for reporting. I'll have a fix shortly.
Offline
the fix has been committed. please confirm when you have a chance, as i don't have kali setup.
Offline
No more errors. A warning still persists, you may want to fix this as well:
cmdlfindala.c: In function ‘CmdIndalaDecode’:
cmdlfindala.c:37:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (g_debugMode)
^~
cmdlfindala.c:39:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
return 0;
^~~~~~
Btw: I found Kali Linux a good test vehicle. It is much more nitpicking on missing includes than mingw.
Offline
i issued a pull that should fix that warning.
Btw: I found Kali Linux a good test vehicle. It is much more nitpicking on missing includes than mingw.
good to know. i'll have to spin up a copy.
Offline