• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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✓] Issue Making ROM

Jessler

PidgeyFox
33
Posts
6
Years
  • So, I attempted to work on my game on another computer. I pulled the reop, installed agbcc, typed make, and... this happened.

    Code:
    g++ -Wall -std=c++11 -O2 json11.cpp mapjson.cpp -o mapjson
    cc -Wall -Wextra -Wno-switch -Werror -std=c11 -O2 main.c extended.c -o aif2pcm  -lm
    g++ -Wall -std=c++11 -O2 -I . jsonproc.cpp -o jsonproc
    g++ -std=c++11 -O2 -Wall -Wno-switch -Werror main.cpp sym_file.cpp elf.cpp -o ramscrgen
    g++ -Wall -Werror -std=c++11 -O2 scaninc.cpp c_file.cpp asm_file.cpp source_file.cpp -o scaninc
    cc -Wall -Wextra -Werror -std=c11 -O2 bin2c.c -o bin2c
    cc -Wall -Wextra -Werror -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK main.c convert_png.c util.c font.c -o rsfont  -lpng -lzcc gbafix.c -o gbafix
    cc -Wall -Wextra -Werror -Wno-sign-compare -std=c11 -O2 -DPNG_SKIP_SETJMP_CHECK main.c convert_png.c gfx.c jasc_pal.c lz.c rl.c util.c font.c huff.c -o gbagfx  -lpng -lz
    g++ -std=c++11 -O2 -Wall -Wno-switch -Werror agb.cpp error.cpp main.cpp midi.cpp tables.cpp -o mid2agb
    g++ -std=c++11 -O2 -Wall -Wno-switch -Werror asm_file.cpp c_file.cpp charmap.cpp preproc.cpp string_parser.cpp utf8.cpp -o preproc
    arm-none-eabi-as -mcpu=arm7tdmi -o build/asm/loader.o asm/loader.s
    tools/ramscrgen/ramscrgen .bss sym_bss.txt ENGLISH > build/emerald/sym_bss.ld
    tools/gbagfx/gbagfx graphics/unknown/unknown_593C80.png graphics/unknown/unknown_593C80.4bpp
    sym_bss.txt:1: error: only Unix-style LF newlines are supported
    Makefile:314: recipe for target 'build/emerald/sym_bss.ld' failed
    make: *** [build/emerald/sym_bss.ld] Error 1
    make: *** Deleting file 'build/emerald/sym_bss.ld'
    make: *** Waiting for unfinished jobs....
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_IntrWait=1 -o IntrWait.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_RegisterRamReset=1 -o RegisterRamReset.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Sqrt=1 -o Sqrt.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MusicPlayerOpen=1 -o MusicPlayerOpen.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundBiasReset=1 -o SoundBiasReset.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverVSyncOn=1 -o SoundDriverVSyncOn.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Mod=1 -o Mod.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_VBlankIntrWait=1 -o VBlankIntrWait.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MusicPlayerStart=1 -o MusicPlayerStart.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverVSyncOff=1 -o SoundDriverVSyncOff.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_HuffUnComp=1 -o HuffUnComp.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoftResetExram=1 -o SoftResetExram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MusicPlayerFadeOut=1 -o MusicPlayerFadeOut.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_LZ77UnCompWram=1 -o LZ77UnCompWram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverMain=1 -o SoundDriverMain.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundBiasChange=1 -o SoundBiasChange.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_LZ77UnCompVram=1 -o LZ77UnCompVram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_ArcTan2=1 -o ArcTan2.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MusicPlayerStop=1 -o MusicPlayerStop.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_DivArm=1 -o DivArm.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_ModArm=1 -o ModArm.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverVSync=1 -o SoundDriverVSync.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverInit=1 -o SoundDriverInit.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_BgAffineSet=1 -o BgAffineSet.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Diff8bitUnFilterWram=1 -o Diff8bitUnFilterWram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MultiBoot=1 -o MultiBoot.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MidiKey2Freq=1 -o MidiKey2Freq.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Div=1 -o Div.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Diff8bitUnFilterVram=1 -o Diff8bitUnFilterVram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_ArcTan=1 -o ArcTan.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_ObjAffineSet=1 -o ObjAffineSet.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoftResetRom=1 -o SoftResetRom.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundDriverMode=1 -o SoundDriverMode.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_RLUnCompWram=1 -o RLUnCompWram.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_BitUnPack=1 -o BitUnPack.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundChannelClear=1 -o SoundChannelClear.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_CpuFastSet=1 -o CpuFastSet.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_CpuSet=1 -o CpuSet.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_Diff16bitUnFilter=1 -o Diff16bitUnFilter.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoundBiasSet=1 -o SoundBiasSet.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_MusicPlayerContinue=1 -o MusicPlayerContinue.o libagbsyscall.s
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_SoftReset=1 -o SoftReset.o libagbsyscall.s
    ../../tools/ramscrgen/ramscrgen .bss sym_bss.txt ENGLISH > build/sym_bss.ld
    arm-none-eabi-as -mcpu=arm7tdmi --defsym L_RLUnCompVram=1 -o RLUnCompVram.o libagbsyscall.s
    ../../tools/gbagfx/gbagfx graphics/msg_box.png graphics/msg_box.4bpp
    ../../tools/gbagfx/gbagfx graphics/msg_box.png graphics/msg_box.gbapal
    ../../tools/gbagfx/gbagfx graphics/msg_box.tilemap graphics/msg_box.tilemap.lz
    sym_bss.txt:1: error: only Unix-style LF newlines are supported
    arm-none-eabi-gcc-ar rc libagbsyscall.a IntrWait.o RegisterRamReset.o Sqrt.o MusicPlayerOpen.o SoundBiasReset.o SoundDriverVSyncOn.o Mod.o VBlankIntrWait.o MusicPlayerStart.o SoundDriverVSyncOff.o HuffUnComp.o SoftResetExram.o MusicPlayerFadeOut.o LZ77UnCompWram.o SoundDriverMain.o SoundBiasChange.o LZ77UnCompVram.o ArcTan2.o MusicPlayerStop.o DivArm.o ModArm.o SoundDriverVSync.o SoundDriverInit.o BgAffineSet.o Diff8bitUnFilterWram.o MultiBoot.o MidiKey2Freq.o Div.o Diff8bitUnFilterVram.o ArcTan.o ObjAffineSet.o SoftResetRom.o SoundDriverMode.o RLUnCompWram.o BitUnPack.o SoundChannelClear.o CpuFastSet.o CpuSet.o Diff16bitUnFilter.o SoundBiasSet.o MusicPlayerContinue.o SoftReset.o RLUnCompVram.o
    Makefile:178: recipe for target 'build/sym_bss.ld' failed
    make[2]: *** [build/sym_bss.ld] Error 1
    make[2]: *** Deleting file 'build/sym_bss.ld'
    make[2]: *** Waiting for unfinished jobs....
    charmap.txt:1: error: only Unix-style LF newlines are supported
    charmap.txt:1: error: only Unix-style LF newlines are supported
    charmap.txt:1: error: only Unix-style LF newlines are supported
    Makefile:151: recipe for target 'build/src/agb_flash_1m.o' failed
    make[2]: *** [build/src/agb_flash_1m.o] Error 1
    Makefile:151: recipe for target 'build/src/siirtc.o' failed
    make[2]: *** [build/src/siirtc.o] Error 1
    Makefile:151: recipe for target 'build/src/agb_flash_mx.o' failed
    make[2]: *** [build/src/agb_flash_mx.o] Error 1
    Makefile:169: recipe for target 'payload' failed
    make[1]: *** [payload] Error 2
    Makefile:346: recipe for target 'berry_fix' failed
    make: *** [berry_fix] Error 2

    Any ideas? I never made any changes to any of my sym_bss files, so it really confused me. It made the ROM just fine on my other computer. Thanks in advance!



    EDIT: Fixed! If anyone else has this issue, all that needs to be done is changing the file(s) in the error to use Unix line endings with Notepad++. Very easy, just obnoxious.
     
    Last edited:
    Back
    Top