clean install win10 & devkitARM still getting errors

Post Reply
User avatar
f3bandit
Posts: 2
Joined: Sun May 19, 2024 6:54 am

clean install win10 & devkitARM still getting errors

Post by f3bandit » Mon May 20, 2024 10:45 pm

So my devkitARM stopped building all of a sudden. I hadn't changed anything on my system or my code
for SimpleDE custom theme. Now it will not build at all. I was thinking a windows update caused it.
but I did a clean install of windows 10 and devkitARM. nothing else and it still isn't working.
is there an issue with the build tools? I did see some errors when devkitARM was installing
about keys from some gmail addresses but idk if that has anything to do with it!
any help would be greatly appreciated

Code: Select all

C:\omega-de-kernel-main>build.bat
Setting environment variables PATH, DEVKITARM, DEVKITPRO, LIBGBA...
Done!
Making it with make...
Ezcard_OP.c
C:/omega-de-kernel-main/source/Ezcard_OP.c: In function 'SetRompageWithHardReset':
C:/omega-de-kernel-main/source/Ezcard_OP.c:284:25: error: implicit declaration of function 'LZ77UnCompWram' [-Wimplicit-function-declaration]
  284 |                         LZ77UnCompWram((u8*)(0x08000000),(u8*)(0x02000000));
      |                         ^~~~~~~~~~~~~~
C:/omega-de-kernel-main/source/Ezcard_OP.c: In function 'Check_FW_update':
C:/omega-de-kernel-main/source/Ezcard_OP.c:560:21: warning: too many arguments for format [-Wformat-extra-args]
  560 |         sprintf(msg,"Please use the OFFICIAl kernel to",Built_in_ver);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/omega-de-kernel-main/source/Ezcard_OP.c:563:21: warning: too many arguments for format [-Wformat-extra-args]
  563 |         sprintf(msg,"update firmware. Sorry.",Built_in_ver);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~
C:/omega-de-kernel-main/source/Ezcard_OP.c:566:21: warning: too many arguments for format [-Wformat-extra-args]
  566 |         sprintf(msg,"Press (B) to skip.",Built_in_ver);
      |                     ^~~~~~~~~~~~~~~~~~~~
C:/omega-de-kernel-main/source/Ezcard_OP.c:521:14: warning: unused variable 'offset' [-Wunused-variable]
  521 |         vu32 offset;
      |              ^~~~~~
C:/omega-de-kernel-main/source/Ezcard_OP.c:520:14: warning: unused variable 'busy' [-Wunused-variable]
  520 |         vu16 busy;
      |              ^~~~
make[1]: *** [/c/devkitPro/devkitARM/base_rules:39: Ezcard_OP.o] Error 1
make: *** [Makefile:120: build] Error 2
Done!
Press any key to continue . . .

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: clean install win10 & devkitARM still getting errors

Post by WinterMute » Fri Jun 07, 2024 6:16 pm

f3bandit wrote: Mon May 20, 2024 10:45 pm

Code: Select all

C:/omega-de-kernel-main/source/Ezcard_OP.c:284:25: error: implicit declaration of function 'LZ77UnCompWram' [-Wimplicit-function-declaration]
  284 |                         LZ77UnCompWram((u8*)(0x08000000),(u8*)(0x02000000));
      |                         ^~~~~~~~~~~~~~
The error is quite clear. You need to include the header that defines LZ77UnCompWram or provide a prototype for that function. With gcc 14 onwards implicit function declarations - i.e. calling a function that hasn't been declared - is an error and rightly so. This is one of the major causes of "random" crashes and/or weird behaviour in homebrew.
Help keep devkitPro toolchains free, Donate today

Personal Blog

User avatar
f3bandit
Posts: 2
Joined: Sun May 19, 2024 6:54 am

Re: clean install win10 & devkitARM still getting errors

Post by f3bandit » Fri Jun 07, 2024 7:18 pm

ok thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests