# Can't build firmware on Mac OSX, arm gcc 12.3

**URL:** <https://forum.4ms.info/t/cant-build-firmware-on-mac-osx-arm-gcc-12-3/1102>\
**Category:** Dev Firmware Discussion\
**Created:** [February 17, 2025, 9:29pm UTC](https://forum.4ms.info/t/cant-build-firmware-on-mac-osx-arm-gcc-12-3/1102 "2025-02-17T21:29:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etcetc](https://forum.4ms.info/letter_avatar_proxy/v4/letter/e/b38774/32.png) [@etcetc](https://forum.4ms.info/u/etcetc)\
**Post date:** [February 17, 2025, 9:29pm UTC](https://forum.4ms.info/t/cant-build-firmware-on-mac-osx-arm-gcc-12-3/1102/1 "2025-02-17T21:29:05Z")

</div>

As the title states - trying to make some small edits to the firmware to try and fix the knob bug in [Bug with discrete knobs/controls - I can't reach the highest discrete state with the mapped knob, but I can when manually adjusting the encoder - #2 by etcetc](https://forum.4ms.info/t/bug-with-discrete-knobs-controls-i-cant-reach-the-highest-discrete-state-with-the-mapped-knob-but-i-can-when-manually-adjusting-the-encoder/1079/2)

But getting the following errors:

> <https://gist.github.com/Ericxgao/a5721d594415903e8dcfd4ae9196724c>

---

<div class="post-metadata">

**Author:** ![danngreen](https://forum.4ms.info/user_avatar/forum.4ms.info/danngreen/32/14_2.png) [@danngreen](https://forum.4ms.info/u/danngreen)\
**Post date:** [February 21, 2025, 9:14pm UTC](https://forum.4ms.info/t/cant-build-firmware-on-mac-osx-arm-gcc-12-3/1102/2 "2025-02-21T21:14:07Z")

</div>

Sorry I missed this message a few days ago. You might need to update submodules – `NumTimingEvents` is defined in the patch-serial submodule (and I recently added it)

In general, since v2.0-dev is bleeding-edge, it’s a little safer to checkout the latest tagged release rather than the latest v2.0-dev branch commit. For instance

```auto
git checkout firmware-v2.0.0-dev-12.2

```

will use the latest v2.0-dev release. You can check the Actions tab of github to verify what the latest tag that is indeed building ([Workflow runs · 4ms/metamodule · GitHub](https://github.com/4ms/metamodule/actions))
