Makefile on page 84 in the book

I wanted to follow the steps in the tinyML Book. But on page 84 the Makefile doesn’t work. Can someone help me?

process_begin: CreateProcess(NULL, uname -m, …) failed.
tensorflow\lite\micro\tools\make\Makefile:28: pipe: No error
“-m” kann syntaktisch an dieser Stelle nicht verarbeitet werden.
FIND: Parameterformat falsch
make: *** No rule to make target ‘test_hello_world_test’. Stop.

This is the error message I get. The german part means that “-m” can’t syntacticly be processed at this position.
Sorry my english is not the best :frowning:
Thank you for your help!

Interesting—the makefile uses the uname command to determine the system architecture, and it looks like the uname -m flag is not available on your machine.

You can probably just get around this issue by replacing this line with the architecture of your machine:

So if you’re using an ix86 architecture, just change it to the following:

HOST_ARCH := "x86_32"

Thank you! :grinning: