• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[ASM & Hex] Error compiling Complete Firered Upgrade - SPECIES_SHAYMINSKY undefined

  • 81
    Posts
    9
    Years
    • She/her/hers
    • Seen Oct 26, 2023
    Hey y'all,

    So, I'm working on applying the Complete FireRed Upgrade to my expanded ROM.

    However, the command prompt returns this error when I try to compile:
    Spoiler:


    So, I went to include/constants/species.h and added the following definitions:
    Spoiler:


    However, I'm still getting the error, even though the references have been defined. I tried editing cf8cf7f86d49adb1aea7fd022f3da2b9.o in Notepad++ to edit the references, but when I'm not sure what I'm looking at when I do so. I certainly can't find the references.

    Anyone got any ideas?
     
    IIRC, when the linker says there's an undefined reference that means it's looking for the definition of a function or global variable with that name, not a #define (and not a declaration either).
     
    Back
    Top