Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2024 23:22:51 +0100
From:      FreeBSD User <freebsd@walstatt-de.de>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   CURRENT: ld: error: undefined symbol: zpool_open
Message-ID:  <20240212232318.2d7e242d@thor.intern.walstatt.dynvpn.de>

next in thread | raw e-mail | index | archive | help
Hello,

recent CURRENT (last commit 57e27ff07aff35289892f79288bebf76a3c31fec (HEAD -> main,
origin/main, origin/HEAD)) sources won't compile (ZFS staitcally compiled into kernel, if this
is of importance). Compiling world and kernel from scratch (make cleandir issued) results in a
linker error: 

[...]
===> stand/i386/pmbr (all)
--- all_subdir_rescue ---
ld: error: undefined symbol: libzfs_init
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_set_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_get_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_nvlist_get)
>>> referenced 1 more times

ld: error: undefined symbol: zpool_open
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_set_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_get_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_nvlist_get)
>>> referenced 1 more times
>>> did you mean: mpool_open
>>> defined in: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a(mpool.o)

ld: error: undefined symbol: zpool_get_bootenv
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_set_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_get_boot_device)
>>> referenced by _$$hide$$ zfsbootcfg.lo lzbe_pair.c
>>>               zfsbootcfg.lo:(_$$hide$$ zfsbootcfg.lo lzbe_nvlist_get)
>>> referenced 1 more times

Thanks in advance,

oh
-- 
O. Hartmann



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240212232318.2d7e242d>