FATAL ERROR: command exited with status 1

Hi 

Sometimes I get this error, which is below the picture. FATAL ERROR: command exited with status 1: Could anyone help to me to fix this problem?

Parents
  • Hi,

    The relevant error is partially covered up by your blue box, but it complains about an undefined reference to LOG_INF in your main.c. So you are using LOG_INF without that being declared. So either you are using LOG_INF accidentally (perhaps from some copy-pasted) code and should have been using for instance printk instead, or you did intend to use the logger module, but did not enable it (CONFIG_LOG=y etc, see Logging)?

Reply
  • Hi,

    The relevant error is partially covered up by your blue box, but it complains about an undefined reference to LOG_INF in your main.c. So you are using LOG_INF without that being declared. So either you are using LOG_INF accidentally (perhaps from some copy-pasted) code and should have been using for instance printk instead, or you did intend to use the logger module, but did not enable it (CONFIG_LOG=y etc, see Logging)?

Children
No Data
Related