Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

multiple definition of base64 error with ver. 1.8.3 #44

Closed
Nourbakhsh-Rad opened this issue Jan 11, 2022 · 3 comments
Closed

multiple definition of base64 error with ver. 1.8.3 #44

Nourbakhsh-Rad opened this issue Jan 11, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@Nourbakhsh-Rad
Copy link

Nourbakhsh-Rad commented Jan 11, 2022

Hi,
After upgrading to version 1.8.3, the following error is observed during compilation

multiple definition of base64_init_encodestate
multiple definition of base64_encode_value
multiple definition of base64_encode_block
multiple definition of base64_encode_blockend
multiple definition of base64_encode_chars

I am using ESP-12E with ENC28J60 Ethernet module and Arduino IDE version 1.8.16 with ESP8266 core 3.0.2

@khoih-prog
Copy link
Owner

Hi @Nourbakhsh-Rad

Thanks for the bug report. I just forgot that ESP8266 already has the lib64 in the core and then the

#if !(ESP32 || ESP8266)

...

#endif

in the files cdecode.c and cencode.c.

You can add those lines in the above-mentioned files if can't wait.

Will update the master and publish a new release soon.

Regards,

@khoih-prog khoih-prog added the bug Something isn't working label Jan 11, 2022
khoih-prog added a commit that referenced this issue Jan 11, 2022
### Releases v1.8.4

1. Fix libb64 compile error for ESP8266. Check [multiple definition of base64 error with ver. 1.8.3 #44](#44)
2. Update `Packages' Patches`
khoih-prog added a commit that referenced this issue Jan 11, 2022
### Releases v1.8.4

1. Fix libb64 compile error for ESP8266. Check [multiple definition of base64 error with ver. 1.8.3 #44](#44)
2. Update `Packages' Patches`
@khoih-prog
Copy link
Owner

Hi @Nourbakhsh-Rad

The new EthernetWebServer releases v1.8.4 has just been published. Your contribution is noted in Contributions and Thanks

Best Regards,


Releases v1.8.4

  1. Fix libb64 compile error for ESP8266. Check multiple definition of base64 error with ver. 1.8.3 #44
  2. Update Packages' Patches

@Nourbakhsh-Rad
Copy link
Author

Thank you for your prompt action ..... @khoih-prog

khoih-prog added a commit to khoih-prog/EthernetWebServer_SSL that referenced this issue Jan 11, 2022
### Releases v1.7.3

1. Fix libb64 compile error for ESP8266. Check [multiple definition of base64 error with ver. 1.8.3 #44](khoih-prog/EthernetWebServer#44)
2. Update `Packages' Patches`
khoih-prog added a commit to khoih-prog/EthernetWebServer_SSL that referenced this issue Jan 11, 2022
### Releases v1.7.3

1. Fix libb64 compile error for ESP8266. Check [multiple definition of base64 error with ver. 1.8.3 #44](khoih-prog/EthernetWebServer#44)
2. Update `Packages' Patches`
khoih-prog added a commit to khoih-prog/EthernetWebServer_SSL that referenced this issue Jan 11, 2022
### Releases v1.7.3

1. Fix libb64 compile error for ESP8266. Check [multiple definition of base64 error with ver. 1.8.3 #44](khoih-prog/EthernetWebServer#44)
2. Update `Packages' Patches`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants