AnsweredAssumed Answered

Error Li005 IAR ARM

Question asked by Henri Aghaei on Jul 12, 2016
Latest reply on Jul 19, 2016 by A VT

I am getting the Error Li005 for ARM Cortex M3. I looked at different forums and communities to find a solution to my issue. So, some people suggested that I need to define the "undefined" variables in my C. Some other believe that the settings for the optimization should be modified.

 

I have done all above things but still no success to resolve the issue. I use the latest version of IAR which is 7.7. According to what I have provided below, what would you kindly suggest me to go ahead and do to resolve the issue?

 

Thank you in advance.

 

Building configuration: CINI - Release

Updating build tree...

IPcomm.c 

Linking

Error[Li005]: no definition for "htons" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_process" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_arp_out" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_arp_arpin" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_arp_timer" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_udp_conn" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_udp_conns" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_conn" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_conns" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_len" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_buf" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_listen" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\WebInterface.o]

Error[Li005]: no definition for "timer_set" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_arp_init" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_init" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_appdata" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_ethaddr" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_netmask" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_draddr" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error[Li005]: no definition for "uip_hostaddr" [referenced from C:\Users\carma\Desktop\CINIFolder\CINI Production Testing\2nd\CINI Hardware Test\CINI\Release\Obj\IPcomm.o]

Error while running Linker

 

Total number of errors: 20

Total number of warnings: 0

Outcomes