Forums

lib rpoc term

Started by less April 28, 2005
hi, 

ihave a adsp 21061(ez_kit lite board), and i want to save a few samples
from the line in and play them too. but this failure arrives i don't know
what to do.
can anyone help me please

C:\EZ-KIT\cc21k.exe .\Debug\Init.doj .\Debug\init1847.doj
.\Debug\notEs1.doj .\Debug\061__ezkit_hdr.doj -proc ADSP-21061 -L .\Debug
-flags-link -od,.\Debug -o .\Debug\record.dxe
[Error li2523]  '___lib_prog_term': Multiply defined symbol.
Initial definition:     '.\Debug\061__ezkit_hdr.doj'.
Attempted redefinition: '061_hdr.doj'.

[Error li2523]  '__done_execution': Multiply defined symbol.
Initial definition:     '.\Debug\061__ezkit_hdr.doj'.
Attempted redefinition: '061_hdr.doj'.

Linker finished with 2 error(s) 0 warning(s)
cc21k: Fatal Error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.



		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
less wrote:
> [Error li2523] '__done_execution': Multiply defined symbol. > Initial definition: '.\Debug\061__ezkit_hdr.doj'. > Attempted redefinition: '061_hdr.doj'.
It looks like 061__ezkit_hdr.doj and 061_hdr.doj are both defining the same things. I think there are three ways to attack this problem, but since I don't know the details of this ezkit, I don't know which one is better. You can either a) remove the source code from which 061__ezkit_hdr.doj is compiled form your project, b) tell your ldf file to quit linking in 061_hdr.doj, or c) use an ldr file that already does b) for you. My guess is that option c) is best, but I dunno. If there is a special ldr file that came with the kit, you could specify that. If you don't spec an ldr file, the IDE chooses a default for you (061_hdr.doj). Good luck. -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 Today is the last day of your life so far.
Jim Thomas wrote:
> less wrote: > >> [Error li2523] '__done_execution': Multiply defined symbol. >> Initial definition: '.\Debug\061__ezkit_hdr.doj'. >> Attempted redefinition: '061_hdr.doj'. > > > It looks like 061__ezkit_hdr.doj and 061_hdr.doj are both defining the > same things. I think there are three ways to attack this problem, but > since I don't know the details of this ezkit, I don't know which one is > better. > > You can either a) remove the source code from which 061__ezkit_hdr.doj > is compiled form your project, b) tell your ldf file to quit linking in > 061_hdr.doj, or c) use an ldr file that already does b) for you. > > My guess is that option c) is best, but I dunno. If there is a special > ldr file that came with the kit, you could specify that. If you don't > spec an ldr file, the IDE chooses a default for you (061_hdr.doj). > > Good luck.
Oops. Replace "ldr" with "ldf" all through the previous post. I just got off a project that was heavily involved with ldr's. -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 Air conditioning may have destroyed the ozone layer - but it's been worth it!
Jim Thomas wrote:
...
> Air conditioning may have destroyed the ozone layer - but it's been > worth it!
That's got to be the dumbest signature I have ever seen. Jim, have you been exposed to ultra-violet radiation for too long :-) ?
Andor wrote:
> Jim Thomas wrote: > ... > >>Air conditioning may have destroyed the ozone layer - but it's been >>worth it! > > > That's got to be the dumbest signature I have ever seen. Jim, have you > been exposed to ultra-violet radiation for too long :-) ? >
Thank you, and maybe. An old friend of mine said that to me on a very hot day a long time ago. I thought it was funny, and for the record, I do not really subscribe to the sentiment. But if you've ever tried to get to sleep on a hot night without A/C, you might be willing to take the short view (at least until morning). Maybe it's time to retire that entry. -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 Failure is always an option
Jim wrote:

>But if you've ever tried to >get to sleep on a hot night without A/C, you might be willing to take >the short view (at least until morning).
I guess it's easy for me to complain about airconditioning. We don't really need it much around here (=Switzerland) ...
> Failure is always an option
Oh well. :-) Regards, Andor