Hi Flávio,

Is it MacBook M1 powered by ARM processor? If so it could explain the
errors, since this CPU is new and AFAIK nobody compiled NuttX on it
yet.

Please try to run: make V=1

It will show more information and could give us more hints.

BR,

Alan

On 1/29/22, Flavio de Castro Alves Filho <flavio.al...@gmail.com> wrote:
> Hello Guys,
>
> I am trying to build NuttX on my MAC computer.
>
> The computer is running Monterey MacOS version.
>
> I followed the instructions from the website. I intend to build the
> simulator configuration.
>
> Here are the messages from the terminal:
>
> flavio@Flavios-MacBook-Pro nuttx % make distclean
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[3]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean'.
> make[3]: Nothing to be done for `clean'.
> make[3]: Nothing to be done for `clean'.
> make[2]: Nothing to be done for `clean_context'.
> flavio@Flavios-MacBook-Pro nuttx % ./tools/configure.sh -m sim:nsh
>   Copy files
>   Select CONFIG_HOST_MACOS=y
>   Refreshing...
> make[2]: Nothing to be done for `clean_context'.
> CP: arch/dummy/Kconfig to
> /Users/flavio/mestrado/nuttx/nuttx/arch/dummy/dummy_kconfig
> CP: boards/dummy/Kconfig to
> /Users/flavio/mestrado/nuttx/nuttx/boards/dummy/dummy_kconfig
> LN: platform/board to /Users/flavio/mestrado/nuttx/apps/platform/dummy
> LN: include/arch to arch/sim/include
> LN: include/arch/board to
> /Users/flavio/mestrado/nuttx/nuttx/boards/sim/sim/sim/include
> LN: drivers/platform to /Users/flavio/mestrado/nuttx/nuttx/drivers/dummy
> LN: include/arch/chip to
> /Users/flavio/mestrado/nuttx/nuttx/arch/sim/include/sim
> /Users/flavio/mestrado/nuttx/nuttx/tools/link.sh
> /Users/flavio/mestrado/nuttx/nuttx/arch/sim/include/sim include/arch/chip
> LN: arch/sim/src/chip to
> /Users/flavio/mestrado/nuttx/nuttx/arch/sim/src/sim
> LN: arch/sim/src/board to
> /Users/flavio/mestrado/nuttx/nuttx/boards/sim/sim/sim/src
> touch .dirlinks
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/boot
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/canutils
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/crypto
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/examples
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/fsutils
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/gpsutils
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/graphics
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/industry
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/interpreters
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/math
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/mlearning
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/netutils
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/system/libuv
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/system
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/testing
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/wireless/bluetooth
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/wireless/ieee802154
> mkkconfig in /Users/flavio/mestrado/nuttx/apps/wireless
> mkkconfig in /Users/flavio/mestrado/nuttx/apps
> arch/arm/src/imxrt/Kconfig:1504: syntax error
> arch/arm/src/imxrt/Kconfig:1503: invalid option
> arch/arm/src/stm32l4/Kconfig:5347: syntax error
> arch/arm/src/stm32l4/Kconfig:5296: missing end statement for this entry
> arch/arm/src/stm32l4/Kconfig:5164: missing end statement for this entry
> arch/arm/src/stm32l4/Kconfig:8: missing end statement for this entry
> arch/arm/Kconfig:1178: missing end statement for this entry
> arch/arm/Kconfig:7: missing end statement for this entry
> Kconfig:1957: missing end statement for this entry
> arch/arm/src/stm32l4/Kconfig:5346: invalid statement
> arch/arm/src/stm32l4/Kconfig:5356: unexpected end statement
> arch/arm/src/stm32l4/Kconfig:5359: syntax error
> arch/arm/src/stm32l4/Kconfig:5358: invalid statement
> arch/arm/src/stm32l4/Kconfig:5368: unexpected end statement
> arch/arm/src/stm32l4/Kconfig:5371: syntax error
> arch/arm/src/stm32l4/Kconfig:5370: invalid statement
> arch/arm/src/stm32l4/Kconfig:5380: unexpected end statement
> arch/arm/src/stm32l4/Kconfig:5382: unexpected end statement
> arch/arm/src/stm32l4/Kconfig:5384: unexpected end statement
> arch/arm/src/stm32l4/Kconfig:6253: unexpected end statement
> arch/arm/Kconfig:1179: unexpected end statement
> arch/arm/Kconfig:1199: unexpected end statement
> Kconfig:1959: unexpected end statement
> boards/sim/sim/sim/Kconfig:58: syntax error
> boards/sim/sim/sim/Kconfig:57: invalid option
> drivers/note/Kconfig:80: syntax error
> drivers/note/Kconfig:79: invalid option
> drivers/sensors/Kconfig:308: syntax error
> drivers/sensors/Kconfig:307: invalid option
> drivers/syslog/Kconfig:317: syntax error
> drivers/syslog/Kconfig:316: invalid option
> make: *** [olddefconfig] Error 1
> ERROR: failed to refresh
>
>
> I would like to ask for help to figure out how to solve this issue.
>
> Best regards,
>
> Flavio
>
>

Reply via email to