This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C1294XL: 10234-D Unresolved symbol error with included TivaWare eth_client_lwip.h library (CCSv10)

Part Number: EK-TM4C1294XL

Hello,

I have trouble  when trying to use TivaWare_C_Series-2.2.0.295 SDK eth_client_lwip.h library in enet_lwip example project:



The problem is, when I link eth_client_lwip.c library source code to enet_lwip project and compile, I get this error:



dns_tmr() function is from dns.h library which is included in eth_client_lwip.h. Form error it seems that eth_client_lwip.h can't find dns.h source code. Even when I link dns.c library source code to project, the error remains. I looked for working solution on the internet, but with no luck.

The way I link eth_client_lwip.h and dns.h libraries source codes to project is the same: right-click on project -> Add files... -> Link (locations relative to SW_ROOT). An then move linked files to created respective folders in project directory:


Linked resources:


Compile include options:


Linker file search path:


Does anyone know how fix this error? I'm without ideas.

Thanks in advance,

Giedre

  • I am not sure where you got that version of the project. The example in TivaWare version 2.2.0.295 is different.

    I suggest starting over. Rename or delete your existing project then import the project with "File" -> "Import". Use the wizard to select "CCS Projects"

    Then select the directory "C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c1294xl\enet_lwip"

    For me, the project builds without errors.

    I also suggest that you look at the new application note: TM4C129x Ethernet Applications for Lightweight IP (lwIP)

  • Hello Bob,

    Thanks for your answer.

    When I first imported enet_lwip project my project version looked just like yours and worked fine:

    I changed project, because I wanted to modify code using eth_client_lwip.h library and that is when I started to get errors after building the project.

    Regards,

    Giedre

  • Probably because you did not edit opt.h and enable LWIP_DNS on line 818. If you open dns.c in Code Composer and all the lines are in a grey outline starting on line 77, #if LWIP_DNS, then it means LWIP_DNS is still 0.