Open alonewolfx2 opened 8 years ago
@alonewolfx2 are you on cygwin or mingw?
patch -N -d esp_iot_sdk_v1.4.0 -p1 < /src/c_types-c99.patch
there is no /src/c_types-c99.patch in Makefile line 14: TOP = $(PWD) ==> D:/yedek/mb/esp-alt-sdk-master line 20: XTDLP = $(TOP)/src ==> D:/yedek/mb/esp-alt-sdk-master/src line 113: patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(XTDLP)/c_types-c99.patch ==> patch ... -p1 < D:/yedek/mb/esp-alt-sdk-master/src/c_types-c99.patch so try this on line 113: (dot slash src) patch ... -p1 < ./src/c_types-c99.patch
I am on Windows 10 x64 and mingv 26 Kas 2015 14:46 tarihinde "Juppit" notifications@github.com yazdı:
@alonewolfx2 https://github.com/alonewolfx2 are you on cygwin or mingw?
patch -N -d esp_iot_sdk_v1.4.0 -p1 < /src/c_types-c99.patch
there is no /src/c_types-c99.patch in Makefile line 14: TOP = $(PWD) ==> D:/yedek/mb/esp-alt-sdk-master line 20: XTDLP = $(TOP)/src ==> D:/yedek/mb/esp-alt-sdk-master/src line 113: patch -N -d $(VENDOR_SDK_DIR_1.4.0) -p1 < $(XTDLP)/c_types-c99.patch ==> ==> patch ... -p1 < D:/yedek/mb/esp-alt-sdk-master/src/c_types-c99.patch so try this on line 113: (dot slash src) patch ... -p1 < ./src/c_types-c99.patch
— Reply to this email directly or view it on GitHub https://github.com/kireevco/esp-alt-sdk/issues/2#issuecomment-159903547.
@alonewolfx2 seems that your $(TOP) variable is empty.
TOP = $(PWD)
XTDLP = $(TOP)/src
and I am still testing it on windows.
any progress?
@alonewolfx2 @Juppit bunch of work has been done. Please recheck, or just download a binary build from here https://bintray.com/kireevco/generic/esp-alt-sdk/view#files
first issue on cygwin is now:
Performing platform-specific actions
ifneq (,CYGWIN)
/bin/sh: -c: Zeile 0: Syntaxfehler beim unerwarteten Wort `,CYGWIN' [syntx error on unexpected word...]
/bin/sh: -c: Zeile 0: `ifneq (,CYGWIN)'
Makefile:395: die Regel für Ziel „platform-specific“ scheiterte [build faild]
make: *** [platform-specific] Fehler 1
Then there is a type in Makefile line 528 (-rm instead of rm) ' -rm -rf $(TOOLCHAIN)'
Next I build it by: make build
I'll report when finished...
remember there is no build comand in Makefile for cygwin.
But now I have next issue with build of gdb:
rm -f gdb.exe
gcc -g -O2 -static-libstdc++ -static-libgcc -Wl,--stack,12582912 \
-o gdb.exe gdb.o xtensa-tdep.o xtensa-config.o solib-svr4.o ser-base.o ser-unix.o ... init.o \
../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a -L./../zlib -lz ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses -lm -ldl -lpython2.7 -lexpat ../libiberty/libiberty.a -luser32 build-gnulib/import/libgnu.a
tui-win.o:tui-win.c:(.rdata$.refptr.stdscr[.refptr.stdscr]+0x0): undefined reference to `stdscr'
tui-win.o:tui-win.c:(.rdata$.refptr.curscr[.refptr.curscr]+0x0): undefined reference to `curscr'
tui-win.o:tui-win.c:(.rdata$.refptr.acs_map[.refptr.acs_map]+0x0): undefined reference to `acs_map'
tui.o:tui.c:(.rdata$.refptr.COLS[.refptr.COLS]+0x0): undefined reference to `COLS'
tui.o:tui.c:(.rdata$.refptr.LINES[.refptr.LINES]+0x0): undefined reference to `LINES'
collect2: Fehler: ld gab 1 als Ende-Status zurück
Makefile:1386: die Regel für Ziel „gdb.exe“ scheiterte
I cut the objects list. At the moment I dont remember the problem with the terminal defines COLS LINES.
I never tested it with cygwin. I would prefer to confirm mingw works, and then work on cygwin, or if you can find a solution to terminal lines issues - welcome to help :)
By the way, just curious, did you run it like bash -c "make"
from cmd or you started a bash.exe terminal?
My first results, please change it. Makefile: insert after line 404 ("Detected: CYGWIN") this line: $(MAKE) build now on line 403 and 406 delete first char, which is a tab, so the lines begin now with a space.
To start the build I start a terminal and type just make.
I remember this terminal lines issues, but where...
haha. make build was missing - funny, my mistake. also fixed the indentation.
Sincerely, Dmitry Kireev Cell: +1 (818) 850-55-77 Skype: kireev.co
On Mon, Dec 14, 2015 at 1:18 PM, Juppit notifications@github.com wrote:
My first results, please change it. Makefile: insert after line 404 ("Detected: CYGWIN") this line: $(MAKE) build now on line 403 and 406 delete first char, which is a tab, so the lines begin now with a space.
To start the build I start a terminal and type just make.
I remember this terminal lines issues, but where...
— Reply to this email directly or view it on GitHub https://github.com/kireevco/esp-alt-sdk/issues/2#issuecomment-164562648.
here is compile log.
and here is file list in src folder