compilation error

Post Reply
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Tue Aug 29, 2017 8:23 am

I am getting an error while compiling the firmware "implicit function declaration".
What should I do?
Attachments
compile_error.png
compile_error.png (572.5 KiB) Viewed 14237 times
User avatar
pzygmunt
Posts: 8677
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Aug 29, 2017 8:30 am

I don't see anything on your screenshot. Send raw text from make log.
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Tue Aug 29, 2017 9:25 am

where can view the log file unable to find?
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Tue Aug 29, 2017 9:49 am

compile_error.png
compile_error.png (64.36 KiB) Viewed 14220 times
User avatar
pzygmunt
Posts: 8677
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Aug 29, 2017 10:06 am

./build.sh [what] ?
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Tue Aug 29, 2017 10:13 am

wemos_gate_X2_DS.
User avatar
pzygmunt
Posts: 8677
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Aug 29, 2017 10:17 am

I don't have sources of this board.
You mast add function prototype to your_board_file.h

void ICACHE_FLASH_ATTR supla_esp_board_send_channel_values_with_delay(void *srpc);
gaurav
Posts: 82
Joined: Mon May 08, 2017 9:49 am

Tue Aug 29, 2017 10:29 am

Got this error now.
compile_error_1.png
compile_error_1.png (42.17 KiB) Viewed 14213 times
User avatar
pzygmunt
Posts: 8677
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Tue Aug 29, 2017 10:58 am

Also you don't have function implementation.

Add this below to your board_file.c

void ICACHE_FLASH_ATTR supla_esp_board_send_channel_values_with_delay(void *srpc) {

// ..... your code

}
Post Reply

Return to “General discussion”