lpcware

LPC1769 LWIP example linking

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jackandrews on Mon Jul 01 09:43:01 MST 2013

Hi,


I'm trying to compile the LPCXpresso LPC1769 LWIP_tcpecho_sa example.  It compiles fine, but when linking, I get this error:


<code>Building target: lpc17xx_nxp_xpresso_1769_lwip_tcpecho_sa.axf</code><code>Invoking: MCU Linker</code><code>arm-none-eabi-gcc -nostdlib -L"..\..\..\nxp_xpresso_1769_board_lib\Debug" -Xlinker -Map="lpc17xx_nxp_xpresso_1769_lwip_tcpecho_sa.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T lpc176x.ld -L "..\..\..\..\..\examples\lwip\lwip_tcpecho_sa\linkerscripts" -o "lpc17xx_nxp_xpresso_1769_lwip_tcpecho_sa.axf"  ./src/cr_startup_lpc17xx40xx.o ./src/echo.o ./src/lwip_tcpecho_sa.o  ./lwiplpc/lpc17xx_40xx_emac.o ./lwiplpc/lpc17xx_40xx_systick_arch.o ./lwiplpc/lpc_debug.o  ./lwip/autoip.o ./lwip/def.o ./lwip/dhcp.o ./lwip/dns.o ./lwip/etharp.o ./lwip/icmp.o ./lwip/igmp.o ./lwip/inet.o ./lwip/inet_chksum.o ./lwip/init.o ./lwip/ip.o ./lwip/ip_addr.o ./lwip/ip_frag.o ./lwip/mem.o ./lwip/memp.o ./lwip/netif.o ./lwip/pbuf.o ./lwip/raw.o ./lwip/stats.o ./lwip/sys.o ./lwip/tcp.o ./lwip/tcp_in.o ./lwip/tcp_out.o ./lwip/timers.o ./lwip/udp.o   -lnxp_xpresso_1769_board_lib</code><code>c:/nxp/lpcxpresso_5.2.4_2122/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -lnxp_xpresso_1769_board_lib</code><code>collect2: ld returned 1 exit status</code><code>make: *** [lpc17xx_nxp_xpresso_1769_lwip_tcpecho_sa.axf] Error 1</code>


Any thoughts?


Thanks,


Jack

Outcomes