>
> cc -nostdlib -static -Ttext 0x0 -o loader.sym
> /usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../btx/lib/crt0.o
> main.o conf.o bcache.o boot.o commands.o console.o devopen.o interp.o
> interp_backslash.o interp_parse.o ls.o misc.o module.o panic.o
> load_elf32.o load_elf64.o isapnp.o pnp.o interp_forth.o vers.o
> /usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../../ficl/libficl.a
> /usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../libi386/libi386.a
> /usr/obj/usr/src/world_i386/usr/src/sys/boot/i386/loader/../../../../lib/libstand/libstand.a
>
> interp_forth.o(.text+0xa): In function `bf_command':
> : undefined reference to `__start_set_Xcommand_set'
> interp_forth.o(.text+0x1a): In function `bf_command':
> : undefined reference to `__stop_set_Xcommand_set'
> interp_forth.o(.text+0x35): In function `bf_command':
> : undefined reference to `__stop_set_Xcommand_set'
> interp_forth.o(.text+0x5d): In function `bf_command':
> : undefined reference to `__stop_set_Xcommand_set'
> interp_forth.o(.text+0x2c9): In function `bf_init':
> : undefined reference to `__start_set_Xcommand_set'
> interp_forth.o(.text+0x31c): In function `bf_init':
> : undefined reference to `__stop_set_Xcommand_set'
> interp_forth.o(.text+0x3af): In function `bf_init':
> : undefined reference to `__stop_set_Xcommand_set'
> *** Error code 1
I've been getting the same errors. I reported it, though on kernel
instead of here.