cnlohr / channel3

ESP8266 Analog Broadcast Television Interface
Other
1.46k stars 158 forks source link

Make problem #18

Open katieeee02 opened 5 years ago

katieeee02 commented 5 years ago

When I try to make it spits out this:

rm -rf user/.o driver/.o image.elf image.elf-0x00000.bin image.elf-0x40000.bin echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin ~/esp8266/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc -mlongcalls -I/home/felix/esp8266/esp_iot_sdk_v1.5.2/include -Imyclib -Iinclude -Iuser -Os -I/home/felix/esp8266/esp_iot_sdk_v1.5.2/include/ -Icommon -DICACHE_FLASH driver/uart.c common/http.c common/mystuff.c common/flash_rewriter.c common/commonservices.c common/http_custom.c common/mdns.c common/mfs.c user/custom_commands.c user/ntsc_broadcast.c user/user_main.c user/3d.c tablemaker/broadcast_tables.c tablemaker/CbTable.c -nostdlib -L/home/felix/esp8266/esp_iot_sdk_v1.5.2/lib -L~/esp8266/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a -g /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libmain.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libpp.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libnet80211.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libwpa.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/liblwip.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libssl.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libupgrade.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libnet80211.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/liblwip.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libphy.a /home/felix/esp8266/esp_iot_sdk_v1.5.2/lib/libcrypto.a ~/esp8266/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/libgcc.a -T /home/felix/esp8266/esp_iot_sdk_v1.5.2/ld/eagle.app.v6.ld -B/home/felix/esp8266/esp_iot_sdk_v1.5.2/lib -o image.elf In file included from /home/felix/esp8266/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from include/espmissingincludes.h:4, from user/user_main.c:8: /home/felix/esp8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:80:20: error: conflicting types for 'int32_t' typedef signed int int32_t; ^ In file included from user/user_main.c:4:0: /home/felix/esp8266/esp_iot_sdk_v1.5.2/include/c_types.h:17:29: note: previous declaration of 'int32_t' was here typedef signed long int32_t; ^ In file included from /home/felix/esp8266/esp-open-sdk/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.5/include/stdint.h:9:0, from include/espmissingincludes.h:4, from user/user_main.c:8: /home/felix/esp8266/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/include/stdint.h:81:22: error: conflicting types for 'uint32_t' typedef unsigned int uint32_t; ^ In file included from user/user_main.c:4:0: /home/felix/esp8266/esp_iot_sdk_v1.5.2/include/c_types.h:15:29: note: previous declaration of 'uint32_t' was here typedef unsigned long uint32_t; ^ user/user_main.c: In function 'DrawFrame': user/user_main.c:216:3: warning: passing argument 2 of 'ets_memcpy' makes pointer from integer without a cast [enabled by default] ets_memcpy( frontframe, framessostate(FBW/8)+0x3FFF8000, ((FBW/4)FBH) ); ^ In file included from user/user_main.c:8:0: include/espmissingincludes.h:23:7: note: expected 'const void ' but argument is of type 'int' void ets_memcpy(void dest, const void src, size_t n); ^ user/user_main.c: In function 'user_init': user/user_main.c:436:2: warning: passing argument 1 of 'ets_timer_disarm' discards 'volatile' qualifier from pointer target type [enabled by default] os_timer_disarm(&some_timer); ^ In file included from user/user_main.c:8:0: include/espmissingincludes.h:34:6: note: expected 'struct ETSTimer ' but argument is of type 'volatile struct ETSTimer ' void ets_timer_disarm(os_timer_t a); ^ user/user_main.c:437:2: warning: passing argument 1 of 'ets_timer_setfn' discards 'volatile' qualifier from pointer target type [enabled by default] os_timer_setfn(&some_timer, (os_timer_func_t )myTimer, NULL); ^ In file included from user/user_main.c:8:0: include/espmissingincludes.h:35:6: note: expected 'struct ETSTimer ' but argument is of type 'volatile struct ETSTimer ' void ets_timer_setfn(os_timer_t t, ETSTimerFunc fn, void parg); ^ user/user_main.c:438:2: warning: passing argument 1 of 'ets_timer_arm_new' discards 'volatile' qualifier from pointer target type [enabled by default] os_timer_arm(&some_timer, 100, 1); ^ In file included from user/user_main.c:8:0: include/espmissingincludes.h:33:6: note: expected 'struct ETSTimer ' but argument is of type 'volatile struct ETSTimer ' void ets_timer_arm_new(os_timer_t a, uint32_t b, bool repeat, bool isMstimer); ^ user/user_main.c:443:26: error: 'SYS_CPU_160MHZ' undeclared (first use in this function) system_update_cpu_freq( SYS_CPU_160MHZ ); ^ user/user_main.c:443:26: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:68: image.elf] Error 1

Any help?