Date: Thu, 25 Jan 2024 00:41:30 +0100 From: "Alfonso S. Siciliano" <alfix86@gmail.com> To: freebsd-current@freebsd.org Subject: Re: Error while linking bsdinstall Message-ID: <8ed4ff40-fd51-4499-82c4-b2b0755050d9@gmail.com> In-Reply-To: <CAGwOe2acDNh=oFxTQ__YPvKbDmpnxt53NkxW1Um%2BCyt_zFV9_g@mail.gmail.com> References: <CAGwOe2acDNh=oFxTQ__YPvKbDmpnxt53NkxW1Um%2BCyt_zFV9_g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19/01/2024 18:33, Fernando Apesteguía wrote: > Hi all, > > I'm having a problem linking bsdinstall in current > dfe30e41967f9b5112c42ca20ec2c366db74cef9 > > ld: error: undefined symbol: bsddialog_clear > >>> referenced by part_wizard.c:76 > (/data/fernape_data/FreeBSD-repos/src/usr.sbin/bsdinstall/partedit/part_wizard.c:76) > >>> part_wizard.o:(part_wizard) > >>> referenced by part_wizard.c:84 > (/data/fernape_data/FreeBSD-repos/src/usr.sbin/bsdinstall/partedit/part_wizard.c:84) > >>> part_wizard.o:(part_wizard) > >>> referenced by partedit.c:126 > (/data/fernape_data/FreeBSD-repos/src/usr.sbin/bsdinstall/partedit/partedit.c:126) > >>> partedit.o:(main) > cc: error: linker command failed with exit code 1 (use -v to see invocation) > *** Error code 1 > > Anything I forgot to do? This is in a branch that I had lingering that I > rebased with main without any issues. > > Thanks in advance. Hi, I seem partedit "wants" to link to the old libbsddialog version. bsddialog_clear() was added in 1.0, this version (the last) was imported in BASE on October. Probably a possible solution could be `make clean[dir]` in /data/fernape_data/FreeBSD-repos/src/lib/libbsddialog/. A more verbose error could tell what partedit "wants" (properly where) to link. Best Regards, Alfonso
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ed4ff40-fd51-4499-82c4-b2b0755050d9>