Proxmark3 community

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.

Announcement

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.

#1 2015-11-18 23:10:08

Pummarola
Contributor
Registered: 2015-10-19
Posts: 36

[ERROR] Compiling Android Client in NDK

I was just trying to have fun compiling latest proxdroid(https://github.com/marcv81/proxdroid) client version inside NDK. Specified jni location and started with ndk-build, but unfortunately i got some errors.


/home/androide/Downloads/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: /home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/proxmark3.o: multiple definition of 'SendCommand'
/home/androide/Downloads/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: /home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/proxusb.o: previous definition here
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:146: error: undefined reference to 'DetectASKClock'
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:166: error: undefined reference to 'countFC'
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:191: error: undefined reference to 'DetectPSKClock'
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:216: error: undefined reference to 'DetectNRZClock'
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:252: error: undefined reference to 'countFC'
/home/androide/proxdroid/jni/../proxmark3/client/graph.c:260: error: undefined reference to 'detectFSKClk'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:477: error: undefined reference to 'BiphaseRawDecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1493: error: undefined reference to 'askdemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1499: error: undefined reference to 'BiphaseRawDecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1505: error: undefined reference to 'FDXBdemodBI'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1514: error: undefined reference to 'removeParity'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1527: error: undefined reference to 'bytebits_to_byteLSBF'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1527: error: undefined reference to 'bytebits_to_byteLSBF'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1528: error: undefined reference to 'bytebits_to_byteLSBF'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1530: error: undefined reference to 'bytebits_to_byteLSBF'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1535: error: undefined reference to 'bytebits_to_byte'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1535: error: undefined reference to 'bytebits_to_byte'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:575: error: undefined reference to 'gProxII_Demod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:620: error: undefined reference to 'bytebits_to_byte'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:621: error: undefined reference to 'bytebits_to_byte'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1031: error: undefined reference to 'HIDdemodFSK'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1117: error: undefined reference to 'ParadoxdemodFSK'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1170: error: undefined reference to 'IOdemodFSK'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1252: error: undefined reference to 'AWIDdemodFSK'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1290: error: undefined reference to 'removeParity'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1350: error: undefined reference to 'PyramiddemodFSK'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1397: error: undefined reference to 'CRC8Maxim'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1406: error: undefined reference to 'removeParity'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:423: error: undefined reference to 'manrawdecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:434: error: undefined reference to 'Em410xDecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:255: error: undefined reference to 'Em410xDecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:333: error: undefined reference to 'askdemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:650: error: undefined reference to 'VikingDemod_AM'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:508: error: undefined reference to 'askdemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:515: error: undefined reference to 'BiphaseRawDecode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:961: error: undefined reference to 'countFC'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:972: error: undefined reference to 'detectFSKClk'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:975: error: undefined reference to 'fskdemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1574: error: undefined reference to 'countFC'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1580: error: undefined reference to 'pskRawDemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1619: error: undefined reference to 'indala26decode'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1659: error: undefined reference to 'preambleSearch'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1663: error: undefined reference to 'preambleSearch'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1714: error: undefined reference to 'nrzRawDemod'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1813: error: undefined reference to 'psk1TOpsk2'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:1944: error: undefined reference to 'headBit'
/home/androide/proxdroid/jni/../proxmark3/client/cmddata.c:2276: error: undefined reference to 'pushBit'
/home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/cmdhf.o:cmdhf.c:CommandTable: error: undefined reference to 'CmdHFMFUltra'
/home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/cmdhf.o:cmdhf.c:CommandTable: error: undefined reference to 'CmdHFTopaz'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhf14a.c:181: error: undefined reference to 'GetHF14AMfU_Type'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhf14a.c:182: error: undefined reference to 'ul_print_type'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1192: error: undefined reference to 'bruteforceFileNoKeys'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1200: error: undefined reference to 'testCipherUtils'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1201: error: undefined reference to 'testMAC'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1202: error: undefined reference to 'doKeyTests'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1203: error: undefined reference to 'testElite'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1206: error: undefined reference to 'prnlog'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:171: error: undefined reference to 'saveFile'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:209: error: undefined reference to 'printIclassDumpInfo'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:292: error: undefined reference to 'printIclassDumpInfo'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:297: error: undefined reference to 'prnlog'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:384: error: undefined reference to 'des3_set2key_dec'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:402: error: undefined reference to 'printvar'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:400: error: undefined reference to 'des3_crypt_ecb'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:408: error: undefined reference to 'saveFile'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:436: error: undefined reference to 'des3_set2key_enc'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:438: error: undefined reference to 'des3_crypt_ecb'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:459: error: undefined reference to 'printvar'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:467: error: undefined reference to 'doMAC_N'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1314: error: undefined reference to 'hash2'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1315: error: undefined reference to 'hash1'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1320: error: undefined reference to 'permutekey_rev'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:1323: error: undefined reference to 'diversifyKey'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:513: error: undefined reference to 'doMAC'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:671: error: undefined reference to 'getMemConfig'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:675: error: undefined reference to 'ul_switch_off_field'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:680: error: undefined reference to 'ul_switch_off_field'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:691: error: undefined reference to 'ul_switch_off_field'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:698: error: undefined reference to 'ul_switch_off_field'
/home/androide/proxdroid/jni/../proxmark3/client/cmdhficlass.c:775: error: undefined reference to 'saveFile'
/home/androide/proxdroid/jni/../proxmark3/client/cmdlf.c:958: error: undefined reference to 'psk2TOpsk1'
/home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/cmdlf.o:cmdlf.c:CommandTable: error: undefined reference to 'CmdLFAWID'
/home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/cmdlf.o:cmdlf.c:CommandTable: error: undefined reference to 'CmdLFIO'
/home/androide/proxdroid/jni/../proxmark3/client/cmdmain.c:147: error: undefined reference to 'nsleep'
/home/androide/proxdroid/obj/local/armeabi/objs/proxmark3/client/cmdmain.o:cmdmain.c:CommandTable: error: undefined reference to 'CmdScript'
/home/androide/proxdroid/jni/../proxmark3/client/proxmark3.c:74: error: undefined reference to 'uart_receive'
/home/androide/proxdroid/jni/../proxmark3/client/proxmark3.c:88: error: undefined reference to 'uart_send'
/home/androide/proxdroid/jni/../proxmark3/client/proxmark3.c:228: error: undefined reference to 'uart_open'
/home/androide/proxdroid/jni/../proxmark3/client/proxmark3.c:269: error: undefined reference to 'uart_close'
/home/androide/proxdroid/jni/../proxmark3/client/cmdlft55xx.c:360: error: undefined reference to 'psk1TOpsk2'
/home/androide/proxdroid/jni/../proxmark3/client/cmdlft55xx.c:498: error: undefined reference to 'psk1TOpsk2'
/home/androide/proxdroid/jni/../proxmark3/client/cmdlft55xx.c:509: error: undefined reference to 'psk1TOpsk2'
collect2: error: ld returned 1 exit status
make: *** [/home/androide/proxdroid/obj/local/armeabi/proxmark3] Error 1
make: Leaving directory `/home/androide/proxdroid/jni'
androide@androide-VPC:~/Downloads/android-ndk-r10e$ 

If you have hints, they are appreciated.

edit: actually i think this project is a little bit dead because of old source. That's sad.

Regards.

Last edited by Pummarola (2015-11-18 23:15:35)

Offline

#2 2015-11-18 23:53:12

asper
Contributor
Registered: 2008-08-24
Posts: 1,409

Re: [ERROR] Compiling Android Client in NDK

You don't read threads. Marcv81 code is extremely old, me and jonor managed To port it To a more recent release. This project offer NO support as stated in the 1st page proxdroid thread.

If Simeone want To contributo feel free To help but you are on tour own.

Last edited by asper (2015-11-18 23:56:06)

Offline

#3 2015-11-18 23:55:42

Pummarola
Contributor
Registered: 2015-10-19
Posts: 36

Re: [ERROR] Compiling Android Client in NDK

you are right, i noticed it after posting. My mistake was dued to git commit by marcv81 on 16-9-2015.

Offline

Board footer

Powered by FluxBB