Followed the directions here: GitHub - 4ms/metamodule-plugin-examples: Example usage of MetaModule plugin SDK
username@mac-mini Valley % export PATH=“$PATH:/Applications/ARM/bin”
username@mac-mini Valley % cmake -B build -G Ninja
– The C compiler identification is GNU 10.3.1
– The CXX compiler identification is GNU 10.3.1
– The ASM compiler identification is GNU
– Found assembler: /Applications/ARM/bin/arm-none-eabi-gcc
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /Applications/ARM/bin/arm-none-eabi-gcc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /Applications/ARM/bin/arm-none-eabi-g++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Configuring done (0.7s)
– Generating done (0.1s)
– Build files have been written to: /Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/Valley/build
username@mac-mini Valley % cmake --build build
[371/952] Building C object plugin-sdk/metamodule-plugin-…etamodule-plugin-libc.dir/newlib/libc/ctype/wctrans.c.obj
FAILED: plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctrans.c.obj
/Applications/ARM/bin/arm-none-eabi-gcc -DMALLOC_PROVIDED -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libm/common -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/string -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -Wno-sign-compare -Wno-maybe-uninitialized -Wno-stringop-truncation -Wno-unused-but-set-variable -Wno-unused-variable -Wno-uninitialized -Wno-unused-function -Wno-unused-label -Wno-prio-ctor-dtor -Wno-pointer-sign -Wno-discarded-qualifiers -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -fbuiltin -fno-math-errno -fvisibility=hidden -fno-exceptions -mcpu=cortex-a7 -mlittle-endian -mfpu=neon-vfpv4 -mfloat-abi=hard -mthumb-interwork -mno-unaligned-access -mtune=cortex-a7 -mvectorize-with-neon-quad -funsafe-math-optimizations --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -O3 -g3 -fno-common -fdata-sections -ffunction-sections -nostdlib -nostartfiles -fno-unwind-tables -Wall -Werror=return-type -Wno-psabi -Wno-double-promotion -Wno-attributes -shared -fPIC -MD -MT plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctrans.c.obj -MF plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctrans.c.obj.d -o plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctrans.c.obj -c /Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctrans.c
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctrans.c: In function ‘_wctrans_r’:
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctrans.c:87:7: warning: implicit declaration of function ‘_REENT_ERRNO’ [-Wimplicit-function-declaration]
87 | _REENT_ERRNO(r) = EINVAL;
| ^~~~~~~~~~~~
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctrans.c:87:23: error: lvalue required as left operand of assignment
87 | _REENT_ERRNO(r) = EINVAL;
| ^
[373/952] Building C object plugin-sdk/metamodule-plugin-…metamodule-plugin-libc.dir/newlib/libc/ctype/wctype.c.obj
FAILED: plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctype.c.obj
/Applications/ARM/bin/arm-none-eabi-gcc -DMALLOC_PROVIDED -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libm/common -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/string -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -Wno-sign-compare -Wno-maybe-uninitialized -Wno-stringop-truncation -Wno-unused-but-set-variable -Wno-unused-variable -Wno-uninitialized -Wno-unused-function -Wno-unused-label -Wno-prio-ctor-dtor -Wno-pointer-sign -Wno-discarded-qualifiers -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -fbuiltin -fno-math-errno -fvisibility=hidden -fno-exceptions -mcpu=cortex-a7 -mlittle-endian -mfpu=neon-vfpv4 -mfloat-abi=hard -mthumb-interwork -mno-unaligned-access -mtune=cortex-a7 -mvectorize-with-neon-quad -funsafe-math-optimizations --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -O3 -g3 -fno-common -fdata-sections -ffunction-sections -nostdlib -nostartfiles -fno-unwind-tables -Wall -Werror=return-type -Wno-psabi -Wno-double-promotion -Wno-attributes -shared -fPIC -MD -MT plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctype.c.obj -MF plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctype.c.obj.d -o plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/ctype/wctype.c.obj -c /Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctype.c
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctype.c: In function ‘_wctype_r’:
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctype.c:131:3: warning: implicit declaration of function ‘_REENT_ERRNO’ [-Wimplicit-function-declaration]
131 | _REENT_ERRNO(r) = EINVAL;
| ^~~~~~~~~~~~
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/ctype/wctype.c:131:19: error: lvalue required as left operand of assignment
131 | _REENT_ERRNO(r) = EINVAL;
| ^
[376/952] Building C object plugin-sdk/metamodule-plugin-…/metamodule-plugin-libc.dir/newlib/libc/errno/errno.c.obj
FAILED: plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/errno/errno.c.obj
/Applications/ARM/bin/arm-none-eabi-gcc -DMALLOC_PROVIDED -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libm/common -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/string -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -Wno-sign-compare -Wno-maybe-uninitialized -Wno-stringop-truncation -Wno-unused-but-set-variable -Wno-unused-variable -Wno-uninitialized -Wno-unused-function -Wno-unused-label -Wno-prio-ctor-dtor -Wno-pointer-sign -Wno-discarded-qualifiers -I/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/include -fbuiltin -fno-math-errno -fvisibility=hidden -fno-exceptions -mcpu=cortex-a7 -mlittle-endian -mfpu=neon-vfpv4 -mfloat-abi=hard -mthumb-interwork -mno-unaligned-access -mtune=cortex-a7 -mvectorize-with-neon-quad -funsafe-math-optimizations --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -O3 -g3 -fno-common -fdata-sections -ffunction-sections -nostdlib -nostartfiles -fno-unwind-tables -Wall -Werror=return-type -Wno-psabi -Wno-double-promotion -Wno-attributes -shared -fPIC -MD -MT plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/errno/errno.c.obj -MF plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/errno/errno.c.obj.d -o plugin-sdk/metamodule-plugin-libc/CMakeFiles/metamodule-plugin-libc.dir/newlib/libc/errno/errno.c.obj -c /Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/errno/errno.c
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/errno/errno.c: In function ‘__errno’:
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/errno/errno.c:17:11: warning: implicit declaration of function ‘_REENT_ERRNO’ [-Wimplicit-function-declaration]
17 | return &_REENT_ERRNO(_REENT);
| ^~~~~~~~~~~~
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/errno/errno.c:17:10: error: lvalue required as unary ‘&’ operand
17 | return &_REENT_ERRNO(_REENT);
| ^
/Users/username/Documents/Rack/metamodule/metamodule-plugin-examples/metamodule-plugin-sdk/metamodule-plugin-libc/newlib/libc/errno/errno.c:18:1: error: control reaches end of non-void function [-Werror=return-type]
18 | }
| ^
cc1: some warnings being treated as errors
[384/952] Building C object plugin-sdk/metamodule-plugin-…etamodule-plugin-libc.dir/newlib/libc/locale/locale.c.obj
ninja: build stopped: subcommand failed.