This is the log when I try to run the make file.
c:\devkitPro\hbl>make
hblauncher_loader.c
arm-none-eabi-gcc -MMD -MP -MF /c/devkitPro/hbl/build/hblauncher_loader.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/hbl/include -I/c/devkitPro/libctru/include -I/c/devkitPro/hbl/build -DARM11 -D_3DS -DVERSION=\"v1.0\" -c /c/devkitPro/hbl/source/hblauncher_loader.c -o hblauncher_loader.o
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'gxlowcmd_4':
c:/devkitPro/hbl/source/hblauncher_loader.c:29:2: warning: implicit declaration of function 'GX_SetTextureCopy' [-Wimplicit-function-declaration]
GX_SetTextureCopy(NULL, inadr, width0 | (height0<<16), outadr, width1 | (height1<<16), size, flags);
^
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'gsp_flushdcache':
c:/devkitPro/hbl/source/hblauncher_loader.c:34:37: warning: passing argument 2 of 'GSPGPU_FlushDataCache' makes integer from pointer without a cast [-Wint-conversion]
return GSPGPU_FlushDataCache(NULL, adr, size);
^
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:20,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/gspgpu.h:171:8: note: expected 'u32 {aka long unsigned int}' but argument is of type 'u8 * {aka unsigned char *}'
Result GSPGPU_FlushDataCache(const void* adr, u32 size);
^
c:/devkitPro/hbl/source/hblauncher_loader.c:34:9: error: too many arguments to function 'GSPGPU_FlushDataCache'
return GSPGPU_FlushDataCache(NULL, adr, size);
^
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:20,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/gspgpu.h:171:8: note: declared here
Result GSPGPU_FlushDataCache(const void* adr, u32 size);
^
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'load_hblauncher':
c:/devkitPro/hbl/source/hblauncher_loader.c:218:8: warning: implicit declaration of function 'initCfgu' [-Wimplicit-function-declaration]
ret = initCfgu();
^
c:/devkitPro/hbl/source/hblauncher_loader.c:236:2: warning: implicit declaration of function 'exitCfgu' [-Wimplicit-function-declaration]
exitCfgu();
^
c:/devkitPro/hbl/source/hblauncher_loader.c:238:2: error: too many arguments to function 'APT_CheckNew3DS'
APT_CheckNew3DS(NULL, &new3dsflag);
^
In file included from c:/devkitPro/libctru/include/3ds.h:31:0,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/apt.h:388:8: note: declared here
Result APT_CheckNew3DS(u8 *out);
^
make[1]: *** [hblauncher_loader.o] Error 1
make: *** [build] Error 2
Any idea on how to fix it?
c:\devkitPro\hbl>make
hblauncher_loader.c
arm-none-eabi-gcc -MMD -MP -MF /c/devkitPro/hbl/build/hblauncher_loader.d -g -Wall -O2 -mword-relocations -fomit-frame-pointer -ffast-math -march=armv6k -mtune=mpcore -mfloat-abi=hard -I/c/devkitPro/hbl/include -I/c/devkitPro/libctru/include -I/c/devkitPro/hbl/build -DARM11 -D_3DS -DVERSION=\"v1.0\" -c /c/devkitPro/hbl/source/hblauncher_loader.c -o hblauncher_loader.o
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'gxlowcmd_4':
c:/devkitPro/hbl/source/hblauncher_loader.c:29:2: warning: implicit declaration of function 'GX_SetTextureCopy' [-Wimplicit-function-declaration]
GX_SetTextureCopy(NULL, inadr, width0 | (height0<<16), outadr, width1 | (height1<<16), size, flags);
^
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'gsp_flushdcache':
c:/devkitPro/hbl/source/hblauncher_loader.c:34:37: warning: passing argument 2 of 'GSPGPU_FlushDataCache' makes integer from pointer without a cast [-Wint-conversion]
return GSPGPU_FlushDataCache(NULL, adr, size);
^
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:20,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/gspgpu.h:171:8: note: expected 'u32 {aka long unsigned int}' but argument is of type 'u8 * {aka unsigned char *}'
Result GSPGPU_FlushDataCache(const void* adr, u32 size);
^
c:/devkitPro/hbl/source/hblauncher_loader.c:34:9: error: too many arguments to function 'GSPGPU_FlushDataCache'
return GSPGPU_FlushDataCache(NULL, adr, size);
^
In file included from c:/devkitPro/libctru/include/3ds/gfx.h:11:0,
from c:/devkitPro/libctru/include/3ds.h:20,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/gspgpu.h:171:8: note: declared here
Result GSPGPU_FlushDataCache(const void* adr, u32 size);
^
c:/devkitPro/hbl/source/hblauncher_loader.c: In function 'load_hblauncher':
c:/devkitPro/hbl/source/hblauncher_loader.c:218:8: warning: implicit declaration of function 'initCfgu' [-Wimplicit-function-declaration]
ret = initCfgu();
^
c:/devkitPro/hbl/source/hblauncher_loader.c:236:2: warning: implicit declaration of function 'exitCfgu' [-Wimplicit-function-declaration]
exitCfgu();
^
c:/devkitPro/hbl/source/hblauncher_loader.c:238:2: error: too many arguments to function 'APT_CheckNew3DS'
APT_CheckNew3DS(NULL, &new3dsflag);
^
In file included from c:/devkitPro/libctru/include/3ds.h:31:0,
from c:/devkitPro/hbl/source/hblauncher_loader.c:7:
c:/devkitPro/libctru/include/3ds/services/apt.h:388:8: note: declared here
Result APT_CheckNew3DS(u8 *out);
^
make[1]: *** [hblauncher_loader.o] Error 1
make: *** [build] Error 2
Any idea on how to fix it?