-->
Page 1 of 6

problems compiling AT-example

PostPosted: Sun Mar 29, 2015 9:26 am
by inx
Hello.

I try to compile the at example provided in the SDK.
As suggested in other posts i moved the at folder into SDK root.
now i try to compile form SDK_ROOT/at/
typing "make" i get:

Code: Select allmake -C crosstool-NG -f ../Makefile _ct-ng
make: *** crosstool-NG: No such file or directory.  Stop.
make: *** [crosstool-NG/ct-ng] Error 2

where does "-C crosstool-NG" come from? i don't see it.
of course it fails, there is not crosstool-NG folder in SDK_ROOT/at/

what do i miss? how to change where crosstool-NG is located?

thanks for any advise.
inx

Re: problems compiling AT-example

PostPosted: Wed May 20, 2015 7:54 pm
by GeorgeIoak
+1 on this problem as I am getting the same error trying to compile this

Re: problems compiling AT-example

PostPosted: Thu May 21, 2015 5:04 am
by cal
Moin,

I never built the at stuff just nodemcu but I am using crosstools-ng from

https://github.com/pfalcon/esp-open-sdk

Hope that helps,
Cal

Re: problems compiling AT-example

PostPosted: Thu May 21, 2015 8:03 am
by GeorgeIoak
Hi Cal,

Yes, I'm using that too. I actually followed a nice tutorial from Adafruit on compiling micro python (
Code: Select allhttps://learn.adafruit.com/building-and-running-micropython-on-the-esp8266?view=all
which worked fine so it's something in the Makefile of the examples.

I'm familiar with cross compiling for several platforms but when things like this happen I struggle a bit to find the reason why things fail. I was hoping that someone more experienced could help out as it would take me several more hours to try and find how to fix this.

Thanks,
George