Files/CCS/ccsv5/tools/compiler/c6000_7.4.4/include" –define=c6748 –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="main.pp" "../main.cpp"
'Finished building: ../main.cpp'
' '
'Building target: EMD.out'
'Invoking: C6000 Linker'
"D:/Program Files/CCS/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6740 –abi=coffabi -g –define=c6748 –display_error_number –diag_warning=225 –diag_wrap=off -z –stack_size=0x800 -m"EMD.map" –heap_size=0x800 -i"D:/Program Files/CCS/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"D:/Program Files/CCS/ccsv5/tools/compiler/c6000_7.4.4/include" –reread_libs –warn_sections –display_error_number –diag_wrap=off –xml_link_info="EMD_linkInfo.xml" –rom_model -o "EMD.out" "./main.obj" "../C6748.cmd" -l"libc.a"<Linking>
undefined first referenced
symbol in file
——— —————-
_system ./main.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "EMD.out" not built
>> Compilation failure
gmake: *** [EMD.out] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
noaming:
这个问题似乎是工程没有添加好对应的库文件路径