After some search I found this topic on Gentoo forums: glibc 2.23 and undefined reference to `minor' or `major'
Code: Select all
ossdetect.c:(.text+0xf2f): undefined reference to `makedev'
Which gave me the idea to add #include <sys/sysmacros.h> which fixed the problem.
Is that a correct solution? Have no idea!
Is it works? Yes.
Here is a patch for convenience: