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

conflict in headers #22

Closed
aldolo69 opened this issue Sep 13, 2018 · 4 comments
Closed

conflict in headers #22

aldolo69 opened this issue Sep 13, 2018 · 4 comments

Comments

@aldolo69
Copy link

[CC] main.c
In file included from main.c:3:0:
espincludes.h:39:6: error: conflicting types for 'ets_isr_attach'
void ets_isr_attach(int intr, void *handler, void *arg);
^
In file included from /home/aldo/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/os_type.h:28:0,
from main.c:2:
/home/aldo/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/ets_sys.h:67:6: note: previous declaration of 'ets_isr_attach' was here
void ets_isr_attach(int i, ets_isr_t func, void *arg);
^
Makefile:109: set di istruzioni per l'obiettivo "main.o" non riuscito
make: *** [main.o] Errore 1

maybe there was an update in the sdk??

@aldolo69
Copy link
Author

I've commented out in espincludes.h the line with the ets_isr_attach declaration. Now "make" works

@drawkula
Copy link

Why did you close this?
Is it fixed?
Did it turn out to be not neccessary?

@drawkula
Copy link

Related: Issue #21.

@aldolo69
Copy link
Author

i'm restarting from scratch because of inconsistencies changing the esp8266 board. incidentally a 1m board was able to return something, while a 4m one does not produce any output in the console. i'm going to do some experiments to gain more feeling with this kind of projects.

anyway YES, even in the second attempt i've commented out the line in espincludes.h to complete the make process, but the result was not encouraging after the upload.

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

2 participants