Menu

Newbie help. Unresolved symbols in eclipse

Help
2013-10-16
2013-10-20
  • Rajarajan Rajamani

    I am trying to compile fetmoos within eclipse and am using the FemtoOS_FlashLeds as my imported project.
    I am able to compile from the command line using make, and the console window of eclipse also compiles and shows no errors.
    However in the code window, eclipse is unable to resolve the symbols devLedPORT and devLedRR. I see these in the femtoos_AT***.asm files. My question is where do we specify in eclipse which processor the code is being compiled for? Since it is resolved by the make process, I am wondering why the editor is unable to resolve it (unless the makefile has a switch/define that eclipse doesn't know about).

    Thanks

     
  • Rajarajan Rajamani

    Forgot to add: this is using FemtoOS-0.922 on Ubuntu

     
  • De Vlaam

    De Vlaam - 2013-10-17

    Which version of eclipse are you using? If you import the whole project you should be good, no need to specify bits and pieces. It can of course be that newer versions of eclipse have new defaults somewhere. This happened to me before. Screenshot?

     
  • Rajarajan Rajamani

    I am using eclipse 3.8.1 (Indigo ?). I am including a screenshot too.

     
  • De Vlaam

    De Vlaam - 2013-10-20

    OK, thanks for the screen shot.

    If you can compile from eclipse which seems the case seeing the console text, the build paths should be okay (see context menu in project explorer, properties ...) Obviously there is some setting screwed up, but i don't know what. Sometimes, it helps just to clean all, save and rebuild a few times. Before you do that make sure(!!) you refresh (press F5 in the project explorer).

    Hope this helps.

     

Log in to post a comment.