Build warnings can block the compilation if it is not set to ignore them (e.g. KCFLAGS=-w).
KCFLAGS=-w