Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with the make distclean command #752

Open
OmarShamakhi opened this issue Sep 22, 2024 · 1 comment
Open

Issue with the make distclean command #752

OmarShamakhi opened this issue Sep 22, 2024 · 1 comment

Comments

@OmarShamakhi
Copy link

Hello

I am using spresense source code in windose 11 using bash

Every time I use make distclean on spresense/sdk I get this error

make[1]: Entering directory '/home/omar/spresense/nuttx'
Makefile:38: /tools/Sdk.mk: No such file or directory
make[3]: *** No rule to make target '/tools/Sdk.mk'. Stop.
make[2]: *** [Makefile:56: /home/omar/spresense/sdk/apps/examples/_clean] Error 2
make[1]: *** [tools/Unix.mk:748: /home/omar/spresense/sdk/apps_clean] Error 2
make[1]: Leaving directory '/home/omar/spresense/nuttx'
make: *** [Makefile:184: distclean] Error 2

I tried to reinstall the file but still didn't work.

Regards,
Omar

@SPRESENSE
Copy link
Collaborator

Hi, @OmarShamakhi,

Are you using WSL2 as your build environment on Windows 11?
SDK code with the tag "v1.5.1" or later should have tools/Sdk.mk, so it's possible that old code is mixed with a newer Make environment.

Could you please share information such as the version of the code you're using?
What is the output of the following commands?

  • Which SHA-1 is the output value of the "git show" command?
  • Does the output of "git branch" show "master"?
  • What is the output information of "git submodule"?

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants