DSPRelated.com
Forums

multiple definition of _c_int00_ ( found in rts6400.lib & bios.a64

Started by gagan singh May 16, 2005
Hi All,
We are working in the 320c6416
processor in our development project.
For this we are using DSP-BIOS & CCS environment.
Using command line & Tconf utility we are trying to
build a project.

We are getting a linker error
ie Multiple definition of
entry point _c_int00_ is occurring.
Please let me know how to avoid this error.

We have to include the three standard library files
for building the project
l$(TIROOT)\c6000\cgtools\lib\rts6400.lib
-l$(TIROOT)\c6000\bios\lib\csl6416.lib
-l$(TIROOT)\c6000\bios\lib\bios.a64 This entry point seems to be defined in both the
libraries Kindly let us know how to avoid this
with regards
Gagan

lc:\CCstudio\c6000\bios\lib\csl6416.lib
-lc:\CCstudio\c6000\bios\lib\bios.a64
>> error: symbol _c_int00 is defined multiple times:
boot.obj

(c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
boot.o64
(c:\CCstudio\c6000\bios\lib\bios.a64)
>> error: symbol __stack is defined multiple times:
boot.obj

(c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
boot.o64
(c:\CCstudio\c6000\bios\lib\bios.a64)
>> error: errors in input - a.out not built



[c6x] multiple definition of _c_int00_ ( found in rts6400.lib & bios.a64
Hi Gagan,
 
Standard Library Files is automatically included by BIOS, you need not explicitly include these files.
 
You can include "rts6400.lib" in the CCS build options - linker - include libraries.
 
Please view the Map File for proof of inclusion.
 
Thanks & Regards,
 
Shathiesh Rao S J
 
 
 
 


From: c...@yahoogroups.com on behalf of gagan singh
Sent: Mon 5/16/2005 9:09 AM
To: c...@yahoogroups.com
Subject: [c6x] multiple definition of _c_int00_ ( found in rts6400.lib & bios.a64

Hi All,
               We are working in the 320c6416
processor in our development project.
For this we are using DSP-BIOS & CCS environment.
Using command line & Tconf utility we are trying to
build a project.

We are getting a linker error
ie Multiple definition of
entry point _c_int00_   is occurring.
Please let me know how to avoid this error.

We have to include the three standard library files
for building the project
l$(TIROOT)\c6000\cgtools\lib\rts6400.lib
-l$(TIROOT)\c6000\bios\lib\csl6416.lib
 -l$(TIROOT)\c6000\bios\lib\bios.a64This entry point seems to be defined in both the
libraries Kindly let us know  how to avoid this
with regards
Gagan

lc:\CCstudio\c6000\bios\lib\csl6416.lib
-lc:\CCstudio\c6000\bios\lib\bios.a64
>>   error: symbol _c_int00 is defined multiple times:
boot.obj
          
(c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
boot.o64
            (c:\CCstudio\c6000\bios\lib\bios.a64)
>>   error: symbol __stack is defined multiple times:
boot.obj
          
(c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
boot.o64
            (c:\CCstudio\c6000\bios\lib\bios.a64)
>>   error: errors in input - a.out not built



Hi All,

Thanks guys for the info. I have solve
that problem. Some jugglery in the my make file.
Linking lnk6x statement in makefile was not proper. Regards
Gagan

--- "Maughan, Thomas" <tm@tm@t...> wrote:
> The error is from the RTS6400.lib being included
> twice - DSP/BIOS
> generated linker command file *cfg.cmd has a
> "-lrts6400.lib"
>
> -----Original Message-----
> From: c6x@c6x@...
> [mailto:c6x@c6x@...] On Behalf Of
> gagan singh
> Sent: Sunday, May 15, 2005 8:39 PM
> To: c6x@c6x@...
> Subject: [c6x] multiple definition of _c_int00_ (
> found in rts6400.lib &
> bios.a64
>
> Hi All,
> We are working in the 320c6416
> processor in our development project.
> For this we are using DSP-BIOS & CCS environment.
> Using command line & Tconf utility we are trying to
> build a project.
>
> We are getting a linker error
> ie Multiple definition of
> entry point _c_int00_ is occurring.
> Please let me know how to avoid this error.
>
> We have to include the three standard library files
> for building the project
> l$(TIROOT)\c6000\cgtools\lib\rts6400.lib
> -l$(TIROOT)\c6000\bios\lib\csl6416.lib
> -l$(TIROOT)\c6000\bios\lib\bios.a64 > This entry point seems to be defined in both the
> libraries Kindly let us know how to avoid this >
> with regards
> Gagan >
>
> lc:\CCstudio\c6000\bios\lib\csl6416.lib
> -lc:\CCstudio\c6000\bios\lib\bios.a64
> >> error: symbol _c_int00 is defined multiple
> times:
> boot.obj
>
> (c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
> boot.o64
> (c:\CCstudio\c6000\bios\lib\bios.a64)
> >> error: symbol __stack is defined multiple
> times:
> boot.obj
>
> (c:\CCstudio\c6000\cgtools\lib\rts6400.lib) and
> boot.o64
> (c:\CCstudio\c6000\bios\lib\bios.a64)
> >> error: errors in input - a.out not built > c6x-unsubscribe@c6x-...
__________________________________