psp-gcc -I. -I/usr/psp/sdk/include -O2 -G0 -Wall -L. -L/usr/psp/sdk/lib main.
o decrypt.o semaphore.o -lpspgu -lpng -lz -lm -lpsppower -lpspdebug -lpspdispla
y -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_
resolver -lpsputility -lpspuser -lpspkernel -o sd_decryptor.elf
decrypt.o:(.data+0x0): multiple definition of `key3'
main.o:(.data+0x0): first defined here
decrypt.o:(.data+0x90): multiple definition of `id3'
main.o:(.data+0x90): first defined here
decrypt.o:(.data+0x94): multiple definition of `key2'
main.o:(.data+0x94): first defined here
decrypt.o:(.data+0x124): multiple definition of `id2'
main.o:(.data+0x124): first defined here
decrypt.o:(.data+0x128): multiple definition of `key1'
main.o:(.data+0x128): first defined here
decrypt.o:(.data+0x1b8): multiple definition of `id1'
main.o:(.data+0x1b8): first defined here
decrypt.o:(.data+0x1bc): multiple definition of `key0'
main.o:(.data+0x1bc): first defined here
decrypt.o:(.bss+0x0): multiple definition of `id0'
main.o:(.bss+0x4): first defined here
decrypt.o: In function `sub_88056300':
decrypt.c:(.text+0x0): multiple definition of `sub_88056300'
main.o:main.c:(.text+0x0): first defined here
decrypt.o: In function `decrypt_file':
decrypt.c:(.text+0x44): multiple definition of `decrypt_file'
main.o:main.c:(.text+0x44): first defined here
collect2: ld returned 1 exit status
$ make
psp-gcc -I. -I/usr/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
main.c : In function 'main':
main.c(144) : error: syntax error before numeric constant
main.c(151) : error: invalid lvalue in unary '&'
main.c(153) : error: syntax error before 'sceIoRemove'
main.c(158) : error: request for member 'Buttons' in something not a structure o
r union
main.c : At top level:
main.c(196) : error: syntax error before 'return'
and this isn't my whole code, but its my main function.