I'm want freezing esp8266 port of micropython, but everytime i get these includes errors :
Code: Select all
$ make
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
mkdir -p build-GENERIC/genhdr
GEN build-GENERIC/genhdr/mpversion.h
GEN build-GENERIC/genhdr/moduledefs.h
GEN build-GENERIC/genhdr/qstr.i.last
In file included from user_interface.h:31,
from main.c:45:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from esp_mphal.c:32:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from esp_init_data.c:31:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from uart.c:19:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
esppwm.c:25: error: "ICACHE_RAM_ATTR" redefined [-Werror]
#define ICACHE_RAM_ATTR // __attribute__((section(".text")))
In file included from ./ets_sys.h:28,
from ./os_type.h:28,
from etshal.h:4,
from esppwm.c:15:
./c_types.h:90: note: this is the location of the previous definition
#define ICACHE_RAM_ATTR __attribute__((section("\".iram.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
esppwm.c:194:13: error: 'RTC_REG_WRITE' macro is deprecated [-Werror]
RTC_REG_WRITE(FRC1_LOAD_ADDRESS, local_single[0].h_time);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esppwm.c:306:13: error: 'RTC_CLR_REG_MASK' macro is deprecated [-Werror]
RTC_CLR_REG_MASK(FRC1_INT_ADDRESS, FRC1_INT_CLR_MASK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esppwm.c:319:13: error: 'RTC_REG_WRITE' macro is deprecated [-Werror]
RTC_REG_WRITE(FRC1_LOAD_ADDRESS, pwm_single[pwm_current_channel].h_time);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esppwm.c:326:13: error: 'RTC_REG_WRITE' macro is deprecated [-Werror]
RTC_REG_WRITE(FRC1_LOAD_ADDRESS, pwm_single[pwm_current_channel].h_time);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
esppwm.c:345:13: error: 'RTC_REG_WRITE' macro is deprecated [-Werror]
| TM_EDGE_INT);
^ ~~~~~~~~~~~~~~~
esppwm.c:346:13: error: 'RTC_REG_WRITE' macro is deprecated [-Werror]
RTC_REG_WRITE(FRC1_LOAD_ADDRESS, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
In file included from user_interface.h:31,
from espneopixel.c:13:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from espapa102.c:33:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from modmachine.c:48:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from machine_pin.c:33:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from machine_rtc.c:32:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from machine_adc.c:32:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from machine_uart.c:32:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from machine_wdt.c:31:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from modesp.c:35:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from modnetwork.c:36:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from modutime.c:37:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
In file included from user_interface.h:31,
from moduos.c:37:
ipv4_addr.h:29:10: fatal error: lwip/init.h: No such file or directory
#include <lwip/init.h>
^~~~~~~~~~~~~
compilation terminated.
ets_alt_task.c:5:10: fatal error: esp_sdk_ver.h: No such file or directory
#include <esp_sdk_ver.h>
^~~~~~~~~~~~~~~
compilation terminated.
../../extmod/modlwip.c:40:10: fatal error: lwip/init.h: No such file or directory
#include "lwip/init.h"
^~~~~~~~~~~~~
compilation terminated.
make: *** [../../py/mkrules.mk:76: build-GENERIC/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-GENERIC/genhdr/qstr.i.last'
how can i get all of dependencies all together ?
I use debian gnu/linux testing.