Homebrew I need help with devkitPro

Stellar

Well-Known Member
OP
Member
Joined
Jul 20, 2014
Messages
194
Trophies
0
XP
1,768
Country
Portugal
So I'm trying to compile this: https://github.com/Ordim3n/That-Shortcut-Thingy

I've installed devkitPro, and ran make. This is what it spews:

Code:
Diogo@DesktopPC MSYS ~
# cd /home/Diogo/Desktop/That-Shortcut-Thingy-master

Diogo@DesktopPC MSYS ~/Desktop/That-Shortcut-Thingy-master
# make
Created SMDH "C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/GodMode9.smdh".
LED.c
main.c
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c: In function '__appInit':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:37:5: warning: implicit declaration of function 'sdmcInit'; did you mean 'socInit'? [-Wimplicit-function-declaration]
   37 |     sdmcInit();
      |     ^~~~~~~~
      |     socInit
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c: In function '__appExit':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:45:5: warning: implicit declaration of function 'sdmcExit'; did you mean 'socExit'? [-Wimplicit-function-declaration]
   45 |     sdmcExit();
      |     ^~~~~~~~
      |     socExit
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c: In function 'main':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:93:27: warning: unused variable 'log' [-Wunused-variable]
   93 |  FILE *payload, *splash, *log;
      |                           ^~~
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:92:16: warning: unused variable 'slot' [-Wunused-variable]
   92 |  u8 *contents, slot, annoy;
      |                ^~~~
MCU.c
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/MCU.c: In function 'mcuReadRegister':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/MCU.c:23:12: warning: assignment to 'u32' {aka 'long unsigned int'} from 'u8 *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion]
   23 |     ipc[4] = data;
      |            ^
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/MCU.c: In function 'mcuWriteRegister':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/MCU.c:36:12: warning: assignment to 'u32' {aka 'long unsigned int'} from 'u8 *' {aka 'unsigned char *'} makes integer from pointer without a cast [-Wint-conversion]
   36 |     ipc[4] = data;
      |            ^
linking GodMode9.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: main.o: in function `__appInit':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:37: undefined reference to `sdmcInit'
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: main.o: in function `__appExit':
C:/Users/Diogo/Desktop/That-Shortcut-Thingy-master/source/main.c:45: undefined reference to `sdmcExit'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitARM/3ds_rules:42: /home/Diogo/Desktop/That-Shortcut-Thingy-master/GodMode9.elf] Error 1
make: *** [Makefile:141: build] Error 2
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @Psionic Roshambo, atleast there was some neat filler there