Hi,
Im sorry to say that the issue was the ASM function getting called
from a "CPP" file. So the function's declaration needed an extra:
extern
"C", which I was unaware of. Thanks for all the replies.
--
jag
"Quaerendo invenietis"
-----Original Message-----
From: Ganesh Vijayan [mailto:ganesh@gane...]
Sent: Thursday, November 10, 2005 1:26 PM
To: Jagadeesh Bhaskar P
Cc: c6x@c6x@...
Subject: Re: [c6x] asm function showing linker error
Can you try without function pointer ? If your function is defined
properly and is added in your library project, then it should get
linked. Somewhere you are missing something. I guess you need to
cross-verify if your source i.e. asm file is indeed included and
compiled.
Ganesh
----- Original Message -----
From: Jagadeesh <mailto:jagadeeshbp@jaga...> Bhaskar P
To: 'Ganesh Vijayan' <mailto:ganesh@gane...>
Cc: c6x@c6x@...
Sent: Thursday, November 10, 2005 12:41 PM
Subject: Re: [c6x] asm function showing linker error
Hi,
Thank you for the reply. It was not a standard function, but just one
written by me itself. Now i tried clubbing up files in the library and
the application, yet again im getting the error. I have the function's
definition, ie the asm file, added to the project. Also before the usage
I have the function itself defined. Actually the function is getting
assigned to a function pointer and that container funcion is the one
getting called. But still it is giving linker error on the function.
Why could this be? Do help.
TIA.
--
jag.