Commit Graph

1 Commits

Author SHA1 Message Date
Kamil Dudka 99e4b132c2 fix build failure with glibc-2.25+
../../../gl/lib/mountlist.c: In function 'read_file_system_list':
../../../gl/lib/mountlist.c:532:26: warning: implicit declaration of function 'makedev' [-Wimplicit-function-declaration]
             me->me_dev = makedev (devmaj, devmin);
                          ^~~~~~~
[...]
gcc  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -mcet -fcf-protection -D__SUPPORT_SNAN__  -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o find ftsfind.o ./libfindtools.a ../lib/libfind.a ../gl/lib/libgnulib.a    -lselinux   -lm -lm
../gl/lib/libgnulib.a(mountlist.o): In function `read_file_system_list':
/home/kdudka/fedora/findutils/findutils-4.6.0/build/gl/lib/../../../gl/lib/mountlist.c:532: undefined reference to `makedev'
collect2: error: ld returned 1 exit status
2018-03-06 12:32:24 +01:00