Homebrew Help compiling Luma3DS

Pedro250

Well-Known Member
OP
Newcomer
Joined
Sep 12, 2009
Messages
69
Trophies
1
XP
870
Country
Hi, today i tried to compile the lastes version of Luma3DS (the Nanquitas NTR version) but i got this error:

PS C:\Nintendo3DS\Sources\Luma3DS> make
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/loader'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/loader'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/rosalina'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/rosalina'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/sm'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/sm'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/pxi'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/sysmodules/pxi'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/arm11'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/arm11'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/chainloader'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/chainloader'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/exceptions/arm9'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/exceptions/arm9'
make[1]: Entering directory '/c/Nintendo3DS/Sources/Luma3DS/k11_extension'
arm-none-eabi-gcc -nostdlib -Wl,--gc-sections,--nmagic -mcpu=mpcore -mfpu=vfp -T linker.ld -o build/k11_extension.elf build/utils.o build/start.o build/debug.o build/main.o build/memory.o build/globals.o build/ipc.o build/fatalExceptionHandlers.o build/svc.o build/fatalExceptionHandlersMain.o build/svc/MapProcessMemoryEx.o build/svc/SetWifiEnabled.o build/svc/wrappers.o build/svc/GetSystemInfo.o build/svc/CopyHandle.o build/svc/TranslateHandle.o build/svc/CustomBackdoor.o build/svc/KernelSetState.o build/svc/GetProcessInfo.o build/svc/SendSyncRequest.o build/svc/UnmapProcessMemoryEx.o build/svc/Backdoor.o build/svc/ControlMemory.o build/svc/GetCFWInfo.o build/svc/SetGpuProt.o build/svc/GetHandleInfo.o build/svc/Break.o build/svc/ConnectToPort.o build/svc/GetThreadInfo.o build/svc/ControlService.o build/svcHandler.o build/synchronization.o
C:\Users\NANAHK~1\AppData\Local\Temp\ccYvB2fTdebugobjtem: file not recognized: File truncated
collect2.exe: error: ld returned 1 exit status
lto-wrapper.exe: fatal error: C:\Nintendo3DS\Programs\devkitPro\devkitARM\bin\arm-none-eabi-gcc.exe returned 1 exit status
compilation terminated.
c:/nintendo3ds/programs/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/8.1.0/../../../../arm-none-eabi/bin/ld.exe: error: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make[1]: *** [Makefile:36: build/k11_extension.elf] Error 1
make[1]: Leaving directory '/c/Nintendo3DS/Sources/Luma3DS/k11_extension'
make: *** [Makefile:125: build/k11_extension.bin] Error 2
PS C:\Nintendo3DS\Sources\Luma3DS>

I follow this guide https://gbatemp.net/threads/tutorial-how-to-sync-compile-luma3ds.420787/ but changed the step 26 from "Now type "git clone --recursive https://github.com/AuroraWright/Luma3DS.git", press enter and wait for it to sync the sources" to "Now type "git clone --recursive https://github.com/Nanquitas/Luma3DS.git", press enter and wait for it to sync the sources" to adapt it for the version that i wanted.

Also the makerom.exe i got it from this post https://gbatemp.net/threads/compiling-luma3ds-error.458138/ because cording to what i found this is the most recent one.

Can anyone help me figure this error? Thanks
 
Last edited by Pedro250,

trecko1234

Well-Known Member
Member
Joined
Aug 10, 2013
Messages
132
Trophies
0
XP
328
Country
United States

Same exact error as before
0dfwSiJ.png
 

trecko1234

Well-Known Member
Member
Joined
Aug 10, 2013
Messages
132
Trophies
0
XP
328
Country
United States
Could someone please compile Luma for me but with this line uncommented? I am getting errors on boot thanks to a CTRTransfer, I found a page that offered a solution and it told me to uncomment this:
https://github.com/AuroraWright/Luma3DS/blob/master/k11_extension/source/ipc.c#L301

I have the same exact error with compiling as others did here.

If you have the same error as I had in this thread, have you thought about doing the same thing I did to fix it? :unsure:

On another note, update your 3DS to the latest system update. There's absolutely no reason to be on older versions of the 3DS OS unless you are using the brightness control in NTR to control the backlight levels.
 
Last edited by trecko1234,

roflrabbit

Active Member
Newcomer
Joined
Sep 1, 2017
Messages
36
Trophies
0
Age
28
XP
130
Country
Canada
If you have the same error as I had in this thread, have you thought about doing the same thing I did to fix it? :unsure:

On another note, update your 3DS to the latest system update. There's absolutely no reason to be on older versions of the 3DS OS unless you are using the brightness control in NTR to control the backlight levels.

I tried but I don't know if I understood, 'make clean' seems like I must re-clone and run make again, same result. I don't know what to do. And I'd like to keep that firmware for this model, I do have others with 11.8 and the latest Luma with no problems. I would just like it compiled, 11.3 with ctr-httpwn working. (I also am having a lot of trouble getting makerom.exe to compile so I just found one off of the internet which can/will definitely cause problems).
 
Last edited by roflrabbit,

trecko1234

Well-Known Member
Member
Joined
Aug 10, 2013
Messages
132
Trophies
0
XP
328
Country
United States
I tried but I don't know if I understood, 'make clean' seems like I must re-clone and run make again, same result. I don't know what to do. And I'd like to keep that firmware for this model, I do have others with 11.8 and the latest Luma with no problems. I would just like it compiled, 11.3 with ctr-httpwn working. (I also am having a lot of trouble getting makerom.exe to compile so I just found one off of the internet which can/will definitely cause problems).
Nintendo patched ctr-httpwn a while ago, and it doesn't work anymore. You need mingw-64 to compile makerom successfully, as told here http://3dbrew.org/wiki/Makerom#Compiling_Source . "make clean" is a command you put in cmd exactly like "make", and it means you clean all the previous build files before you do "make" again, to compile it. You should make it a habit to make clean before you do make to clean all previous build files, so they aren't used when you compile, and to create a "clean" build.

But seriously, there is zero reason to be on older versions of the 3DS firmware. The latest luma release has a fix to make it work on 11.8, and you don't need to use workarounds (ctr-httpwn) to get things to work properly. It's a fools game to stay on older versions, especially if you are worried about nintendo banning you or finding out about your homebrew. If anything, staying on an older version is a big red flag.

Besides, you can downgrade to older versions of the firmware by making a frankenFW by installing the CIAs from here for the version you want. https://darthsternie.bplaced.net/3ds.html
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: yawn