Forums

Need help on G726 codec linking on DSP56F807

Started by sureshsureddi December 12, 2002
Hello,
We are unable to link codec module to our application on
DSP56F807 Evaluation board.While linking we are getting following
link errors.
Link Error : Undefined : "FG726EncCreate"
Referenced from "Fmain" in main.c

Link Error : Undefined : "FG726EncDestroy"
Referenced from "Fmain" in main.c

Link Error : Undefined : "FG726Encoder"
Referenced from "Fmain" in main.c

Link failed.

Could anyone please tell me the detailed procedure of
linking the codec library to our application ?

Thanks and Regards,
Suresh.




Make sure that you have included g726.lib in your project. The errors that you are getting are due to linker inability to find symbols that you are calling from your application. These symbols are defined in the g726.lib.

 

To add g726.lib to your project, simply select “”Add Files” command from the “Project” menu in CodeWarrior IDE.

 

Also, please note that if you are using basic SDK, you will not have g726 installed on your development computer. You will have to talk to your local sales person or FAE to obtain g726.lib.

 

Leonard

 

 

 

-----Original Message-----
From: s...@yahoo.com [mailto:s...@yahoo.com]
Sent: Thursday, December 12, 2002 7:24 AM
To: m...@yahoogroups.com
Subject: [motoroladsp] Need help on G726 codec linking on DSP56F807

 

Hello,
    We are unable to link codec module to our application on
DSP56F807 Evaluation board.While linking we are getting following
link errors.
    Link Error   : Undefined : "FG726EncCreate"
    Referenced from "Fmain" in main.c

    Link Error   : Undefined : "FG726EncDestroy"
    Referenced from "Fmain" in main.c

    Link Error   : Undefined : "FG726Encoder"
    Referenced from "Fmain" in main.c

    Link failed.

                Could anyone please tell me the detailed procedure of
linking the codec library to our application ?

Thanks and Regards,
Suresh.


_____________________________________
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:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3


">Yahoo! Terms of Service.


Suresh,

I know this is kind of the obvious question, but have you included
the G726.lib either as a library or a subproject within your
application project?

If you haven't, you need to read sections Chapters 4 and 5 of the
G726 Library documentation that comes within the Embedded SDK
documentation. That should help you get up and running....

If you have already done this and my answer seems trivial or too
simplistic, I apologize......just not sure where you are at in the
debug phase. :-)

Regards,
John

--- In , "sureshsureddi
<sureshsureddi@y...>" <sureshsureddi@y...> wrote:
> Hello,
> We are unable to link codec module to our application on
> DSP56F807 Evaluation board.While linking we are getting following
> link errors.
> Link Error : Undefined : "FG726EncCreate"
> Referenced from "Fmain" in main.c
>
> Link Error : Undefined : "FG726EncDestroy"
> Referenced from "Fmain" in main.c
>
> Link Error : Undefined : "FG726Encoder"
> Referenced from "Fmain" in main.c
>
> Link failed.
>
> Could anyone please tell me the detailed procedure
of
> linking the codec library to our application ?
>
> Thanks and Regards,
> Suresh.