Hacking [Help]: Cant compile MakeRom

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
Hello;

Im trying to compile luma, but for that i need to compile first MakeRom, however each try i try to compile MakeRom it gives me an error:

Make_Rom.png


I got MinGW installed with the basic setup, as well as MSYS setup, also got DevKitProARM with armips working.

Any ideas?

Help Tagging:
@Aurora Wright
 

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
use steveice10's precompiled binary
That did the job, however i got a quick question, does LUMA source needs internet and git to be able to compile? where im atm dont have internet and cant use git thats why im asking, after trying to compile, it gives this output:

/bin/sh: git: command not found
make: git: Command not found
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/injector'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/injector'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/loader'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm9'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm9'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm11'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm11'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -DCONFIG_TITLE="\"Luma3DS configuration\"" -c -o build/config.o source/config.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/crypto.o source/crypto.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/draw.o source/draw.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/emunand.o source/emunand.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/exceptions.o source/exceptions.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/diskio.o source/fatfs/diskio.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/ff.o source/fatfs/ff.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/option/ccsbcs.o source/fatfs/option/ccsbcs.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/firm.o source/firm.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fs.o source/fs.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/i2c.o source/i2c.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/main.o source/main.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -O3 -c -o build/memory.o source/memory.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -DREVISION=\"\" -DCOMMIT_HASH="0x" -c -o build/patches.o source/patches.c
source/patches.c: In function 'implementSvcGetCFWInfo':
<command-line>:0:13: error: invalid suffix "x" on integer constant
source/patches.c:343:28: note: in expansion of macro 'COMMIT_HASH'
info->commitHash = COMMIT_HASH;
^~~~~~~~~~~
make: *** [build/patches.o] Error 1
 

adrifcastr

Well-Known Member
Member
Joined
Sep 12, 2016
Messages
2,038
Trophies
0
XP
1,947
Country
Germany
That did the job, however i got a quick question, does LUMA source needs internet and git to be able to compile? where im atm dont have internet and cant use git thats why im asking, after trying to compile, it gives this output:

/bin/sh: git: command not found
make: git: Command not found
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/injector'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/injector'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/loader'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/loader'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm9'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm9'
make[1]: Entering directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm11'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/c/Users/Admin/Desktop/Sources/Luma/exceptions/arm11'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -DCONFIG_TITLE="\"Luma3DS configuration\"" -c -o build/config.o source/config.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/crypto.o source/crypto.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/draw.o source/draw.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/emunand.o source/emunand.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/exceptions.o source/exceptions.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/diskio.o source/fatfs/diskio.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/ff.o source/fatfs/ff.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/option/ccsbcs.o source/fatfs/option/ccsbcs.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fatfs/sdmmc/sdmmc.o source/fatfs/sdmmc/sdmmc.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/firm.o source/firm.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/fs.o source/fs.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/i2c.o source/i2c.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -c -o build/main.o source/main.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -O3 -c -o build/memory.o source/memory.c
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -mcpu=arm946e-s -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math -DREVISION=\"\" -DCOMMIT_HASH="0x" -c -o build/patches.o source/patches.c
source/patches.c: In function 'implementSvcGetCFWInfo':
<command-line>:0:13: error: invalid suffix "x" on integer constant
source/patches.c:343:28: note: in expansion of macro 'COMMIT_HASH'
info->commitHash = COMMIT_HASH;
^~~~~~~~~~~
make: *** [build/patches.o] Error 1

Compiling
First you need to clone the repository recursively with: git clone --recursive https://github.com/AuroraWright/Luma3DS.git
To compile, you'll need armips and a build of a recent commit of makerom added to your PATH.
For now, you'll also need to update your libctru install, building from the latest commit.
For your convenience, here are Windows and Linux builds of armips (thanks to who compiled them!).
Finally just run make and everything should work!
You can find the compiled files in the out folder.
 

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
Compiling
First you need to clone the repository recursively with: git clone --recursive https://github.com/AuroraWright/Luma3DS.git
To compile, you'll need armips and a build of a recent commit of makerom added to your PATH.
For now, you'll also need to update your libctru install, building from the latest commit.
For your convenience, here are Windows and Linux builds of armips (thanks to who compiled them!).
Finally just run make and everything should work!
You can find the compiled files in the out folder.

Yeah i followed that guide, however normally when i dont got internet, i download the project [Including the dependencies linked] so that no files are missing, ill check if im missing a dependency, and will try at home when i arrive, not there atm, and very limited here.
 

adrifcastr

Well-Known Member
Member
Joined
Sep 12, 2016
Messages
2,038
Trophies
0
XP
1,947
Country
Germany
Yeah i followed that guide, however normally when i dont got internet, i download the project [Including the dependencies linked] so that no files are missing, ill check if im missing a dependency, and will try at home when i arrive, not there atm, and very limited here.
well luma is kinda weird to me.

make[1]: Entering directory `/c/Users/Adrian/Desktop/Luma3DS/injector'
make[1]: armips: Command not found
make[1]: *** [build/romfsredir.bin] Error 127
make[1]: Leaving directory `/c/Users/Adrian/Desktop/Luma3DS/injector'
make: *** [build/injector.bin] Error 2
 

ScarletDreamz

[Debug Mode]
OP
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
well luma is kinda weird to me.

make[1]: Entering directory `/c/Users/Adrian/Desktop/Luma3DS/injector'
make[1]: armips: Command not found
make[1]: *** [build/romfsredir.bin] Error 127
make[1]: Leaving directory `/c/Users/Adrian/Desktop/Luma3DS/injector'
make: *** [build/injector.bin] Error 2
You are missing armips.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Sorry I sat on them when they were open
  • AncientBoi @ AncientBoi:
    eeewww
  • K3Nv2 @ K3Nv2:
    I thought it was the toilet
  • AncientBoi @ AncientBoi:
    okies. Time to go watch YT paranormal ghost things. L8er my luvs :D
    +1
  • K3Nv2 @ K3Nv2:
    I got a massive clue
  • BakerMan @ BakerMan:
    this mf def ain't watching ghost shit, he boutta beat his meat fr
    +1
  • K3Nv2 @ K3Nv2:
    Nah he's about to be the ghost in your bedroom
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, and leave ectoplasm all over the place
  • BakerMan @ BakerMan:

    this is him being described
    +2
  • Xdqwerty @ Xdqwerty:
    Sigh
  • Xdqwerty @ Xdqwerty:
    Yawn
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I dislike the kind of drm where you have to play single player games online all the time bc of some verification bs
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Don't use games that have Easy Anti-Cheat as its been exploited many times.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, my PC can't run most AAA games so i wont
    +1
  • Xdqwerty @ Xdqwerty:
    Most of the modern AAA games
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I also heard one of the Prince of Persia games was so unfinished that it required the "24/7 online" drm so a puzzle could be done and the game could be finished. And that when the Ubisoft servers were closed the (cracked) game was impossible to finish or something like that
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's extra scummy. Ubisoft nowadays ship out incomplete games like Skull and Bones which was being worked on for nearly a decade now.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, i think they have been doing that since late 2000s
    +1
  • Xdqwerty @ Xdqwerty:
    Either that or their old games were unfinished aswell but we can't notice it
  • Psionic Roshambo @ Psionic Roshambo:
    I like that games can be fixed after the fact, hate that it's being abused via beta tests... And DLC... I was a 7800 owner back in the day and loved Impossible Mission, turns out I couldn't beat it because it was actually impossible lol
  • Psionic Roshambo @ Psionic Roshambo:
    I never knew about it at the time but a fixed version was available but you had to mail in your broken copy lol
  • Psionic Roshambo @ Psionic Roshambo:
    So that version is semi rare
    Psionic Roshambo @ Psionic Roshambo: So that version is semi rare