[Slackbuilds-users] [Slackware-current] zfs-on-linux

David Chmelik dchmelik at gmail.com
Fri Jan 1 03:15:02 UTC 2021


On Slackware-current with the 5.10.n kernels, I get this error building 
zfs-on-linux.  I don't know if the ZFS project updated it for 5.10.n.

       CC [M]  /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.o
    In file included from /tmp/SBo/zfs-0.8.5/include/sys/dmu.h:848,
                      from /tmp/SBo/zfs-0.8.5/include/sys/spa.h:44,
                      from /tmp/SBo/zfs-0.8.5/include/sys/spa_impl.h:35,
                      from /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.c:30:
    /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.c: In function ■vdev_disk_open■:
    /tmp/SBo/zfs-0.8.5/include/linux/blkdev_compat.h:378:37: error:
    implicit declaration of function ■check_disk_change■; did you mean
    ■bdev_disk_changed■? [-Werror=implicit-function-declaration]
       378 | #define vdev_bdev_reread_part(bdev) check_disk_change(bdev)
           |                                     ^~~~~~~~~~~~~~~~~
    /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.c:218:17: note: in expansion
    of macro ■vdev_bdev_reread_part■
       218 |     int error = vdev_bdev_reread_part(bdev);
           |                 ^~~~~~~~~~~~~~~~~~~~~
    /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.c: In function
    ■vdev_blkg_tryget■:
    /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.c:506:37: error: ■struct
    percpu_ref■ has no member named ■count■
       506 |   rc = atomic_long_inc_not_zero(&ref->count);
           |                                     ^~
    cc1: some warnings being treated as errors
    make[5]: *** [scripts/Makefile.build:279:
    /tmp/SBo/zfs-0.8.5/module/zfs/vdev_disk.o] Error 1
    make[4]: *** [scripts/Makefile.build:496:
    /tmp/SBo/zfs-0.8.5/module/zfs] Error 2
    make[3]: *** [Makefile:1805: /tmp/SBo/zfs-0.8.5/module] Error 2
    make[3]: Leaving directory '/usr/src/linux-5.10.4'
    make[2]: *** [Makefile:30: modules] Error 2
    make[2]: Leaving directory '/tmp/SBo/zfs-0.8.5/module'
    make[1]: *** [Makefile:842: all-recursive] Error 1
    make[1]: Leaving directory '/tmp/SBo/zfs-0.8.5'
    make: *** [Makefile:711: all] Error 2



-- 
Sincerely,
David
homesite mirror <http://mirror.davidchmelik.com/> (most uptime)
homesite <http://davidchmelik.com/> (updated first)
IRC <http://chat.efnet.org:9090/?channels=darwinheim>Diaspora Social 
<http://diaspora.davidchmelik.com/>GNU Social 
<http://status.davidchmelik.com/>FB 
<http://facebook.com/dchmelik>Twitter 
<http://twitter.com/davidnchmelik/>Goodreads 
<http://www.goodreads.com/user/show/124831-david-melik>Academia 
<http://cwu.academia.edu/DavidMelik>LinkedIn 
<http://www.linkedin.com/in/david-melik/>Flickr 
<http://Flickr.com/photos/138323639@N05>Pinterest 
<http://pinterest.com/DavidNChmelik>Ebay 
<http://www.ebay.com/usr/dchmelik>LiberaPay.com 
<http://liberapay.com/dchmelik/>Patreon 
<http://patreon.com/DavidNChmelik>Buy Me A Coffee 
<http://www.buymeacoffee.com/ATyY2JoSg>Flattr 
<http://flattr.com/@dchmelik>Zazzle <http://zazzle.com/dchmelik>Ko-fi 
<http://ko-fi.com/dchmelik>
SBo 
<http://slackbuilds.org/cgit/slackbuilds/log/?qt=author&q=David+Melik>Pouet 
<http://www.pouet.net/user.php?who=15742>BitFellas 
<http://www.bitfellas.org/user.php?id.3036>deviantART 
<http://dchmelik.deviantart.com/>ElfTown 
<http://dmelik.elftown.com>ArtCity 
<http://artcity.bitfellas.org/index.php?a=artist&id=5267>Internet 
Archive 
<http://archive.org/search.php?query=creator%3A%22David%20Melik%22>ModLand 
<ftp://ftp.modland.com/pub/modules/Fasttracker%202/Darwin/>Trax in Space 
<http://www.traxinspace.com/profile/darwin/>Scenestream 
<http://scenestream.net/demovibes/artist/2541/>ModArchive 
<http://modarchive.org/member.php?80590>
You can ask how to make graphical link signatures.


More information about the SlackBuilds-users mailing list