Have a look at the linker files for the example projects. fsdata.c is included 
by fs.c and not meant to be compiled and linked on its own.

Regards,
Simon


Am 7. August 2023 11:24:27 MESZ schrieb Zeeshan Rehman | TESVOLT AG 
<zeeshan.reh...@tesvolt.com>:
>
>Hello there,
>I am trying to port lwip to Aurix Tricore TC387 kit. I'm having a lot of 
>difficulty.
>I implemented 
>this<https://www.infineon.com/dgdl/Infineon-Ethernet_1_KIT_TC397_TFT-Training-v01_00-EN.pdf?fileId=5546d4627a0b0c7b017a584118362496>
> example and it works fine. But I want to integrate 
>http<https://github.com/lwip-tcpip/lwip/tree/master/src/apps/http> app. But I 
>get so many error and I kept resolving them but got stuck at 
>this<https://stackoverflow.com/questions/76515084/multiple-definitions-of-symbol>.
>
>ltc E108: multiple definitions of symbol "file__img_sics_gif" in both 
>"fsdata.o" and "fs.o"
>ltc E108: multiple definitions of symbol "file__404_html" in both "fsdata.o" 
>and "fs.o"
>ltc E108: multiple definitions of symbol "file__index_html" in both "fsdata.o" 
>and "fs.o"
>make: *** [makefile:95: Ethernet_1_KIT_TC397_TFT.elf] Error 1
>
>
>Mit freundlichen Grüßen | With best regards
>Zeeshan Rehman
>Position Embedded Systems Ingenieur
>
>Tel:           +49 3491 8797 245
>E-Mail:     zeeshan.reh...@tesvolt.com<mailto:%7BE-mail%7D>
> [TV_ees_Messe_2023_Signatur_Banner_DE.jpg] 
> <https://www.tesvolt.com/de/unternehmen/messen-events.html>
>TESVOLT AG| Am Heideberg 31 | 06886 Lutherstadt Wittenberg | Germany
>Telefon +49 3491 8797 100 | Fax +49 3491 8797 102 | i...@tesvolt.com | 
>www.tesvolt.com<https://www.tesvolt.com/de>
>Supported by:
>[Picture1.jpg]
>TESVOLT AG | Sitz der AG: Lutherstadt Wittenberg | Registergericht: Stendal 
>HRB 31785
>Vorstand: Daniel Hannemann (Vorsitzender), Simon Schandert, Philipp Koecke
>Aufsichtsratsvorsitzender: Oliver Borrmann | USt-IdNr. DE296431494
>Please think about your environmental commitment before printing this letter!
>
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to