The prototype: extern int const_func alignlog2_64(uint64_t v); were missed in ilog2.h After adding, the build proceeds successfully. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>