I found a following comment for raw command in "util-linux-2.10m/disk-utils/Makefile". # raw.c does not compile on 2.2.*. # find out later where it does and add tests to config But util-linux-2.10c-rhconfig.patch contains following lines. @@ -81,6 +81,9 @@ # If HAVE_FDUTILS is set to "yes", then setfdprm won't be installed. HAVE_FDUTILS=no +# If ADD_RAW is set to "yes", then raw gets built +ADD_RAW=yes + # Get CC from environment if defined ifeq "$(CC)" "" CC= gcc I think ADD_RAW should NOT be set for 2.2.x kernel.
Red Hat 7 uses kernel-headers from 2.4, so ADD_RAW should be ok.