[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MERGE] Add a --disable-zfs configure flag.

From: Mike Gilbert
Subject: Re: [MERGE] Add a --disable-zfs configure flag.
Date: Sat, 04 Feb 2012 17:36:43 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20120105 Thunderbird/9.0

On 02/04/2012 03:46 PM, Mike Gilbert wrote:
> I have the libzfs headers in /usr/include/libzfs, which is where the ZFS
> on Linux build system puts them. My best guess is that it isn't finding
> libzfs.h, but I haven't really dug in.

As it turns out, there are a few things going on here:

1. grub's configure is failing to detect libnvpair due to some breakage
upstream. See .

2. getroot.c only includes libzfs.h if HAVE_LIBZFS and HAVE_LIBNVPAIR
are defined.

3. getroot.c references libzfs_handle_t if HAVE_LIBZFS is set, but does
not look at HAVE_LIBNVPAIR.

So, getroot.c is trying to use a ZFS structure without including the ZFS

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]