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
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
  • K3Nv2 @ K3Nv2:
    Nearly 4 hours without power :(
  • Veho @ Veho:
    SO POWERLESS
  • K3Nv2 @ K3Nv2:
    Tell Kanye I need power
    K3Nv2 @ K3Nv2: Tell Kanye I need power