adafruit finger print

Hello I’m french and in the 1 class i have an exam the tpe and for this i have choice to create a arduino program for Digital recognition drawer, but when i’m compile the code:
C:\Users\GWENAL~1\AppData\Local\Temp\cckkFCQp.ltrans0.ltrans.o: In function `main’:

cckkFCQp.ltrans0.o:(.text.startup+0x6e4): undefined reference to `getFingerprintIDez()’

collect2.exe: error: ld returned 1 exit status

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Uno

the code (not finish):
#include <Adafruit_Fingerprint.h>
#if ARDUINO >= 100
#include <SoftwareSerial.h>
#else
#include <NewSoftSerial.h>
#endif

int ledR = 8;
int ledV = 9;
int serrure = 6; //borne de la serrure
int printID = -1; //variable stockant identité du lecteur digitale
int timer = 0; //création d’un timer
int getFingerprintIDez();

#if ARDUINO >= 100
SoftwareSerial mySerial (2,3);
#else
NewSoftSerial mySerial (2,3);
#endif

Adafruit_Fingerprint finger = Adafruit_Fingerprint (&mySerial);

void setup (){
Serial.begin(9600); //initialisation de la connection serie sur 9600 bauds (pour les test de fonctionnement)
Serial.println(“fingertest”);

pinMode(ledR,OUTPUT);
pinMode(ledV,OUTPUT);
digitalWrite(ledR,LOW);
digitalWrite(ledV,LOW);

pinMode(6, INPUT); //initialisation de la broche de la serrure
finger.begin(57600); //initialisation de liaison serie avec le lecteur d’empreinte

if (finger.verifyPassword()){
Serial.println(“Unlock”);
}else{ //pour les test de fonctionnement.
Serial.println(“lock”);
while (1);
}

Serial.println(“en attente d’une empreinte valid”);
}

void loop(){
printID = getFingerprintIDez();
if(printID >= 0){
//empreinte valide
digitalWrite(serrure,HIGH);
digitalWrite(ledV,HIGH);
delay(1000);
digitalWrite(serrure,LOW);
digitalWrite(ledV,LOW);
//la led verte clignote une fois
timer = 0; //remise à zero du timer
}
else if (printID == -2){
//mauvais scan
digitalWrite(ledR,HIGH);
delay(500);
digitalWrite(ledR,LOW);
delay(500);
digitalWrite(ledR,HIGH);
delay(500);
digitalWrite(ledR,LOW);
// la led rouge clignote 2 fois
}else if(printID == -3){
//empreinte invalide
digitalWrite(ledR,HIGH);
delay(500);
digitalWrite(ledR,LOW);
delay(500);
digitalWrite(ledR,HIGH);
delay(500);
digitalWrite(ledR,LOW);
delay(500);
digitalWrite(ledR,HIGH);
delay(500);
digitalWrite(ledR,LOW);
// la led rouge clignote 3 fois
}
delay(100);
}

uint8_t getFingerprintID(){

}

thank you in advance

This line:

int getFingerprintIDez();

declares a prototype for a function called getFingerprintIDez. The compiler is complaining that the function is not defined. You might suppose that it's provided in the library, but a quick look reveals that it is not. You will need to add that function to your program yourself. Luckily though, you can find it in the fingerprint example Adafruit supplies - I went to github to find it here:

examples/fingerprint/fingerprint.ino