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

Error 2 on while make of esp-open-sdk #25

Open
guidol70 opened this issue Nov 25, 2018 · 2 comments
Open

Error 2 on while make of esp-open-sdk #25

guidol70 opened this issue Nov 25, 2018 · 2 comments

Comments

@guidol70
Copy link

In different Linux (armbian/devuan) systems I do get a error 2 after:
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git cd esp-open-sdk make

showing
Now configured for "xtensa-lx106-elf" make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen sed -r -i.org s%CT_PREFIX_DIR=.*%CT_PREFIX_DIR="/home/guido/esp-open-sdk/xtensa-lx106-elf"% .config sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config cat ../crosstool-config-overrides >> .config ./ct-ng build make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird betreten [ERROR] You must NOT be root to run crosstool-NG [00:00] / ct-ng:152: die Regel für Ziel „build“ scheiterte make[2]: *** [build] Fehler 1 make[2]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen ../Makefile:133: die Regel für Ziel „_toolchain“ scheiterte make[1]: *** [_toolchain] Fehler 2 make[1]: Verzeichnis „/home/guido/esp-open-sdk/crosstool-NG“ wird verlassen Makefile:129: die Regel für Ziel „/home/guido/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc“ scheiterte make: *** [/home/guido/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Fehler 2

Any idea?
Thanks in advance! :)

@drawkula
Copy link

drawkula commented Nov 25, 2018

[ERROR] You must NOT be root to run crosstool-NG

@guidol70
Copy link
Author

but I did get the same error when I do try it after "su guido" - so that the comman will run under my user.
Or should I completly logout and logon as "guido"-user and retry?

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