Hi,
I am compiling Client example of MCSDK for NDK and SYS BIOS for C6472. I am using CCS 4.2. Without making any changes if i make build for little Endian then it goes smoothly. But when i am trying to change setting for Endianess using CCS Buils Option in IDE then It given error (are given below). As much i can understand it is because NDK library has not been linked. I want to know why it is not included for Big Endiane mode and whi it is included default in littel endiane mode. I have not done any changes just changed the CCS Build option as Big previouslt it was Little by default. Is this a problem with tool C:/CCS_V4/xdctools_3_22_01_21/xs or CCS 4.2?
A Special print comes when i change the setting for Big Endian mode marked as Red and errors are marked as Blue.
Please help....
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
**** Build of configuration Debug for project client_evm6472 ****
C:\CCS_V4\ccsv4\utils\gmake\gmake -k all
'Building file: ../client.cfg'
'Invoking: XDCtools'
"C:/CCS_V4/xdctools_3_22_01_21/xs" --xdcpath="C:/CCS_V4/ndk_2_20_02_22/packages;C:/CCS_V4/bios_6_32_02_39/packages;C:/CCS_V4/mcsdk_1_00_00_08/packages;C:/CCS_V4/mcsdk_1_00_00_08/packages;C:/CCS_V4/xdais_7_10_00_06/packages;C:/CCS_V4/xdais_7_10_00_06/examples;" xdc.tools.configuro -o configPkg -t ti.targets.C64P_big_endian -p ti.platforms.evm6472 -r whole_program -c "C:/CCS_V4/ccsv4/tools/compiler/c6000" "../client.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring client.p64Pe from package/cfg/client_p64Pe.cfg ...
warning: ti.sysbios.BIOS: "C:/CCS_V4/bios_6_32_02_39/packages/ti/sysbios/BIOS.xs", line 382: Profile Deprecation Warning ti.sysbios.BIOS: The 'whole_program' build profile will not be supported in future releases of SYS/BIOS. Use 'release' or 'debug' profiles together with the 'BIOS.libType' configuration parameter to specify your preferred library. See the compatibility section of your SYS/BIOS release notes for more information.
warning: ti.sysbios.knl.Task: "C:/CCS_V4/bios_6_32_02_39/packages/ti/sysbios/knl/Task.xs", line 168: .far:taskStackSection : The Task.defaultTaskSection name has been changed to ".far:taskStackSection". Please update your Program.sectMap[] setting accordingly.
unrecognized or unsupported suffix: 64Pe
unrecognized or unsupported suffix: 64Pe
cl64Pe package/cfg/client_p64Pe.c ...
lnk64Pe client.p64Pe ...
'Finished building: ../client.cfg'
' '
'Building file: ../client.c'
'Invoking: Compiler'
"C:/CCS_V4/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/CCS_V4/ccsv4/tools/compiler/c6000/include" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/csl/C6472/csl_c6472/inc" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/drv/emac" --include_path="C:/Program Files/Texas Instruments/mcsdk_1_00_00_08/packages/ti/platform/nimu/test/evm6472/client" --include_path="C:/CCS_V4/ndk_2_20_02_22/packages/ti/ndk/inc" --include_path="C:/CCS_V4/ndk_2_20_02_22/packages/ti/ndk/inc/tools" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/platform/inc" --include_path="C:/CCS_V4/bios_6_32_02_39/packages/ti/bios/include" --diag_warning=225 --big_endian --preproc_with_compile --preproc_dependency="client.pp" --cmd_file="./configPkg/compiler.opt" "../client.c"
'Finished building: ../client.c'
' '
'Building file: ../webpage.c'
'Invoking: Compiler'
"C:/CCS_V4/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --include_path="C:/CCS_V4/ccsv4/tools/compiler/c6000/include" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/csl/C6472/csl_c6472/inc" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/drv/emac" --include_path="C:/Program Files/Texas Instruments/mcsdk_1_00_00_08/packages/ti/platform/nimu/test/evm6472/client" --include_path="C:/CCS_V4/ndk_2_20_02_22/packages/ti/ndk/inc" --include_path="C:/CCS_V4/ndk_2_20_02_22/packages/ti/ndk/inc/tools" --include_path="C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/platform/inc" --include_path="C:/CCS_V4/bios_6_32_02_39/packages/ti/bios/include" --diag_warning=225 --big_endian --preproc_with_compile --preproc_dependency="webpage.pp" --cmd_file="./configPkg/compiler.opt" "../webpage.c"
'Finished building: ../webpage.c'
' '
'Building target: client_evm6472.out'
'Invoking: Linker'
"C:/CCS_V4/ccsv4/tools/compiler/c6000/bin/cl6x" -mv64+ -g --diag_warning=225 --big_endian -z -m"client_evm6472.map" --warn_sections -i"C:/CCS_V4/ccsv4/tools/compiler/c6000/lib" -i"C:/CCS_V4/ccsv4/tools/compiler/c6000/include" -i"C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/platform/nimu/lib" -i"C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/drv/emac/lib" -i"C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/csl/c6472/csl_c6472/lib" -i"C:/CCS_V4/mcsdk_1_00_00_08/packages/ti/platform/lib" --reread_libs --rom_model -o "client_evm6472.out" -l"./configPkg/linker.cmd" "./webpage.obj" "./client.obj" -l"nimu_eth.lib" -l"csl_c6472e.lib" -l"emac_drv_c6472.lib" -l"platform_utils_evm6472.lib" -l"libc.a"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
_CONTENT_TYPE_HTML ./webpage.obj
_CRLF ./webpage.obj
_CfgAddEntry ./client.obj
_CfgEntryDeRef ./client.obj
_CfgEntryGetData ./client.obj
_CfgFree ./client.obj
_CfgGetEntry ./client.obj
_CfgGetImmediate ./client.obj
_CfgNew ./client.obj
_CfgRemoveEntry ./client.obj
_ConsoleClose ./client.obj
_ConsoleOpen ./client.obj
_DNSErrorStrings ./webpage.obj
_DNSGetHostByAddr ./webpage.obj
_DaemonFree ./client.obj
_DaemonNew ./client.obj
_LLIGetMacAddr ./webpage.obj
_NC_NetStart ./client.obj
_NC_SystemClose ./client.obj
_NC_SystemOpen ./client.obj
_NDK_hookCreate C:/Program Files/Texas Instruments/mcsdk_1_00_00_08/packages/ti/platform/nimu/test/evm6472/client/Debug/configPkg/package/cfg/client.p64Pe.obj
_NDK_hookInit C:/Program Files/Texas Instruments/mcsdk_1_00_00_08/packages/ti/platform/nimu/test/evm6472/client/Debug/configPkg/package/cfg/client.p64Pe.obj
_NtIPN2Str ./webpage.obj
_RtWalkBegin ./webpage.obj
_RtWalkEnd ./webpage.obj
_RtWalkNext ./webpage.obj
_SockGetPcb ./webpage.obj
_TaskCreate ./client.obj
_TaskExit ./client.obj
_TaskSleep ./client.obj
__oscfg ./client.obj
_cgiParseMultiVars ./webpage.obj
_cgiParseVars ./webpage.obj
_dtask_tcp_datasrv ./client.obj
_dtask_tcp_echo ./client.obj
_dtask_tcp_nullsrv ./client.obj
_dtask_tcp_oobsrv ./client.obj
_dtask_udp_echo ./client.obj
_efs_createfile ./webpage.obj
_efs_destroyfile ./webpage.obj
_getpeername ./webpage.obj
_getsockname ./webpage.obj
_httpSendClientStr ./webpage.obj
_httpSendErrorResponse ./webpage.obj
_httpSendStatusLine ./webpage.obj
_inet_addr ./client.obj
_llEnter ./webpage.obj
_llExit ./webpage.obj
_llTimerTick C:/Program Files/Texas Instruments/mcsdk_1_00_00_08/packages/ti/platform/nimu/test/evm6472/client/Debug/configPkg/package/cfg/client.p64Pe.obj
_mmBulkAlloc ./webpage.obj
_mmBulkFree ./webpage.obj
_mmZeroInit ./client.obj
_recv ./webpage.obj
error: unresolved symbols remain
error: errors encountered during linking; "client_evm6472.out" not built
>> Compilation failure
gmake: *** [client_evm6472.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project client_evm6472