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
  • Psionic Roshambo @ Psionic Roshambo:
    Analog stick nipples
  • BigOnYa @ BigOnYa:
    Yea i have couple other sites I find Switch titles also and just looked, I don't see it out/leaked yet...(paper mario)
  • Quincy @ Quincy:
    Or even worse; circle pad ball fondlers like on the 3DS
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I just want a Pokemon Hell Raiser fan game 😭
  • K3Nv2 @ K3Nv2:
    Anyone wanna play with my joydock
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
    BigOnYa @ BigOnYa: I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all...