Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make problem #18

Open
katieeee02 opened this issue Mar 11, 2019 · 0 comments
Open

Make problem #18

katieeee02 opened this issue Mar 11, 2019 · 0 comments

Comments

@katieeee02
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant