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
Adding more information to make my question more precise. It seems that the uuid is not used in GenFvternalLib.c. So we try to remove the uuid.h and LIBS += -luuid, the building is successful under Linux with GCC5. So I wonder if the libuuid is nessary for GenFvternalLib.