zfsonlinux/spl — Issue #57: Building module warns of undefined zlib functions
Author: davidcorry
Created: 2011-11-11 00:39:06+00:00
State: open

Everything else builds correctly, and it seems like zlib is picked up in configure — checking zlib_deflate_workspacesize() for 2 arguments returns yes, and both spl-zlib and splat-zlib compile without error — but when make goes to "Building modules, stage 2", these errors come up:

Building modules, stage 2.
MODPOST 2 modules
WARNING: "zlib_deflateInit2" [/home/dave/zfsonlinux-spl-948914d/module/spl/spl.ko] undefined!
WARNING: "zlib_deflate_workspacesize" [/home/dave/zfsonlinux-spl-948914d/module/spl/spl.ko] undefined!
WARNING: "zlib_deflate" [/home/dave/zfsonlinux-spl-948914d/module/spl/spl.ko] undefined!
WARNING: "zlib_deflateEnd" [/home/dave/zfsonlinux-spl-948914d/module/spl/spl.ko] undefined!
LD [M] /home/dave/zfsonlinux-spl-948914d/module/spl/spl.ko
LD [M] /home/dave/zfsonlinux-spl-948914d/module/splat/splat.ko

```make check``` and subsequently ```dmesg``` report the same errors, of course.

I'm sure there's more information I can provide, but I'm not sure what - let me know.