Homebrew How to start Rosalina without the "L" button?

NexoCube

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
29
Location
France
XP
1,340
Country
France
Nope(probably because I may have left most of the stuff in half months before), and just in case imma do this in Linux since my Windows Partition is cluttered with a lot of shit lol

it's just saying it can't find "gcc.exe" so you probably haven't linked your compiler binary folder in PATH system variable
 

Tenshi_Okami

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,490
Trophies
0
Age
25
XP
1,616
Country
Puerto Rico
i hope we find why it fails :'(
Now i get all of this
Angel@DESKTOP-LKDMA95 MINGW32 ~/Downloads/Project_CTR-master/Project_CTR-master/makerom
$ make
Makefile:13: Extraneous text after `else' directive
Makefile:17: Extraneous text after `else' directive
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o accessdesc.o accessdesc.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o aes_keygen.o aes_keygen.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o blz.o blz.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o cardinfo.o cardinfo.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o certs.o certs.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o cia.o cia.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o code.o code.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o crypto.o crypto.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ctr_utils.o ctr_utils.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o elf.o elf.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o exefs.o exefs.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o exheader.o exheader.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o keyset.o keyset.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o makerom.o makerom.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ncch.o ncch.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ncsd.o ncsd.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o oschar.o oschar.c
oschar.c: In function 'os_fstat':
oschar.c:12:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:12:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fsize':
oschar.c:18:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:18:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fstat':
oschar.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
oschar.c: In function 'os_fsize':
oschar.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [oschar.o] Error 1
 

NexoCube

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
29
Location
France
XP
1,340
Country
France
Btw, i did it with GodMode9 (installing FBI, etc.)...
But i really hope you can find your error and im wishing you all good luck!

You can ask Luma main developer tho, he already have everything he needs to make this custom version, i don't see why he wouldn't accept

--------------------- MERGED ---------------------------

Now i get all of this
Angel@DESKTOP-LKDMA95 MINGW32 ~/Downloads/Project_CTR-master/Project_CTR-master/makerom
$ make
Makefile:13: Extraneous text after `else' directive
Makefile:17: Extraneous text after `else' directive
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o accessdesc.o accessdesc.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o aes_keygen.o aes_keygen.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o blz.o blz.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o cardinfo.o cardinfo.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o certs.o certs.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o cia.o cia.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o code.o code.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o crypto.o crypto.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ctr_utils.o ctr_utils.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o elf.o elf.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o exefs.o exefs.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o exheader.o exheader.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o keyset.o keyset.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o makerom.o makerom.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ncch.o ncch.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ncsd.o ncsd.c
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o oschar.o oschar.c
oschar.c: In function 'os_fstat':
oschar.c:12:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:12:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fsize':
oschar.c:18:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:18:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fstat':
oschar.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
oschar.c: In function 'os_fsize':
oschar.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [oschar.o] Error 1
Same shit
 
D

Deleted User

Guest
You can ask Luma main developer tho, he already have everything he needs to make this custom version, i don't see why he wouldn't accept

--------------------- MERGED ---------------------------


Same shit
Did you reinstall gcc?
 
D

Deleted User

Guest
I installed MinGW because i'm on Windows :/
ok.

Try this make file:

--------------------- MERGED ---------------------------

I just installed GCC and i get the same error sadly ;-;
All I did was replace the lines in question. That should result in a proper build (they were talking about OS X and Cygwin which doesn't apply to either of you)
 

Attachments

  • Makefile.zip
    478 bytes · Views: 101

NexoCube

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,222
Trophies
0
Age
29
Location
France
XP
1,340
Country
France
ok.

Try this make file:

--------------------- MERGED ---------------------------


All I did was replace the lines in question. That should result in a proper build (they were talking about OS X and Cygwin which doesn't apply to either of you)
same error :/
 

Tenshi_Okami

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,490
Trophies
0
Age
25
XP
1,616
Country
Puerto Rico
ok.

Try this make file:

--------------------- MERGED ---------------------------


All I did was replace the lines in question. That should result in a proper build (they were talking about OS X and Cygwin which doesn't apply to either of you)
Angel@DESKTOP-LKDMA95 MINGW32 ~/Downloads/Project_CTR-master/makerom
$ make
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o oschar.o oschar.c
oschar.c: In function 'os_fstat':
oschar.c:12:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:12:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fsize':
oschar.c:18:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:18:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fstat':
oschar.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
oschar.c: In function 'os_fsize':
oschar.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [oschar.o] Error 1
 
  • Like
Reactions: pandavova
D

Deleted User

Guest
Angel@DESKTOP-LKDMA95 MINGW32 ~/Downloads/Project_CTR-master/makerom
$ make
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o oschar.o oschar.c
oschar.c: In function 'os_fstat':
oschar.c:12:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:12:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fsize':
oschar.c:18:17: error: storage size of 'st' isn't known
struct _osstat st;
^
oschar.c:18:17: warning: unused variable 'st' [-Wunused-variable]
oschar.c: In function 'os_fstat':
oschar.c:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
oschar.c: In function 'os_fsize':
oschar.c:23:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [oschar.o] Error 1
idk then guys. Sorry. I wish I could help but taking 20 minutes just to boot Windows and then to have this not work really discouraged me (i did it myself a few minutes ago, thinking it was my problem)
 

Tenshi_Okami

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,490
Trophies
0
Age
25
XP
1,616
Country
Puerto Rico
in Linux i have a different problem

angel9990@angel ~/Downloads/Project_CTR-master/makerom/Project_CTR/makerom $ make
Makefile:13: extraneous text after 'else' directive
Makefile:17: extraneous text after 'else' directive
gcc --std=gnu99 -O2 -Wall -Wno-unused-value -Wno-unused-result -I. -Wno-unused-but-set-variable -c -o ctr_utils.o ctr_utils.c
In file included from ctr_utils.c:1:0:
lib.h:5:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
make: *** [<builtin>: ctr_utils.o] Error 1
angel9990@angel ~/Downloads/Project_CTR-master/makerom/Project_CTR/makerom $
 
Last edited by Tenshi_Okami,

Tenshi_Okami

Well-Known Member
Member
Joined
Nov 3, 2015
Messages
1,490
Trophies
0
Age
25
XP
1,616
Country
Puerto Rico
Well, it doesn't hurt to send this executable...
I got it to start compiling until this

Code:
angel9990@angel ~/Luma3DS $ make
make[1]: Entering directory '/home/angel9990/Luma3DS/sysmodules/loader'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/angel9990/Luma3DS/sysmodules/loader'
make[1]: Entering directory '/home/angel9990/Luma3DS/sysmodules/rosalina'
make[2]: Entering directory '/home/angel9990/Luma3DS/sysmodules/rosalina/kernel_extension'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/angel9990/Luma3DS/sysmodules/rosalina/kernel_extension'
arm-none-eabi-gcc -Wall -Wextra -MMD -MP -marm -g -mcpu=mpcore -mfloat-abi=hard -mtp=soft -fno-builtin -std=c11 -O2 -flto -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -I/opt/devkitpro/libctru/include -Iinclude -DARM11 -D_3DS   -c -o build/gdb/server.o source/gdb/server.c
source/gdb/server.c: In function 'GDB_ReleaseClient':
source/gdb/server.c:208:75: error: 'DBG_INHIBIT_USER_CPU_EXCEPTION_HANDLERS' undeclared (first use in this function)
     ctx->continueFlags = (DebugFlags)(DBG_SIGNAL_FAULT_EXCEPTION_EVENTS | DBG_INHIBIT_USER_CPU_EXCEPTION_HANDLERS);
                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gdb/server.c:208:75: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:73: build/gdb/server.o] Error 1
make[1]: Leaving directory '/home/angel9990/Luma3DS/sysmodules/rosalina'
make: *** [Makefile:120: build/rosalina.cxi] Error 2
angel9990@angel ~/Luma3DS $
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    BakerMan @ BakerMan: this one +1