Menu

GPASM error

Help
2009-12-07
2013-05-30
  • Alistair George

    Alistair George - 2009-12-07

    Hi if I use GCB as compiler, no problems, but if using GPASM then it picks up some code which is not in the ASM file eg  ASM: compiled.asm:65:Error  Symbol not previously defined (BTN_ON).
    ASM: compiled.asm:90:Error  Symbol not previously defined (btn_off).
    These 'not defined' cant be found in the source, although they were in another unrelated file. Its definitely compiling the right one, as if I make a deliberate error GPASM will pick it up. Anyone heard of this before?

     
  • kent_twt4

    kent_twt4 - 2009-12-07

    Never heard.  Sounds like the case sensitive box from MPASM.exe again, only from a different file path….weird.  Start with fresh COMPILE.BAT, MAKEASM.BAT…. files from saved update.zip???

     
  • Alistair George

    Alistair George - 2009-12-07

    Is an odd one for sure. Have done so many updates, uninstalls trying to fix up other problems. I really like GCBasic, but perhaps the directory structure is too complex for the underlying code, I dont know, only that it is unstable on two of my computers, one XP other Vista, and thats installing from scratch, then updates etc. Its a pity, as GCB is I am sure, for most others a very productive tool.
    Kind regards, Al.
    PS will advise if I find out what caused the problems

     
  • Alistair George

    Alistair George - 2009-12-07

    Also done a full scan for compiled.asm on my PC to find why its reporting these undefined items maybe caused by another file. There was no other, and there remains no sign of the missing defines in the only asm file????????

     
  • kent_twt4

    kent_twt4 - 2009-12-07

    Well, sort of like my symbol not defined error, when using assembly commands with GCASM.  Does it otherwise make a perfectly good compiled.asm file, like my case?  There my be a hiccup somewhere between the compiled assembler, and other functions like making/parsing compiled.lst , compiled.hex, files etc. ……hard to say.

    Is there a reason why you would forgo MPASM, if it works perfectly well?

     
  • Alistair George

    Alistair George - 2009-12-07

    At the moment it 'seems' that the integral assembler in GCB is OK, if I use GPASM then the compile always fails with the aforementioned define error.

     
  • Alistair George

    Alistair George - 2009-12-08

    This has turned into a real nightmare. I have been trying to figure out where my code which has a deadline this week has been going wrong. GCB as the compiler as mentioned seems to compile OK. In fact, it isnt, and the hex file is quite different than MPASM which does compile OK. As mentioned, I cant use GPASM due to other error.  I found this out by accident and prior to someone taking me away to the looney bin.

     

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.