Closed Juppit closed 8 years ago
Wow, quick feedback! I'm away from commuter. I'll verify Hal library working and report back. I think I got everything built, but maybe haven't pushed it yet. Talk to you later:)
Sent from my iPhone
On Nov 25, 2015, at 2:19 PM, Juppit notifications@github.com wrote:
as you said: work-in-progress I started simply 'make' and got compiled everything upto lx106-hal. Error:
You cloned without --recursive, fetching submodules for you. git submodule update --init --recursive make -C lx106-hal -f ../Makefile _libhal make[1]: *\ lx106-hal: No such file or directory. So I clone it, because 'git submodule update' is not sufficient.
Next make:
make -C lx106-hal -f ../Makefile _libhal make[1]: Verzeichnis „/home/Peter/Kireevco/esp-alt-sdk/lx106-hal“ wird betreten [cd ...lx106-hal] You cloned without --recursive, fetching submodules for you. git submodule update --init --recursive autoreconf -i Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.14 line 3930. configure.ac:20: installing 'build-aux/ar-lib' configure.ac:19: installing 'build-aux/compile' configure.ac:14: installing 'build-aux/config.guess' configure.ac:14: installing 'build-aux/config.sub' configure.ac:10: installing 'build-aux/install-sh' configure.ac:10: installing 'build-aux/missing' src/Makefile.am: installing 'build-aux/depcomp' PATH=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/cygdrive/c/Program Files/Ant/apache-ant-1.9.4/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/ProgramData/chocolatey/bin:/ ./configure --host=xtensa-lx106-elf --prefix=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/ /bin/sh: Files/Ant/apache-ant-1.9.4/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/ProgramData/chocolatey/bin:/: No such file or directory ../Makefile:316: die Regel für Ziel „_libhal“ scheiterte [rule fails] make[1]: * [_libhal] Fehler 127 [error 127] make[1]: Verzeichnis „/home/Peter/Kireevco/esp-alt-sdk/lx106-hal“ wird verlassen [leaving dir] Makefile:313: die Regel für Ziel „/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib/libhal.a“ scheiterte [rule fails] make: * [/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/lib/libhal.a] Fehler 2 [error 2] I commented german output with additional english [output]. Here '/bin/sh: Files/Ant/apache-ant-1.9.4/bin:' a path is broken (was: 'Program Files/Ant/...')? I do not know how to patch this.
Greetings Peter
— Reply to this email directly or view it on GitHub.
Yeah! Windows 10 with cygwin64. I can provide you a complete script, what to install in cygwin.
That would be great.
I'll upload my environment scripts for Macos, Ubuntu and mingw later.
Sent from my iPhone
On Nov 25, 2015, at 2:23 PM, Juppit notifications@github.com wrote:
Yeah! Windows 10 with cygwin64. I can provide you a complete script, what to install in cygwin.
— Reply to this email directly or view it on GitHub.
@Juppit I made bunch of changes, please repull/reclone repo and test again:)
First I had the same issues: You cloned without --recursive, fetching submodules for you. git submodule update --init --recursive
now I deleted esp-alt-sdk and made a new git clone --recursive https://github.com/kireevco/esp-alt-sdk So i will tell you more in about 2 hours... My scripts make shure that the right packages are installed in cygwin. Maybe there is a little help: https://gist.github.com/Juppit/9293c70b6091610066ae https://gist.github.com/Juppit/6c79008ca4e14f9df3e3
Sorry, no change in this issue. I have got the same error
PATH=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/cygdrive/c/Program Files/Ant/apache-ant-1.9.4/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/ProgramData/chocolatey/bin:/ ./configure --host=xtensa-lx106-elf --prefix=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/
/bin/sh: Files/Ant/apache-ant-1.9.4/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/ProgramData/chocolatey/bin:/: No such file or directory
../../Makefile:328: die Regel für Ziel „_libhal“ scheiterte
make[1]: *** [_libhal] Fehler 127
make[1]: Verzeichnis „/home/Peter/Kireevco/esp-alt-sdk/src/lx106-hal“ wird verlassen
Makefile:325: die Regel für Ziel „/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/lib/libhal.a“ scheiterte
make: *** [/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/lib/libhal.a] Fehler 2
Still wonder about three times path beginning with: PATH=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin: but that is not a stopper. Stopper is still the whitespace in .../Program Files/Ant/...
I try a little script:
#!/bin/bash
TARGET=xtensa-lx106-elf
TOOLCHAIN=$HOME/Kireevco/esp-alt-sdk/$TARGET
cd $HOME/Kireevco/esp-alt-sdk/src/lx106-hal
autoreconf -i
./configure --host=$TARGET --prefix=$TOOLCHAIN/xtensa-lx106-elf/
but still error:
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake-1.14 line 3930.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for xtensa-lx106-elf-strip... xtensa-lx106-elf-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-cygwin
checking host system type... xtensa-lx106-elf
checking for style of include used by make... GNU
checking for xtensa-lx106-elf-gcc... xtensa-lx106-elf-gcc
checking whether the C compiler works... no
configure: error: in `/home/Peter/Kireevco/esp-alt-sdk/src/lx106-hal':
configure: error: C compiler cannot create executables
See `config.log' for more details
At the moment no idea
@Juppit hm, interesting. What if you fake your path like this?
PATH=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/bin:/usr/local/bin:/usr/bin:/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/WINDOWS/System32/WindowsPowerShell/v1.0:/cygdrive/c/ProgramData/chocolatey/bin:/ ./configure --host=xtensa-lx106-elf --prefix=/home/Peter/Kireevco/esp-alt-sdk/xtensa-lx106-elf/xtensa-lx106-elf/
So we can close this too
as you said: work-in-progress I started simply 'make' and got compiled everything upto lx106-hal. Error:
So I clone it, because 'git submodule update' is not sufficient.
Next make:
I commented german output with additional english [output]. Here '/bin/sh: Files/Ant/apache-ant-1.9.4/bin:' a path is broken (was: 'Program Files/Ant/...')? I do not know how to patch this.
Greetings Peter