cramfsck.c already includes sys/sysmacros.h for the minor() func, but mkcramfs.c does not. this causes build errors on some systems like:
mkcramfs.c:(.text.startup+0x6ab): undefined reference to 'minor'
Log in to post a comment.