After a long time spent installing the required libraries to compile wpa_supplicant, I was finally able to compile wpa_supplicant 2.5 with p2p...
Separate names with a comma.