Hacking [Help]: Cant compile MakeRom

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,996
Solutions
1
Reaction score
2,202
Trophies
2
Location
/dev/sda1
XP
4,664
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
 
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
 
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.
 
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.
 
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
 
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