Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).
|
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-----
Hello, /groups.php3 Your use of Yahoo! Groups is subject to the 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. |