On Tue, 04 Dec 2018 01:44:28 +0200 Adrian Bunk <b...@debian.org> wrote:
> Source: ledmon
> Version: 0.79-2
> Severity: serious
> Tags: ftbfs buster sid
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ledmon.html
> 
> ...
> smp.c: In function '_open_smp_device':
> smp.c:301:46: warning: implicit declaration of function 'makedev' 
> [-Wimplicit-function-declaration]
>   if (mknod(buf, S_IFCHR | S_IRUSR | S_IWUSR, makedev(dmaj, dmin)) < 0)
>                                               ^~~~~~~
> ...
> ./src/smp.c:301: undefined reference to `makedev'

This will likely just require a including sys/sysmacros.h i.e. this commit
https://github.com/intel/ledmon/commit/e51e1a855df80e34e166984373dce7d765d61d52

Quoting https://lists.gnu.org/archive/html/info-gnu/2018-08/msg00000.html:
"The macros 'major', 'minor', and 'makedev' are now only available from
the header <sys/sysmacros.h>"

--
Juhani

Reply via email to