hi,
i tried to compile frodo beta 11, but i can't make it. i have the devkitadv for the gp32 (unmodified) and the frodo source.
by making it i get these errors:
C:\projects\gp32\Frodo\Src>makegp
/usr/local/devkitadv/bin/arm-agb-elf-g++ -I./ -DGP32 -Igp32/ -Igp32/libpogo/ -O3
-Igp32/sound/ -fno-builtin -fno-exceptions -mcpu=arm9tdmi -mtune=arm9tdmi -nost
dinc -c -o gp32/chatboard/kbdrv.o gp32/chatboard/kbdrv.c
gp32/chatboard/kbdrv.c: In function `void installIRQ(int, void (*)())':
gp32/chatboard/kbdrv.c:54: parse error before `[' token
gp32/chatboard/kbdrv.c: In function `void removeIRQ(int)':
gp32/chatboard/kbdrv.c:69: parse error before `[' token
gp32/chatboard/kbdrv.c: In function `void UART0RxInt()':
gp32/chatboard/kbdrv.c:153: cannot convert `const char*' to `unsigned char*'
for argument `1' to `int sendACKZ(unsigned char*)'
gp32/chatboard/kbdrv.c: In function `int sendACKZ(unsigned char*)':
gp32/chatboard/kbdrv.c:206: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strlen(const char*)'
gp32/chatboard/kbdrv.c: In function `int preInitKbd(long int, long int)':
gp32/chatboard/kbdrv.c:278: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:282: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:286: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c: In function `int postInitKbd()':
gp32/chatboard/kbdrv.c:301: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:305: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:310: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:315: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
makegp: *** [gp32/chatboard/kbdrv.o] Error 1
what do i have to do to get this fixed?
i tried to compile frodo beta 11, but i can't make it. i have the devkitadv for the gp32 (unmodified) and the frodo source.
by making it i get these errors:
C:\projects\gp32\Frodo\Src>makegp
/usr/local/devkitadv/bin/arm-agb-elf-g++ -I./ -DGP32 -Igp32/ -Igp32/libpogo/ -O3
-Igp32/sound/ -fno-builtin -fno-exceptions -mcpu=arm9tdmi -mtune=arm9tdmi -nost
dinc -c -o gp32/chatboard/kbdrv.o gp32/chatboard/kbdrv.c
gp32/chatboard/kbdrv.c: In function `void installIRQ(int, void (*)())':
gp32/chatboard/kbdrv.c:54: parse error before `[' token
gp32/chatboard/kbdrv.c: In function `void removeIRQ(int)':
gp32/chatboard/kbdrv.c:69: parse error before `[' token
gp32/chatboard/kbdrv.c: In function `void UART0RxInt()':
gp32/chatboard/kbdrv.c:153: cannot convert `const char*' to `unsigned char*'
for argument `1' to `int sendACKZ(unsigned char*)'
gp32/chatboard/kbdrv.c: In function `int sendACKZ(unsigned char*)':
gp32/chatboard/kbdrv.c:206: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strlen(const char*)'
gp32/chatboard/kbdrv.c: In function `int preInitKbd(long int, long int)':
gp32/chatboard/kbdrv.c:278: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:282: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:286: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c: In function `int postInitKbd()':
gp32/chatboard/kbdrv.c:301: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:305: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:310: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
gp32/chatboard/kbdrv.c:315: cannot convert `unsigned char*' to `const char*'
for argument `1' to `int strcmp(const char*, const char*)'
makegp: *** [gp32/chatboard/kbdrv.o] Error 1
what do i have to do to get this fixed?