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


Reply via email to