各位大神,请教一下: 我在C6747上用C67xDSPLIB优化库中的DSPF_dp_mat_mal进行矩阵相乘运算,但是运行下去程序一直陷入到在DSPF_dp_mat_mal中,出问题了,感觉是死在里头了,运行结果如下:No source available for "$DSPF_dp_mat_mul.asm:106:390$() at D:\CCSWorkspace\fortran_test\Debug\fortran_test.out:{3} 0x800006c0{4}"请教一下论坛上的各位大神。我的编译结果如下:
**** Build of configuration Debug for project fortran_test ****
"E:\\software\\CCSInstall\\ccsv5\\utils\\bin\\gmake" -k all'Building file: ../main.c'
'Invoking: C6000 Compiler'
"E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 –abi=coffabi -g –include_path="E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/include" –include_path="C:/CCStudio/c6700/dsplib/include" –define=c6747 –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="main.pp" "../main.c"
"../main.c", line 18: warning #225-D: function declared implicitly
'Finished building: ../main.c'
' '
'Building target: fortran_test.out'
'Invoking: C6000 Linker'
"E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/bin/cl6x" -mv6740 –abi=coffabi -g –define=c6747 –display_error_number –diag_warning=225 –diag_wrap=off -z –stack_size=0x800 -m"fortran_test.map" –heap_size=0x800 -i"E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"C:/CCStudio/c6700/dsplib/lib" -i"E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/lib" -i"E:/software/CCSInstall/ccsv5/tools/compiler/c6000_7.4.1/include" –reread_libs –warn_sections –display_error_number –diag_wrap=off –rom_model -o "fortran_test.out" "./main.obj" -l"C:\CCStudio\c6700\dsplib\lib\dsp67x.lib" -l"libc.a" "../C6747.cmd"<Linking>
warning #16002-D: build attribute vendor section TI missing in "C:\CCStudio\c6700\dsplib\lib\dsp67x.lib<DSPF_dp_mat_mul.obj>": compatibility cannot be determined
'Finished building target: fortran_test.out'
' '
**** Build Finished ****
注意一下那个warnning。
运行结果如下:No source available for "$DSPF_dp_mat_mul.asm:106:390$() at D:\CCSWorkspace\fortran_test\Debug\fortran_test.out:{3} 0x800006c0{4}"
Tony Tang:
DSP lib不对吧,要C674x的DSPlib。
那个warning没事,因为调用的库函数,不是源码,停在库函数处自然找到不源码。
wei Wang34:
回复 Tony Tang:
您好, c674x的lib库我看了,里面矩阵运算只有 DSPF_sp_mat_mul,参数是float型的,不是double型,没有DSPF_dp_mat_mul这个函数,怎么办?有什么解决的方法吗?
user5188149:
回复 wei Wang34:
你好,请问您这个问题怎么解决的,我也想用double型的矩阵乘法函数,但是没有