DSPRelated.com
Forums

cfft routine in VDSP2.0

Started by amol gavande January 23, 2003
hi everybody,

I am developing one program in C in VDSP2.0 for 21060 processor in which I am
using cfft512,cfft256,cfft128 routines. I had also included the header file
named "trans.h" & the path is also correct, but still the VDSP is giving linker
error as the routines given above could not be resolved.

please solve my problem.

Amol.



Hello,

you may need to modify your LDF file to reserve some PMDA space for the FFT, I
did not have to include trans.h.
Look at the source code for the cfftXXX to check.

Hope this helps,

Alex Young
DSP software Engineer
Consultant for Philips Digital Systems Laboratories
Philips Technology Campus Leuven
To: cc: (bcc: Alex
Young/LEU/PDSL/PHILIPS)

Subject: [adsp] cfft
routine in VDSP2.0

amol gavande Classification: < 23/01/03 14:28
hi everybody,

I am developing one program in C in VDSP2.0 for 21060 processor in which I am
using cfft512,cfft256,cfft128 routines. I had also included the header file
named "trans.h" & the path is also correct, but still the VDSP is giving linker
error as the
routines given above could not be resolved.

please solve my problem.

Amol. _____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/



if the linker is complaining about unresolved objects,
then the linker does not have the correct path to the
object or library files.

You need to specify both a compiler AND a linker path.
One of the VisualDSP windows lets you configure these
settings (I don't remember exactly which menu item).

good luck,
-Robert Yu
http://home.attbi.com/~ryu_contact

----- Original Message -----
From: "amol gavande" <>
To: <>
Sent: Thursday, January 23, 2003 5:28 AM
Subject: [adsp] cfft routine in VDSP2.0 > hi everybody,
>
> I am developing one program in C in VDSP2.0 for 21060 processor in which I am
using cfft512,cfft256,cfft128 routines. I had also
included the header file named "trans.h" & the path is also correct, but still
the VDSP is giving linker error as the routines
given above could not be resolved.
>
> please solve my problem.
>
> Amol. > _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to
do a "reply all" if you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/
>



hi,

Thanks for the reply,

This is the error what we get.

"C:\Program Files\Analog Devices\VisualDSP\cc21k.exe"
.\Debug\RpfMain.doj -T .\quad.ldf -21060 -L .\Debug -o
.\Debug\Main.dxe
[Error li2007] symbol '_cfft512' referenced in file
'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
not be resolved
[Error li2007] symbol '_cfft256' referenced in file
'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
not be resolved
[Error li2007] symbol '_cfft128' referenced in file
'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
not be resolved
Linker finished with 3 error(s) 0 warning(s)
cc21k: Fatal Error: Link failed

I think its a path problem, but we are not able to
solve it.

Thanks,

Liyju

--- Robert K Yu <> wrote:
>
> if the linker is complaining about unresolved
> objects,
> then the linker does not have the correct path to
> the
> object or library files.
>
> You need to specify both a compiler AND a linker
> path.
> One of the VisualDSP windows lets you configure
> these
> settings (I don't remember exactly which menu item).
>
> good luck,
> -Robert Yu
> http://home.attbi.com/~ryu_contact >
>
> ----- Original Message -----
> From: "amol gavande" <>
> To: <>
> Sent: Thursday, January 23, 2003 5:28 AM
> Subject: [adsp] cfft routine in VDSP2.0 > > hi everybody,
> >
> > I am developing one program in C in VDSP2.0 for
> 21060 processor in which I am using
> cfft512,cfft256,cfft128 routines. I had also
> included the header file named "trans.h" & the path
> is also correct, but still the VDSP is giving linker
> error as the routines
> given above could not be resolved.
> >
> > please solve my problem.
> >
> > Amol.
> >
> >
> > _____________________________________
> > Note: If you do a simple "reply" with your email
> client, only the author of this message will receive
> your answer. You need to
> do a "reply all" if you want your answer to be
> distributed to the entire group.
> >
> > _____________________________________
> > About this discussion group:
> >
> > To Join: Send an email to
>
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
>
> >
> > Archives: http://groups.yahoo.com/group/adsp
> >
> > Other Groups:
> http://www.dsprelated.com/groups.php3
> >
> >
> > ">http://docs.yahoo.com/info/terms/
> >
> _____________________________________
> Note: If you do a simple "reply" with your email
> client, only the author of this message will receive
> your answer. You need to do a "reply all" if you
> want your answer to be distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to > To Post: Send an email to
>
> To Leave: Send an email to > Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/


__________________________________________________




Yes, this looks like a path problem.

You are referencing a symbol or function called
cfft* in main, but the linker can't find the definition
for cfft*. Find the runtime library file containing
cfft* and configure your linker settings to include
the path for the runtime library file.

----- Original Message -----
From: "Liyju Janardhan" <>
To: <>
Sent: Thursday, January 23, 2003 8:10 PM
Subject: Re: [adsp] cfft routine in VDSP2.0 > hi,
>
> Thanks for the reply,
>
> This is the error what we get.
>
> "C:\Program Files\Analog Devices\VisualDSP\cc21k.exe"
> .\Debug\RpfMain.doj -T .\quad.ldf -21060 -L .\Debug -o
> .\Debug\Main.dxe
> [Error li2007] symbol '_cfft512' referenced in file
> 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
> not be resolved
> [Error li2007] symbol '_cfft256' referenced in file
> 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
> not be resolved
> [Error li2007] symbol '_cfft128' referenced in file
> 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ' could
> not be resolved
> Linker finished with 3 error(s) 0 warning(s)
> cc21k: Fatal Error: Link failed
>
> I think its a path problem, but we are not able to
> solve it.
>
> Thanks,
>
> Liyju
>
> --- Robert K Yu <> wrote:
> >
> > if the linker is complaining about unresolved
> > objects,
> > then the linker does not have the correct path to
> > the
> > object or library files.
> >
> > You need to specify both a compiler AND a linker
> > path.
> > One of the VisualDSP windows lets you configure
> > these
> > settings (I don't remember exactly which menu item).
> >
> > good luck,
> > -Robert Yu
> > http://home.attbi.com/~ryu_contact
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "amol gavande" <>
> > To: <>
> > Sent: Thursday, January 23, 2003 5:28 AM
> > Subject: [adsp] cfft routine in VDSP2.0
> >
> >
> > > hi everybody,
> > >
> > > I am developing one program in C in VDSP2.0 for
> > 21060 processor in which I am using
> > cfft512,cfft256,cfft128 routines. I had also
> > included the header file named "trans.h" & the path
> > is also correct, but still the VDSP is giving linker
> > error as the routines
> > given above could not be resolved.
> > >
> > > please solve my problem.
> > >
> > > Amol.
> > >
> > >
> > > _____________________________________
> > > Note: If you do a simple "reply" with your email
> > client, only the author of this message will receive
> > your answer. You need to
> > do a "reply all" if you want your answer to be
> > distributed to the entire group.
> > >
> > > _____________________________________
> > > About this discussion group:
> > >
> > > To Join: Send an email to
> >
> > >
> > > To Post: Send an email to
> > >
> > > To Leave: Send an email to
> >
> > >
> > > Archives: http://groups.yahoo.com/group/adsp
> > >
> > > Other Groups:
> > http://www.dsprelated.com/groups.php3
> > >
> > >
> > > ">http://docs.yahoo.com/info/terms/
> > >
> >
> >
> >
> > _____________________________________
> > Note: If you do a simple "reply" with your email
> > client, only the author of this message will receive
> > your answer. You need to do a "reply all" if you
> > want your answer to be distributed to the entire
> > group.
> >
> > _____________________________________
> > About this discussion group:
> >
> > To Join: Send an email to
> >
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
> >
> >
> > Archives: http://groups.yahoo.com/group/adsp
> >
> > Other Groups: http://www.dsprelated.com/groups.php3
> >
> >
> > ">http://docs.yahoo.com/info/terms/
> >
> > __________________________________________________
>
> _____________________________________
> Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to
do a "reply all" if you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/
>





hi *.*,

My problem is solved.

The problem was because of library files.
I have to include libdsp.dlb in the libraries section
in ldf file.
$LIBRARIES = lib060.dlb, libdsp.dlb, libc.dlb,
libio32.dlb;

Thanks for the reply.

Regards

Liyju & Amol --- Robert K Yu <> wrote:
>
> Yes, this looks like a path problem.
>
> You are referencing a symbol or function called
> cfft* in main, but the linker can't find the
> definition
> for cfft*. Find the runtime library file
> containing
> cfft* and configure your linker settings to include
> the path for the runtime library file. >
>
> ----- Original Message -----
> From: "Liyju Janardhan" <>
> To: <>
> Sent: Thursday, January 23, 2003 8:10 PM
> Subject: Re: [adsp] cfft routine in VDSP2.0 > > hi,
> >
> > Thanks for the reply,
> >
> > This is the error what we get.
> >
> > "C:\Program Files\Analog
> Devices\VisualDSP\cc21k.exe"
> > .\Debug\RpfMain.doj -T .\quad.ldf -21060 -L
> .\Debug -o
> > .\Debug\Main.dxe
> > [Error li2007] symbol '_cfft512' referenced in
> file
> > 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ'
> could
> > not be resolved
> > [Error li2007] symbol '_cfft256' referenced in
> file
> > 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ'
> could
> > not be resolved
> > [Error li2007] symbol '_cfft128' referenced in
> file
> > 'C:\EZ-KIT\EZSHARC\LIYJU\QUAD\DEBUG\MAIN.DOJ'
> could
> > not be resolved
> > Linker finished with 3 error(s) 0 warning(s)
> > cc21k: Fatal Error: Link failed
> >
> > I think its a path problem, but we are not able to
> > solve it.
> >
> > Thanks,
> >
> > Liyju
> >
> > --- Robert K Yu <> wrote:
> > >
> > > if the linker is complaining about unresolved
> > > objects,
> > > then the linker does not have the correct path
> to
> > > the
> > > object or library files.
> > >
> > > You need to specify both a compiler AND a linker
> > > path.
> > > One of the VisualDSP windows lets you configure
> > > these
> > > settings (I don't remember exactly which menu
> item).
> > >
> > > good luck,
> > > -Robert Yu
> > > http://home.attbi.com/~ryu_contact
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "amol gavande" <>
> > > To: <>
> > > Sent: Thursday, January 23, 2003 5:28 AM
> > > Subject: [adsp] cfft routine in VDSP2.0
> > >
> > >
> > > > hi everybody,
> > > >
> > > > I am developing one program in C in VDSP2.0
> for
> > > 21060 processor in which I am using
> > > cfft512,cfft256,cfft128 routines. I had also
> > > included the header file named "trans.h" & the
> path
> > > is also correct, but still the VDSP is giving
> linker
> > > error as the routines
> > > given above could not be resolved.
> > > >
> > > > please solve my problem.
> > > >
> > > > Amol.
> > > >
> > > >
> > > > _____________________________________
> > > > Note: If you do a simple "reply" with your
> email
> > > client, only the author of this message will
> receive
> > > your answer. You need to
> > > do a "reply all" if you want your answer to be
> > > distributed to the entire group.
> > > >
> > > > _____________________________________
> > > > About this discussion group:
> > > >
> > > > To Join: Send an email to
> > >
> > > >
> > > > To Post: Send an email to
>
> > > >
> > > > To Leave: Send an email to
> > >
> > > >
> > > > Archives: http://groups.yahoo.com/group/adsp
> > > >
> > > > Other Groups:
> > > http://www.dsprelated.com/groups.php3
> > > >
> > > >
> > > > ">http://docs.yahoo.com/info/terms/
> > > >
> > >
> > >
> > >
> > > _____________________________________
> > > Note: If you do a simple "reply" with your email
> > > client, only the author of this message will
> receive
> > > your answer. You need to do a "reply all" if
> you
> > > want your answer to be distributed to the entire
> > > group.
> > >
> > > _____________________________________
> > > About this discussion group:
> > >
> > > To Join: Send an email to
> > >
> > >
> > > To Post: Send an email to
> > >
> > > To Leave: Send an email to
> > >
> > >
> > > Archives: http://groups.yahoo.com/group/adsp
> > >
> > > Other Groups:
> http://www.dsprelated.com/groups.php3
> > >
> > >
> > > ">http://docs.yahoo.com/info/terms/
> > >
> > >
> >
> >
> > __________________________________________________
> >
> >
> > _____________________________________
> > Note: If you do a simple "reply" with your email
> client, only the author of this message will receive
> your answer. You need to
> do a "reply all" if you want your answer to be
> distributed to the entire group.
> >
> > _____________________________________
> > About this discussion group:
> >
> > To Join: Send an email to
>
> >
> > To Post: Send an email to
> >
> > To Leave: Send an email to
>
> >
> > Archives: http://groups.yahoo.com/group/adsp
> >
> > Other Groups:
> http://www.dsprelated.com/groups.php3
> >
> >
> > ">http://docs.yahoo.com/info/terms/
>
=== message truncated === __________________________________________________