May I ask one question, what is the uuid.h used for. We remove this include code below in file GenFvternalLib.c and then build EDK2 undec GCC5, the building is successful. It seems no difference underGCC5. #if defined(__FreeBSD__) #include <uuid.h> #elif defined(__GNUC__) #include <uuid/uuid.h> #endif