Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).
|
hi I wrote a little program which contains several subroutines. But the project can not be built. The error messages are as follows: "C:\Program Files\Analog Devices\VisualDSP\cc218x.exe" .\Debug\test.doj -T .\2189ezkit.ldf - proc ADSP-2189 -L .\Debug -flags-link -od,.\Debug -o .\Debug\test.dxe [Error li1113] The symbol 'TIME_SET' referenced in file '.\Debug\test.doj' in the project 'p0' could not be resolved Linker finished with 1 error(s) 0 warning(s) cc218x: Fatal Error: Link failed Tool failed with exit/exception code: 1. Build was unsuccessful. I think the problem is that the subroutine "Time_Set" is not defined in the LDF, right? And how do I do that? Since LDF in demo files did't have any subroutines descriptions... Easy Question but I just don't get it! thanks~ tylu |
|
|
|
On Mon, 31 Mar 2003, tylu wrote: > hi > I wrote a little program which contains several subroutines. > But the project can not be built. The error messages are as follows: > > "C:\Program Files\Analog > Devices\VisualDSP\cc218x.exe" .\Debug\test.doj -T .\2189ezkit.ldf - > proc ADSP-2189 -L .\Debug -flags-link -od,.\Debug -o .\Debug\test.dxe > [Error li1113] The symbol 'TIME_SET' referenced in > file '.\Debug\test.doj' in the project 'p0' could not be resolved > Linker finished with 1 error(s) 0 warning(s) > cc218x: Fatal Error: Link failed > Tool failed with exit/exception code: 1. > Build was unsuccessful. > > I think the problem is that the subroutine "Time_Set" is not defined > in the LDF, right? And how do I do that? Since LDF in demo files > did't have any subroutines descriptions... > Easy Question but I just don't get it! Howdy tylu, It looks like you forgot a library. Check the manual to see which files you need to add to the link list. There should be a list of all subroutines for all the libraries too somewhere, maybe you can find the correct object file (maybe a .lib or .dxe or .doj) that should be listed in the .ldf. Patience, persistence, truth, Dr. mike |
|
Tylu, I believe the problem is in your algorithm you are making a call to this message Timer_Set, because its saying that it cannot resolve the symbol which means the library that contains the macro hasnt been added and by default or for some other reason the compiler is calling this function. that is my thought. anyways my advise is going and check the manual and see what about this Timer_Set function should you set for your default program. Ricardo -----Original Message----- From: tylu [mailto:] Sent: Mon 31/03/2003 4:24 PM To: Cc: Subject: [adsp] Problems about LDF? hi I wrote a little program which contains several subroutines. But the project can not be built. The error messages are as follows: "C:\Program Files\Analog Devices\VisualDSP\cc218x.exe" .\Debug\test.doj -T .\2189ezkit.ldf - proc ADSP-2189 -L .\Debug -flags-link -od,.\Debug -o .\Debug\test.dxe [Error li1113] The symbol 'TIME_SET' referenced in file '.\Debug\test.doj' in the project 'p0' could not be resolved Linker finished with 1 error(s) 0 warning(s) cc218x: Fatal Error: Link failed Tool failed with exit/exception code: 1. Build was unsuccessful. I think the problem is that the subroutine "Time_Set" is not defined in the LDF, right? And how do I do that? Since LDF in demo files did't have any subroutines descriptions... Easy Question but I just don't get it! thanks~ tylu _____________________________________ /groups.php3 |