• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Other] [Solved] [Help] Error while trying to compile the code

  • 2
    Posts
    3
    Years
    • Seen Mar 24, 2022
    So, i got really into the pokemon game hacking scene since i played pokemon unbound and saw the pokemerald project. I followed all the steps required to get it working, and made a small change in the intro's professor dialog. However, when i tried to compile the code with the make command in the terminal it returned me this:
    Code:
    tools/agbcc/bin/agbcc <flags> -o build/emerald/src/gym_leader_rematch.o src/gym_leader_rematch.c
    tools/agbcc/bin/agbcc <flags> -o build/emerald/src/fldeff_dig.o src/fldeff_dig.c
    /bin/bash: arm-none-eabi-as: command not found
    /bin/bash: arm-none-eabi-as: command not found
    src/gym_leader_rematch.c:106: src/fldeff_dig.c:64: output pipe has been closedoutput pipe has been closed
    
    make: *** [Makefile:337: build/emerald/src/gym_leader_rematch.o] Error 127
    make: *** Waiting for unfinished jobs....
    make: *** [Makefile:337: build/emerald/src/fldeff_dig.o] Error 127

    Sorry if thats a simple thing to fix and i made a whole thread about it. I'm just starting and couldn't find anything about this, so i was hoping to get some help here.
     
    So, i got really into the pokemon game hacking scene since i played pokemon unbound and saw the pokemerald project. I followed all the steps required to get it working, and made a small change in the intro's professor dialog. However, when i tried to compile the code with the make command in the terminal it returned me this:
    Code:
    tools/agbcc/bin/agbcc <flags> -o build/emerald/src/gym_leader_rematch.o src/gym_leader_rematch.c
    tools/agbcc/bin/agbcc <flags> -o build/emerald/src/fldeff_dig.o src/fldeff_dig.c
    /bin/bash: arm-none-eabi-as: command not found
    /bin/bash: arm-none-eabi-as: command not found
    src/gym_leader_rematch.c:106: src/fldeff_dig.c:64: output pipe has been closedoutput pipe has been closed
    
    make: *** [Makefile:337: build/emerald/src/gym_leader_rematch.o] Error 127
    make: *** Waiting for unfinished jobs....
    make: *** [Makefile:337: build/emerald/src/fldeff_dig.o] Error 127

    Sorry if thats a simple thing to fix and i made a whole thread about it. I'm just starting and couldn't find anything about this, so i was hoping to get some help here.
    This is the first time I've seen an error like that one about an "output pipe".
    The only thing I can tell you though, is that "/bin/bash: arm-none-eabi-as: command not found" means your terminal isn't finding arm-none-eabi-as, an assembler used by the decomps.
    Are you sure that you have either devkitPro-pacman's gba-dev package, or the binutils-arm-none-eabi package installed?
     
    It worked! thanks i reinstalled somethings and this time made sure i installed pacman as you said and it worked just fine.
     
    Back
    Top