Subject: Multiple codecs in single server package linker error

I am trying to compile multiple codecs to use on the davinci that get compiled 
into a single server package (.x64P).  There are several functions and global 
variables defined and used “individually” by each codec that have the same 
names.  This worked fine when I had 2 codecs working, but when I added a 3rd 
codec, all the global variables / functions with the same names from different 
codecs started to conflict during the final linking stage to generate the .x64P
 
I get this warning:
 
 error: symbol _curTrace is defined multiple times: TOOLBOXalgo.o64P
            
(/home/harsha/DVPB_workdir/filesys/opt/codecs/TOOLBOXalgo/lib/TOOLBOXalgo.a64P) 
and DEValgo.o64P 
(/home/harsha/DVPB_workdir/filesys/opt/codecs/DEValgo/lib/DEValgo.a64P)
 
where curTrace is the global variable.  
 
see 
http://tiexpressdsp.com/wiki/index.php?title=QualiTI_XDAIS_Compliance_Tool -> 
specifically Rules 8, 9, 10.
 
 
 
Any information as to why this would happen would be appreciated. Is this just 
standard name clashing? Can you not have globals or functions of the same name 
in different codecs?
 
Thanks,
 
Joshua 


      
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to