chris wrote:Official VM and SDK to work indeed (OS X host). I compiled the AT and the IoT_Demo example without errors.
Hi,
I could really use some help in getting the make to run under OSX.
I have installed the VM (from Google Drive) under VirtualBox (4.3.10) acc. to the README on Google Drive. All is well until 'make" (step 6 in the Compile section). It results into a „permission denied” error.
I have downloaded the latest esp_iot_sdk_v0.9.2 dated 24-20-2014.
Below output from 'ls' and 'make'. I also tried "sudo make", but that results in another error
Would appreciate some help, because I have spent many hours reading the forum and testing, so I’m really stuck here.
Kind regards,
Gerard.
===================================
Code: Select allesp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v0.9.2/app$ ls -al
total 16
drwxr-xr-x 1 root root 408 10月 31 18:58 .
drwxr-xr-x 1 root root 408 10月 31 18:31 ..
drwxr-xr-x 1 root root 340 10月 24 23:45 driver
-rwxr-xr-x 1 root root 931 10月 23 01:10 gen_misc.bat
-rwxr-xr-x 1 root root 730 10月 22 23:23 gen_misc_plus.bat
-rwxr-xr-x 1 root root 865 10月 23 00:48 gen_misc.sh
drwxr-xr-x 1 root root 646 10月 24 23:52 include
drwxr-xr-x 1 root root 170 10月 24 23:45 json
drwxr-xr-x 1 root root 238 10月 24 23:45 lwip
-rwxr-xr-x 1 root root 3450 10月 24 23:51 Makefile
drwxr-xr-x 1 root root 204 10月 24 23:45 ssl
drwxr-xr-x 1 root root 442 10月 31 18:32 user
esp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v0.9.2/app$
Code: Select allesp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v0.9.2/app$ make
make[1]: Entering directory `/mnt/Share/esp_iot_sdk_v0.9.2/app/user'
DEPEND: xt-xcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../include/eagle user_webserver.c
/bin/sh: 2: cannot create .output/eagle/debug/obj/user_webserver.d.5290: Permission denied
DEPEND: xt-xcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../include/eagle user_sensor.c
<snip>
Code: Select allesp8266@esp8266-VirtualBox:~/Share/esp_iot_sdk_v0.9.2/app$ sudo make
make[1]: Entering directory `/mnt/Share/esp_iot_sdk_v0.9.2/app/user'
DEPEND: xt-xcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../include/eagle user_webserver.c
/bin/sh: 2: xt-xcc: not found
DEPEND: xt-xcc -M -Os -g -O2 -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -D__ets__ -DICACHE_FLASH -DLWIP_OPEN_SRC -DPBUF_RSV_FOR_WLAN -DEBUF_LWIP -I include -I ./ -I ../../include/ets -I ../include -I ./ -I ../../include -I ../../include/eagle user_sensor.c
/bin/sh: 2: xt-xcc: not found
<snip>