• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » Code Composer Studio » Code Composer Forum » weird "unresolved symbols remain" error in CCSv4
Share
Code Composer Studio
  • Forum
  • Announcements
Options
  • Subscribe via RSS
Common Questions
  • Code Composer Studio Forum Usage Guidelines

  • Resources
  • Code Composer Studio (CCStudio) Product Folder
  • Troubleshooting CCS
  • CCS Wiki
  • Download CCS
  • Order CCS
  • Tools Insider Blog
  • Bug Tracking
  • weird "unresolved symbols remain" error in CCSv4

    weird "unresolved symbols remain" error in CCSv4

    This question is answered
    Naveen Dhawan
    Posted by Naveen Dhawan
    on Feb 19 2011 02:26 AM
    Prodigy50 points

    I am running CCSv4 on a XP machine.  The program I am running is a simple C program that sets the GPIO0 on/off for the TMS320f28335 DSP processor.  I am using dsp2833xx  v131 files included in the sprc530.zip.  

    I am trying to figure out a weird compilation error I keep getting.  Its weird because the steps I follow are from a tutorial which a few months ago I never had an issue following. Now however, on three mutually exclusive occasions I get the exact same compiler error and I still can't figure out where its coming from.  Luckily I can just comment out these variables in PieVect.c and the linking error goes away, but I should not have to do this.  Thanks I appreciate any help.

     undefined      first referenced      

      symbol            in file           

     ---------      ----------------      

     _SCIRXINTC_ISR ./DSP2833x_PieVect.obj

     _SCITXINTC_ISR ./DSP2833x_PieVect.obj

     _TINT0_ISR     ./DSP2833x_PieVect.obj

     _XINT1_ISR     ./DSP2833x_PieVect.obj

     _XINT5_ISR     ./DSP2833x_PieVect.obj

     

    error: unresolved symbols remain

    error: errors encountered during linking; "FlashTestTry1.out" not built

     

    >> Compilation failure

    gmake: *** [FlashTestTry1.out] Error 1

    gmake: Target `all' not remade because of errors.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • BrandonAzbell
      Posted by BrandonAzbell
      on Feb 19 2011 07:57 AM
      Guru54850 points

      Have you included the DSP2833x_common\source\DSP2833x_DefaultIsr.c file into your project?

      This is where these routines are defined.

      Brandon

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Naveen Dhawan
      Posted by Naveen Dhawan
      on Feb 19 2011 21:22 PM
      Verified Answer
      Verified by BrandonAzbell
      Prodigy50 points

      Thanks Brandon.  Yea I do have that file linked to the project.  Thanks for pointing me to there, I just looked inside and apparently those interrupt service routines are commented out.  I don't think this is supposed to be done.  I re downloaded sprc530.zip which had these files and that seemed to have them correctly commented.  I just realized that I am working off a version of sprc530.zip that has been modified by a person who was building a system on my development machine.  I am not sure if this is good coding practice since this changes ti's document.  Should the files in sprc530.zip be preserved or are they allowed to be modified.  Thanks for your response.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • BrandonAzbell
      Posted by BrandonAzbell
      on Feb 20 2011 09:10 AM
      Guru54850 points

      The fact that source code is provided gives you flexibility if you think you need to modify it.  That said, I firmly believe it is important for you to have a repository of software on your workstation that is viewed as the "prestine copy" which should be unmodified.  This is the version of software as obtained from the vendor (in this particular case, the exact contents of SPRC530 as obtained from TI).

      When questions or support is requested of this software, it should be associated with the prestine copy as obtained by the vendor, not any particular modified version.
      EDIT : I should clarify this statement a bit.  I don't want to sound like we will not help, or support, you on changes or other code not provided by us, but it should be clearly identified up front in the discussion that the sources are either modified or not modified.  It helps in the understanding of the starting point.

      You may very well need to modify the sources for your particular application so having source code is very helpful in that environment.

       

      I know I talking both sides of the equation, but there isn't a single answer.  Bottom line, care needs to be taken when using these resources as to not create unnecessary workload.

      Brandon

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Kelly Meemken
      Posted by Kelly Meemken
      on Aug 03 2011 10:24 AM
      Intellectual435 points

      I am having a very similar issue.  I am running the trial version of CCS v4 on windows xp.  I imported a 3.3 project to a 4 project.  I recieve the errors below which appears as if the .h files cannot be located but they are all included in my search path.  I've noticed that the errors occur when a variable defined in dsp280x_xxxx.h files are referenced.  Any ideas would be more than helpful.

      Projects/Eflex/lib/dsp280x/DSP280x_headers/include" --reread_libs --rom_model -o "eFlex_Pilot.out" "./Src/version.obj" "./Src/velocity.obj" "./Src/tmr.obj" "./Src/timer.obj" "./Src/tican_driver.obj" "./Src/tcanlib.obj" "./Src/tcan.obj" "./Src/ramp.obj" "./Src/pwm.obj" "./Src/power.obj" "./Src/position.obj" "./Src/pie.obj" "./Src/pid.obj" "./Src/nvram.obj" "./Src/monitor.obj" "./Src/main.obj" "./Src/limit.obj" "./Src/hall.obj" "./Src/fault.obj" "./Src/eeprom.obj" "./Src/drive.obj" "./Src/diaglog.obj" "./Src/debug.obj" "./Src/control.obj" "./Src/cntrlisr.obj" "./Src/bootapp.obj" "./Src/adc.obj" "./Src/SysCtrl.obj" -l"rts2800_ml.lib" "../2806_FLASH_lnk.cmd" "../DSP280x_Headers_nonBIOS.cmd"

      <Linking>

      "../2806_FLASH_lnk.cmd", line 106: warning: no matching section

       

       

      undefined first referenced

       

      >> Compilation failure

      symbol in file

      --------- ----------------

      _AdcRegs ./Src/adc.obj

      _CpuTimer0Regs ./Src/timer.obj

      _ECanaLAMRegs ./Src/tican_driver.obj

      _ECanaMOTSRegs ./Src/tican_driver.obj

      _ECanaMboxes ./Src/tican_driver.obj

      _ECanaRegs ./Src/tican_driver.obj

      _ECap1Regs ./Src/velocity.obj

      _ECap2Regs ./Src/velocity.obj

      _ECap3Regs ./Src/velocity.obj

      _EPwm1Regs ./Src/pwm.obj

      _EPwm2Regs ./Src/pwm.obj

      _EPwm3Regs ./Src/pwm.obj

      _GpioCtrlRegs ./Src/tican_driver.obj

      _GpioDataRegs ./Src/tcan.obj

      _I2caRegs ./Src/eeprom.obj

      _PieCtrlRegs ./Src/pie.obj

      _PieVectTable ./Src/pie.obj

      _SysCtrlRegs ./Src/tican_driver.obj

      __IQ15div ./Src/limit.obj

      __IQ15sqrt ./Src/limit.obj

      __IQ24div ./Src/cntrlisr.obj

      __IQ24mag ./Src/cntrlisr.obj

      _clarke_calc ./Src/monitor.obj

      _ipark_calc ./Src/monitor.obj

      _park_calc ./Src/monitor.obj

      _svgendq_calc ./Src/monitor.obj

       

      error: unresolved symbols remain

      error: errors encountered during linking; "eFlex_Pilot.out" not built

      gmake: *** [eFlex_Pilot.out] Error 1

      gmake: Target `all' not remade because of errors.

      Build complete for project eFlex_Pilot

      IDE_APPS
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • AartiG
      Posted by AartiG
      on Aug 03 2011 13:52 PM
      Guru69065 points

      Kelly,

      The first set of undefined symbols such as AdcRegs, CpuTimer0Regs, ECanaLAMRegs are typically defined in a source file named DSP280x_GlobalVariableDefs.c. Can you check that this source file or something equivalent is included in the project?

      For the remaining symbols, they should be defined in a library. I see IQmath related symbols, so you probably need the IQMath library and possibly other libraries as well. Please check the  libraries that were part of your CCS 3.3 project and make sure they are all added into the CCSv4 project.


      If a post answers your question please mark it with the "Verify Answer" button

      Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
      Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • sachin gaikwad98887
      Posted by sachin gaikwad98887
      on Apr 26 2012 02:28 AM
      Prodigy60 points

      i have same problem with liking files.... help me ... thanks in advance 

      28069
      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Subhash Chandra
      Posted by Subhash Chandra
      on May 02 2012 14:59 PM
      Prodigy10 points

      Hi,

      I'm programming in 28335 and am getting the following error message in the console while building:

      <Linking>
      warning: creating output section ".ebss" without a SECTIONS specification
      warning: creating output section ".reset" without a SECTIONS specification

       undefined         first referenced
        symbol               in file     
       ---------         ----------------
       _ConfigCpuTimer   ./driver.obj    
       _CpuTimer0        ./driver.obj    
       _CpuTimer0Regs    ./driver.obj    
       _CpuTimer1        ./driver.obj    
       _CpuTimer1Regs    ./driver.obj    
       _CpuTimer2        ./driver.obj    
       _CpuTimer2Regs    ./driver.obj    
       _InitCpuTimers    ./driver.obj    
       _InitPieCtrl      ./driver.obj    
       _InitPieVectTable ./driver.obj    
       _InitSysCtrl      ./driver.obj    
       _PieCtrlRegs      ./driver.obj    
       _PieVectTable     ./driver.obj    

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

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

      I have included "DSP2833x_GlobalVariableDefs.c" and also "DSP2833x_DefaultIsr.h". Although, the specific ISRs defined in the "DSP2833x_DefaultIsr.h" file have  not been defined except that the following is the content within each function definition:

      interrupt void INT13_ISR(void)     // INT13 or CPU-Timer1
      {
        // Insert ISR Code here

        // Next two lines for debug only to halt the processor here
        // Remove after inserting ISR Code
        asm ("      ESTOP0");
        for(;;);
      }

      As we can see, this if required in the program, will not work. I have updated my copy but it gives the same code in the file definition. Please help me with my problem.

      Subhash

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use