The following warnings are emitted during the build, many times each: In file included from ../../gprof/../bfd/sysdep.h:29, from ../../gprof/gprof.h:33: ../bfd/config.h:327: note: this is the location of the previous definition 327 | #define VERSION "2.40" | In file included from ../../gprof/gprof.h:41, from ../../gprof/corefile.c:22: ./gconfig.h:104: warning: "VERSION" redefined 104 | #define VERSION "2.40.00" | There is an inconsistency in naming convention regarding 2.40 and 2.40.00.
This has already been fixed on the 2.40 branch.