I'm assuming you're using ZFS on Linux? You might want to head over to that mailing list (zfs-disc...@zfsonlinux.org), as there might be better ZoL support. But, with that said; on Ubuntu that file is provided by the 'kmod-zfs-devel' package:
$ dpkg -S /usr/src/zfs-0.6.3/3.16.0-999-generic/zfs_config.h kmod-zfs-devel-3.16.0-999-generic: /usr/src/zfs-0.6.3/3.16.0-999-generic/zfs_config.h -- Cheers, Prakash On Mon, Jun 02, 2014 at 04:05:03PM -0400, Boris wrote: > Hi, guys, > > I have a ZFS build question; I am trying to build and install zfs-devel > package > and use it to build a user program that links with ZFS headers; the problem > that I see is that zfs_config.h in /usr/src/zfs-0.6.2/(uname -r) is not the > same as in the zfs build directory; specifically, it does not define the > HAVE_IOCTL_IN_SYS_IOCTL_H, whereas the sys/ioctl.h is present. Also, the > zfs_config.h in the zfs build directory (where the *..rpm files are built) > does > define this. > > Can anyone recommend a way to debug/fix this issue ? > > Where does the /usr/src/zfs-0.6.2/(uname -r)/zfs_config.h come from ? > > Best regards, Boris. > > P.S. Did make distclean; rm -f *rpm; ./autogen.sh; ./configure; make rpm-utils > rpm-kmod, rpm -i $(devel rpms). > > Does not seem to address the problem for me. > _______________________________________________ > developer mailing list > developer@open-zfs.org > http://lists.open-zfs.org/mailman/listinfo/developer _______________________________________________ developer mailing list developer@open-zfs.org http://lists.open-zfs.org/mailman/listinfo/developer