Undefined Symbol
Opened this issue · 1 comments
I have compiled the OS and Kernel from source successfully, but I keep getting this error below when running " make CUSTOM=1".
`
cc -O2 -pipe -DHARDENEDBSD -g -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -static -o roothack.full roothack.o -larchive -lbz2 -lz -llzma -lcrypto -lbsdxml
**ld: error: undefined symbol: _libmd_SHA256_Init
referenced by check.h:143 (/src/12-stable/contrib/xz/src/liblzma/check/check.h:143)
check.o:(lzma_check_init) in archive /usr/lib/liblzma.a
ld: error: undefined symbol: _libmd_SHA256_Update
referenced by check.h:160 (/src/12-stable/contrib/xz/src/liblzma/check/check.h:160)
check.o:(lzma_check_update) in archive /usr/lib/liblzma.a
ld: error: undefined symbol: _libmd_SHA256_Final
referenced by check.h:167 (/src/12-stable/contrib/xz/src/liblzma/check/check.h:167)
check.o:(lzma_check_finish) in archive /usr/lib/liblzma.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[1]: stopped in /usr/mfsbsd/tools/roothack
*** Error code 1**
Stop.
make: stopped in /usr/mfsbsd
`
Any advice would be appreciated.