Hello everyone,
This is a copy of a post I made recently into the Tiva C forum (link), for which no solution has been posted yet, so I am posting here as well in order for it to garner more attention. Here it is:
I bought the Tiva C connected LaunchPad (xm4c1294ncpdti2 chip), installed CCSv6, updated it and also got the TI-RTOSfeature for it, and then followed this guide (the PPT):
http://processors.wiki.ti.com/index.php/TI-RTOS_HTTP_Example
Except for a minor hiccup in the beginning (*1), everything went smoothly (*2) up until the end, when I wanted to set up the DHCP server. When I add the DHCP SERVER in the project.cfg wizard (*3) and then build the project, this happens: (*4) - basically CCS reports a missing library, stk_nat_ppp_pppoe.aem4f, which I guess has something to do with DHCP functionality.
Does anyone know how to fix this problem? Thank you in advance.
*1: the guide did not say that "#include <ti/drivers/EMAC.h>" had to be uncommented.
*2: I skipped the whole SD card part.
*3: TI-RTOS -> Products -> NDK -> Networking - System Overview
*4:
**** Build of configuration Debug for project TivaTest ****
"c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../empty.cfg'
'Invoking: XDCtools'
"c:/ti/xdctools_3_30_01_25_core/xs" --xdcpath="c:/ti/tirtos_tivac_2_00_02_36/packages;c:/ti/tirtos_tivac_2_00_02_36/products/bios_6_40_02_27/packages;c:/ti/tirtos_tivac_2_00_02_36/products/ndk_2_23_01_01/packages;c:/ti/tirtos_tivac_2_00_02_36/products/uia_2_00_01_34/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.tiva:TM4C1294NCPDT -r release -c "c:/ti/ccsv6/tools/compiler/arm_5.1.7" "../empty.cfg"
configuring empty.xem4f from package/cfg/empty_pem4f.cfg ...
Error: library "C:\ti\tirtos_tivac_2_00_02_36\products\ndk_2_23_01_01\packages\ti\ndk\config\..\stack\lib\stk_nat_ppp_pppoe.aem4f" does not exist. Please follow the steps to build this NDK library at http://processors.wiki.ti.com/index.php/Rebuilding_The_NDK_Core_Using_Gmake
clem4f package/cfg/empty_pem4f.c ...
'Finished building: ../empty.cfg'
' '
'Building target: TivaTest.out'
'Invoking: ARM Linker'
"c:/ti/ccsv6/tools/compiler/arm_5.1.7/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --gcc --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE --display_error_number --diag_warning=225 --diag_wrap=off --gen_func_subsections=on -z -m"TivaTest.map" --heap_size=0 --stack_size=512 -i"c:/ti/ccsv6/tools/compiler/arm_5.1.7/lib" -i"c:/ti/ccsv6/tools/compiler/arm_5.1.7/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="TivaTest_linkInfo.xml" --rom_model -o "TivaTest.out" -l"./configPkg/linker.cmd" "./empty.obj" "./EK_TM4C1294XL.obj" "../EK_TM4C1294XL.cmd" -l"libc.a" -l"c:/ti/tirtos_tivac_2_00_02_36/products/TivaWare_C_Series-2.1.0.12573c/driverlib/ccs/Debug/driverlib.lib" -l"c:/ti/tirtos_tivac_2_00_02_36/products/TivaWare_C_Series-2.1.0.12573c/usblib/ccs/Debug/usblib.lib"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
CONTENT_TYPE_HTML ./empty.obj
CRLF ./empty.obj
CfgAddEntry D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
CfgFree D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
CfgNew D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NC_NetStart D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NC_SystemClose D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NC_SystemOpen D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NDK_hookCreate D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NDK_hookInit D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
NIMUAddEthernetHeader C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
NIMUReceivePacket C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
NIMURegister C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
PBMQ_deq C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
PBMQ_enq C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
PBM_alloc C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
PBM_free C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
SemPost C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
_oscfg D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
efs_createfile ./empty.obj
efs_destroyfile ./empty.obj
httpSendClientStr ./empty.obj
httpSendStatusLine ./empty.obj
inet_addr D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
llTimerTick D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
mmAlloc C:\ti\tirtos_tivac_2_00_02_36\packages\ti\drivers\lib\instrumented\emac_tivaware.aem4f<EMACSnow.oem4f>
mmZeroInit D:\!UserFolders\Desktop\CCS6wrkspc\TivaTest\Debug\configPkg\package\cfg\empty_pem4f.oem4f
>> Compilation failure
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "TivaTest.out" not built
gmake: *** [TivaTest.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****