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

make fails on x64 debian8 #57

Open
Karmek opened this issue Nov 7, 2016 · 2 comments
Open

make fails on x64 debian8 #57

Karmek opened this issue Nov 7, 2016 · 2 comments

Comments

@Karmek
Copy link

Karmek commented Nov 7, 2016

Hi There,

I've pulled a copy of toolchain on my debian:

uname -a
Linux vm-debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u2 (2016-06-25) x86_64 GNU/Linux;
lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.6 (jessie)
Release:	8.6
Codename:	jessie

when i try to run makem i get the following error:

make -C crosstool-NG -f ../Makefile _ct-ng
make[1]: Entering directory '/home/dennis/Projekte/ESP8266 ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG'
../Makefile:155: warning: overriding recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:126: warning: ignoring old recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:162: warning: overriding recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:155: warning: ignoring old recipe for target '/home/dennis/Projekte/ESP8266'
../Makefile:181: warning: overriding recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
../Makefile:176: warning: ignoring old recipe for target 'ESP8266_NONOS_SDK_V2.0.0_16_08_10/.dir'
./bootstrap
Running autoconf...
Done. You may now run:
    ./configure
./configure --prefix=`pwd`
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG
checking build system type... Invalid configuration `ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG': machine `ESP-01/github_SDK_repo/esp-open-sdk/crosstool' not recognized
configure: error: /bin/bash scripts/config.sub ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG failed
../Makefile:143: recipe for target '_ct-ng' failed
make[1]: *** [_ct-ng] Error 1
make[1]: Leaving directory '/home/dennis/Projekte/ESP8266 ESP-01/github_SDK_repo/esp-open-sdk/crosstool-NG'
Makefile:140: recipe for target 'crosstool-NG/ct-ng' failed
make: *** [crosstool-NG/ct-ng] Error 2

Any Idea what might be going wrong?

Regards,

Karmek

@Karmek
Copy link
Author

Karmek commented Nov 7, 2016

Nevermind this one. I was careless enough to leave a space in one of the folder names. The scripts did not like it much ;-) However now i get some permission problems:

sed -r -i s%CT_INSTALL_DIR_RO=y%"#"CT_INSTALL_DIR_RO=y% .config
cat ../crosstool-config-overrides >> .config
/bin/bash: .config: Permission Denied
../Makefile:130: recipe for target '_toolchain' failed

@ghost
Copy link

ghost commented May 18, 2017

Getting the same permission problem as you, how did you resolve it?

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

1 participant