call of overloaded 'print(int32_t*&)' is ambiguous

error: call of overloaded ‘print(int32_t*&)’ is ambiguous
Serial.print(value);
^
/Users/Hamroush/Documents/Arduino/sketch_mar17a/sketch_mar17a.ino:55:21: note: candidates are:
In file included from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Stream.h:26:0,
from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial.h:29,
from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232,
from sketch/sketch_mar17a.ino.cpp:1:
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:61:12: note: size_t Print::print(char)
size_t print(char);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:61:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘char’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:62:12: note: size_t Print::print(unsigned char, int)
size_t print(unsigned char, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:62:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘unsigned char’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:63:12: note: size_t Print::print(int, int)
size_t print(int, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:63:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:64:12: note: size_t Print::print(unsigned int, int)
size_t print(unsigned int, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:64:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘unsigned int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:65:12: note: size_t Print::print(long int, int)
size_t print(long, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:65:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘long int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:66:12: note: size_t Print::print(long unsigned int, int)
size_t print(unsigned long, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:66:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘long unsigned int’
sketch_mar17a:69: error: call of overloaded ‘print(int32_t*&)’ is ambiguous
Serial.print(value);
^
/Users/Hamroush/Documents/Arduino/sketch_mar17a/sketch_mar17a.ino:69:21: note: candidates are:
In file included from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Stream.h:26:0,
from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/HardwareSerial.h:29,
from /private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h:232,
from sketch/sketch_mar17a.ino.cpp:1:
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:61:12: note: size_t Print::print(char)
size_t print(char);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:61:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘char’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:62:12: note: size_t Print::print(unsigned char, int)
size_t print(unsigned char, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:62:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘unsigned char’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:63:12: note: size_t Print::print(int, int)
size_t print(int, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:63:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:64:12: note: size_t Print::print(unsigned int, int)
size_t print(unsigned int, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:64:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘unsigned int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:65:12: note: size_t Print::print(long int, int)
size_t print(long, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:65:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘long int’
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:66:12: note: size_t Print::print(long unsigned int, int)
size_t print(unsigned long, int = DEC);
^
/private/var/folders/xt/3gq9_50x527d0_z83rr44hx40000gp/T/AppTranslocation/CDAD9206-3C3A-4C9F-B48E-89CAAD36693A/d/Arduino-2.app/Contents/Java/hardware/arduino/avr/cores/arduino/Print.h:66:12: note: no known conversion for argument 1 from ‘int32_t* {aka long int*}’ to ‘long unsigned int’
exit status 1
call of overloaded ‘print(int32_t*&)’ is ambiguous

sketch_mar17a.ino (1.87 KB)

The type of your "value" variable is pointer to int32_t, as I can see in this declaration:

int32_t* value;

Try:

Serial.println(*value);

now it compiles but still doesnt work as what appears on the serial monitor:
Firmware Version: 0x88 = (clone)
Authenticating again using key B...
�!��
s

while it should be or what i need it to be is:
Firmware Version: 0x88 = (clone)
Authenticating again using key B...
500
500

I think that you have to send the address of the variable to the MIFARE_GetValue method, not the pointer.
Try code from the attachment.

sketch_mar17a_fix.ino (1.88 KB)

it worked thanks a lot man you saved my life