Building firmware from OSX (Make error)

Hello,

New here - trying to follow: https://github.com/flipperdevices/flipperzero-firmware to build the firmware and deploy to my flipper via OSX.

Getting the following error on make:

CPP	 lib/app-scened-template/view_modules/text_input_vm.cpp
	LD	 .obj/f7-firmware/firmware.elf
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.o: in function `rpc_send':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:680: undefined reference to `pb_encode_ex'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: /Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:684: undefined reference to `pb_ostream_from_buffer'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: /Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:686: undefined reference to `pb_encode_ex'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.o: in function `rpc_send_and_release':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:703: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.o: in function `rpc_send_and_release_empty':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:714: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.o: in function `rpc_session_worker':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:559: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: /Users/sk/Research/flipperzero-firmware/applications/rpc/rpc.c:499: undefined reference to `pb_decode_ex'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_app.o: in function `rpc_system_app_lock_status_process':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_app.c:66: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_gui.o: in function `rpc_system_gui_stop_screen_stream_process':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_gui.c:125: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_gui.o: in function `rpc_system_gui_free':
/Users/sk/Research/flipperzero-firmware/applications/rpc/rpc_gui.c:375: undefined reference to `pb_release'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `archive_extract_foreach_cb':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:220: undefined reference to `mtar_eof_data'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: /Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:221: undefined reference to `mtar_read_data'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_open':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:86: undefined reference to `mtar_init'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_free':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:93: undefined reference to `mtar_is_open'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: /Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:94: undefined reference to `mtar_close'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_get_entries_count':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:114: undefined reference to `mtar_foreach'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_dir_add_element':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:122: undefined reference to `mtar_write_dir_header'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_finalize':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:127: undefined reference to `mtar_finalize'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_file_add_header':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:146: undefined reference to `mtar_write_file_header'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_file_add_data_block':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:155: undefined reference to `mtar_write_data'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_file_finalize':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:160: undefined reference to `mtar_end_data'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.o: in function `tar_archive_unpack_to':
/Users/sk/Research/flipperzero-firmware/lib/toolbox/tar/tar_archive.c:244: undefined reference to `mtar_foreach'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/firmware/targets/f7/furi_hal/furi_hal_interrupt.o: in function `USB_LP_IRQHandler':
/Users/sk/Research/flipperzero-firmware/firmware/targets/f7/furi_hal/furi_hal_interrupt.c:258: undefined reference to `usbd_poll'
/Applications/ARM/bin/../lib/gcc/arm-none-eabi/11.2.1/../../../../arm-none-eabi/bin/ld: .obj/f7-firmware//Users/sk/Research/flipperzero-firmware/firmware/targets/f7/furi_hal/furi_hal_usb.o: in function `NVIC_EncodePriority':
/Users/sk/Research/flipperzero-firmware/firmware/../lib/STM32CubeWB/Drivers/CMSIS/Include/core_cm4.h:1863: undefined reference to `usbd_devfs'
collect2: error: ld returned 1 exit status
make[1]: *** [.obj/f7-firmware/firmware.elf] Error 1
make: *** [firmware_all] Error 2
➜  flipperzero-firmware git:(dev)

Not sure what other debug info would help here:
Darwin duchess 19.6.0 Darwin Kernel Version 19.6.0: Thu Oct 29 22:56:45 PDT 2020; root:xnu-6153.141.2.2~1/RELEASE_X86_64 x86_64

Thanks in advance - sk

Try git submodule update --init --recursive