This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c55i5 eZdsp

i'm so so exhausted . now i'm using the csl for my c5515 eZdsp development board.  i newly ceate a project with runtime support libary choice of "automitic" and then added "C:\Program Files\TMS320C55XXCSL-LOWPWR\c55xx_csl\inc" and "C:\Program Files\TMS320C55XXCSL-LOWPWR\c55xx_csl\src" into my include options.

in my project, i added just mian.c the code is :

#include <stdio.h>
 #include <csl_general.h>
 #include "csl_gpio.h"
 
 CSL_GpioObj   gpioObj;
 GPIO_Handle    hGpio;
 CSL_Status    status;
 CSL_GpioPinConfig  gpioPinConfig;
 
/******************************************************************
 
  main.c
 
 *****************************************************************/

 void mian(void)
 {
  unsigned short int buffer = 0;
  hGpio = GPIO_open(&gpioObj,&status);
  if ((NULL == hGpio)||(status != CSL_SOK))
  {
   printf("can not open gpio !");
   
   }
   
   GPIO_reset(hGpio);
   
   gpioPinConfig.direction = CSL_GPIO_DIR_OUTPUT;
   gpioPinConfig.pinNum = CSL_GPIO_PIN14;
   gpioPinConfig.trigger = CSL_GPIO_TRIG_CLEAR_EDGE;
   GPIO_configBit(hGpio,&gpioPinConfig);
   
   GPIO_write(hGpio,CSL_GPIO_PIN14,buffer);
     
 }
 

but i got link problem like this :

undefined first referenced                                                                                                      
  symbol       in file                                                                                                           
 --------- ----------------                                                                                                      
 _main     C:\Program Files\Texas Instruments\ccsv4\tools\compiler\C5500 Code Generation Tools 4.3.8\lib\rts55x.lib<args_main.obj>

error: unresolved symbols remain
error: errors encountered during linking; "Gpio.out" not built

>> Compilation failure
gmake: *** [Gpio.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project Gpio

i tried a lot to fix this problem. and now i 'm a little exhausted. what is the problem ?

PLEASE HELP ME