Menu

Symbol not previously defined

Jonny!!!
2008-06-10
2013-05-30
  • Jonny!!!

    Jonny!!! - 2008-06-10

    GCBASIC will compile the program successfully, but MPASM shoots out the error:

    ASM: Error[113]    C:\PROGA~1\GCBASIC\COMPILED.ASM 37 : Symbol not previously defined (EEADRH)

    Line 37 of the ASM is:

    EEADDRESS equ EEADRH

    my program uses EPRead and EPWrite, if that changes anything. This problem only appeared once I updated my few-month-old copy of GCBASIC. I'm using the same exact code (which works flawlessly on the chip). Is this a problem on my end?

     
    • Nobody/Anonymous

      Once my program was finished, I ran it through the latest version of GCBASIC, and the error is now:

      ASM: Error[113] C:\PROGA~1\GCBASIC\COMPILED.ASM 39 : Symbol not previously defined (EEADRH)

      Line 39 of ASM is:

      EEADDRESS_H equ EEADRH

      My chip is 12F683.

       
    • kent_twt4

      kent_twt4 - 2008-07-09

      Don't think it's your problem.  Had a "quick" look at the new eeprom.h, and have my doubts, although have not tested it.  When you update, your old working files will get overwritten, which is fine most all the time.  When working on a library with a recent fix, I tend to keep a copy around in case I have to revert back after updates, like eepromBak.h, eeprom70608.h, or whatever.

      Can vouch for this eeprom.h here: http://sourceforge.net/forum/message.php?msg_id=5042385
      One way to cut and paste text into a new xxxx.h file is covered here:  http://sourceforge.net/forum/message.php?msg_id=5003028

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.