Error Li005 IAR ARM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error Li005 IAR ARM

1,124 Views
henriaghaei
Contributor I

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

Tags (3)
0 Kudos
1 Reply

471 Views
avt
Contributor III

Looks like you are failing to link with the library that resolves (contains) all of those missing functions. Some sort of network (uip) library?

0 Kudos