Help…I am trying to use the bsp hdlc api in my application but can’t get the make file to find the naHdlc functions. I am including the: #include /* HDLC Library */ and it appears the right .a library is being linked… Any help would be appreciated… Thanks. -Wl,–start-group …/…/…/…/lib/arm7/32b/gnu/libssl.a …/…/…/…/lib/arm7/32b/gnu/libnarmapi.a …/…/…/…/lib/arm7/32b/gnu/libfat32.a …/…/…/…/ lib/arm7/32b/gnu/libmanapi.a …/…/…/…/lib/arm7/32b/gnu/libfsock.a …/…/…/…/lib/arm7/32b/gnu/bsp/ns7520_a/libbsp.a …/…/…/…/lib/arm7/32b/gnu/libftpsvr.a …/…/…/…/lib/arm7/32b/gnu/libflash.a …/…/…/…/lib/arm7/32b/gnu/libposix.a …/…/…/…/lib/arm7/32b/gnu/libtx.a …/…/…/…/lib/arm7/32b/gnu/libdnsclnt.a …/…/…/…/lib/arm7/32b/gnu/libfastip.a …/…/…/…/lib/arm7/32b/gnu/libaddp.a …/…/…/…/lib/arm7/32b/gnu/libtcpip.a -L …/…/…/…/lib/32b/gnu -lc -lgcc -lm -lstdc++ -Wl,–end-group \u005cu005cu005cu005cu005cu000d But the following is being ouputted: ./objs/dhp_main.o(.text+0x24): In function DHP_ReceiveMain': /cygdrive/c/netos63_gnu/src/dltg/DL-GEInterface/32b/../dhp_main.c:102: [b]undefined reference to
naHdlcFrameRecv’[/b]./objs/dhp_main.o(.text+0x40):/cygdrive/c/netos63_gnu/src/dltg/DL-GEInterface/32b/…/dhp_main.c:104: undefined reference to naHdlcFrameFree' ./objs/dhp_main.o(.text+0x118): In function
DHP_InitUart’: /cygdrive/c/netos63_gnu/src/dltg/DL-GEInterface/32b/…/dhp_main.c:141: undefined reference to `naHdlcOpen’ make: *** [image.elf] Error 1
Figured it out… Have to enable the HDLC in the bsp.h file for the 7520_a and then rebuild the bsp library. Then my project links fine.