CC libagesa/vendorcode/amd/agesa/common/amdlib.o src/vendorcode/amd/agesa/common/amdlib.c:82:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] STATIC ^~~~~~ src/vendorcode/amd/agesa/common/amdlib.c:90:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] STATIC ^~~~~~ src/vendorcode/amd/agesa/common/amdlib.c:915:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] STATIC ^~~~~~ src/vendorcode/amd/agesa/common/amdlib.c:1176:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] STATIC ^~~~~~ cc1: error: unrecognized command line option '-Wno-pragma-pack' [-Werror] cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror] cc1: error: unrecognized command line option '-Wno-array-compare' [-Werror] cc1: all warnings being treated as errors make: *** [Makefile:412: build/libagesa/vendorcode/amd/agesa/common/amdlib.o] Error 1