mengstr / cpm8266

Z80-CP/M2.2 emulation on ESP8266 NONOS SDK + the NoSDK from cnlohr
MIT License
124 stars 24 forks source link

conflict in headers #22

Closed aldolo69 closed 6 years ago

aldolo69 commented 6 years ago

[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 commented 6 years ago

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

drawkula commented 6 years ago

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

drawkula commented 6 years ago

Related: Issue https://github.com/SmallRoomLabs/cpm8266/issues/21.

aldolo69 commented 6 years ago

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.