‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - KBA229440

Version 2

    Author: DheerajK_81           Version: **

     

    Translation - Japanese: ‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - Community Translated (JA)

     

    With ModusToolbox™ 2.0 on Windows, application creation fails with a syntax error like this:

    /bin/bash: -c: line 0: syntax error near unexpected token `('

     

    This syntax error occurs if the PATH system environment variable has non-standard symbols.

    Ensure that the PATH variable does not contain any control characters or any of the following characters:

    • forward slash ( / )
    • less than ( < )
    • greater than ( > )
    • vertical bar or pipe ( | )
    • double quote ( “ )

     

    Remove anything that isn’t an actual path. Restart ModusToolbox for the changes to take effect.

    For a real-world example of this problem, see the “getlibs failed” thread in Cypress Community.