Compiling third party (google breakpad) applications using the applied toolchain

Hello, everyone, I’m wondering if anyone ran into similar issues and if they did what did you do to resolve this.

In my case I’m trying to compile Google Breakpad so I can debug unexpected crashes with my application. I’m able to compile Crashpad successfully however I need to compile tools in the breakpad repo in order to view the reports.

Here is what I’m trying to run and the errors I’m facing. Most of the instructions with the exception of some tweaks are being followed on this page.How to Build Google Crashpad - BugSplat

The commands I’m running are listed below.
. /opt/dey/3.2-r3/ccimx8mm-dvk/environment-setup-aarch64-dey-linux
cd ~/breakpad
fetch breakpad not shown here is the Google depot-tools are in my environment.
./configure --host=aarch64-dey-linux && make

This is the error I’m getting when running make (./configure is successful)
aarch64-dey-linux-g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/dey/3.2-r3/ccimx8mm-dvk/sysroots/aarch64-dey-linux -std=gnu++17 -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,–hash-style=gnu -Wl,–as-needed -Wl,-z,relro,-z,now -o src/tools/linux/dump_syms/dump_syms src/common/tools_linux_dump_syms_dump_syms-dwarf_cfi_to_module.o src/common/tools_linux_dump_syms_dump_syms-dwarf_cu_to_module.o src/common/tools_linux_dump_syms_dump_syms-dwarf_line_to_module.o src/common/tools_linux_dump_syms_dump_syms-dwarf_range_list_handler.o src/common/tools_linux_dump_syms_dump_syms-language.o src/common/tools_linux_dump_syms_dump_syms-module.o src/common/tools_linux_dump_syms_dump_syms-path_helper.o src/common/tools_linux_dump_syms_dump_syms-stabs_reader.o src/common/tools_linux_dump_syms_dump_syms-stabs_to_module.o src/common/dwarf/tools_linux_dump_syms_dump_syms-bytereader.o src/common/dwarf/tools_linux_dump_syms_dump_syms-dwarf2diehandler.o src/common/dwarf/tools_linux_dump_syms_dump_syms-dwarf2reader.o src/common/dwarf/tools_linux_dump_syms_dump_syms-elf_reader.o src/common/linux/tools_linux_dump_syms_dump_syms-crc32.o src/common/linux/tools_linux_dump_syms_dump_syms-dump_symbols.o src/common/linux/tools_linux_dump_syms_dump_syms-elf_symbols_to_module.o src/common/linux/tools_linux_dump_syms_dump_syms-elfutils.o src/common/linux/tools_linux_dump_syms_dump_syms-file_id.o src/common/linux/tools_linux_dump_syms_dump_syms-linux_libc_support.o src/common/linux/tools_linux_dump_syms_dump_syms-memory_mapped_file.o src/common/linux/tools_linux_dump_syms_dump_syms-safe_readlink.o src/tools/linux/dump_syms/dump_syms-dump_syms.o -lz -lzstd
/opt/dey/3.2-r3/ccimx8mm-dvk/sysroots/x86_64-deysdk-linux/usr/libexec/aarch64-dey-linux/gcc/aarch64-dey-linux/10.2.0/real-ld: cannot find -lzstd
collect2: error: ld returned 1 exit status
make: *** [Makefile:5131: src/tools/linux/dump_syms/dump_syms] Error 1

Does anyone have some ideas or suggestions.