DSPRelated.com
Forums

ccs c program

Started by richededw June 16, 2005
hi

i am new to ccs and i want to run a simple "hello world" c program on
tms32054xx. but I get

>> warning: entry point symbol _c_int00 undefined

undefined first referenced
symbol in file
--------- ----------------
_printf hello.obj
>> symbol referencing errors - richard1.out not built

can anyone help me with this

cheers
richard


hi!

i had programming in asm, and i got the same.
after that, i changed something, in:
project>build options>linker>autoinit model (no auto)
and after that, i worked well. but i think you have to have a code entry point, in a c project.
i can't help more.

n.i. (buenoshun)
----- Original Message -----
From: richededw
To: code-comp@code...
Sent: Thursday, June 16, 2005 5:51 PM
Subject: [code-comp] ccs c program hi

i am new to ccs and i want to run a simple "hello world" c program on
tms32054xx. but I get

>> warning: entry point symbol _c_int00 undefined

undefined first referenced
symbol in file
--------- ----------------
_printf hello.obj
>> symbol referencing errors - richard1.out not built

can anyone help me with this

cheers
richard a.. To


The compiler is complaining that it does'nt know what "printf"
function is.Is this a user defined function? If not where is the code
for this function?

I could simply tell you the exact reason why this error is being
generated, but if I did you probably will miss some very early and
valuable lessons on embedded development.

I guess you need to analyze an existing project like volume1 provided
along in the CCS installation under tutorial->dsk6711 to understand
the basic architecture of C programming in CCS.

--Bhooshan

On 6/17/05, Nagy Istvan <buenos@buen...> wrote:
> hi!
>
> i had programming in asm, and i got the same.
> after that, i changed something, in:
> project>build options>linker>autoinit model (no auto)
> and after that, i worked well. but i think you have to have a code entry
> point, in a c project.
> i can't help more.
>
> n.i. (buenoshun)
> ----- Original Message -----
> From: richededw
> To: code-comp@code...
> Sent: Thursday, June 16, 2005 5:51 PM
> Subject: [code-comp] ccs c program > hi
>
> i am new to ccs and i want to run a simple "hello world" c program on
> tms32054xx. but I get
>
> >> warning: entry point symbol _c_int00 undefined
>
> undefined first referenced
> symbol in file
> --------- ----------------
> _printf hello.obj
> >> symbol referencing errors - richard1.out not built
>
> can anyone help me with this
>
> cheers
> richard