| View previous topic :: View next topic |
| Author |
Message |
Fabre
Joined: 22 May 2005 Posts: 18
|
Posted: Tue Sep 27, 2005 7:19 pm Post subject: Errors Compiling Samples |
|
|
I am getting errors when compiling any of the PSPSDK samples. Here are some of the errors I am getting:
usb/storage
| Quote: | /usr/local/pspdev/psp/sdk/lib/libpspdebug.a(scr_printf.o): In function `clear_screen':
/tmp/pspdev/pspsdk/sdk/debug/scr_printf.c:39: multiple definition of `PspInterruptNames'
main.o:(.data+0x4): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspdebug.a(kprintf.o): In function `_pspDebugKprintfHandler':
/tmp/pspdev/pspsdk/sdk/debug/kprintf.c:30: multiple definition of `PspInterruptNames' |
debug/kprintf
| Quote: | | main.c:59: error: conflicting types for 'Kprintf' /usr/local/pspdev/psp/sdk/include/pspkdebug.h:44: error: previous declaration of 'Kprintf' was here |
gu/sprite
| Quote: | /usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuDispBuffer.o): In function `drawRegion':
/tmp/pspdev/pspsdk/sdk/gu/sceGuDispBuffer.c:15: multiple definition of `PspInterruptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuDisplay.o): In function `sceGuDisplay':
/tmp/pspdev/pspsdk/sdk/gu/sceGuDisplay.c:15: multiple definition of `PspInterruptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuGetMemory.o): In function `sceGuGe
tMemory':
/tmp/pspdev/pspsdk/sdk/gu/sceGuGetMemory.c:15: multiple definition of `PspInterr
uptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuInit.o):(.data+0x37c): multiple de
finition of `PspInterruptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuStart.o): In function `sceGuStart'
:
/tmp/pspdev/pspsdk/sdk/gu/sceGuStart.c:15: multiple definition of `PspInterruptN
ames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuSwapBuffers.o): In function `sceGu
SwapBuffers':
/tmp/pspdev/pspsdk/sdk/gu/sceGuSwapBuffers.c:15: multiple definition of `PspInte
rruptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sceGuSync.o): In function `sceGuSync':
/tmp/pspdev/pspsdk/sdk/gu/sceGuSync.c:15: multiple definition of `PspInterruptNames'
sprite.o:(.data+0x24): first defined here
/usr/local/pspdev/psp/sdk/lib/libpspgu.a(sendCommand.o): In function `sendCommandi':
/tmp/pspdev/pspsdk/sdk/gu/sendCommand.c:16: multiple definition of `PspInterruptNames'
sprite.o:(.data+0x24): first defined here |
etc. Any sample I try to compile returns similar errors. Any help would be appreciated. |
|
| Back to top |
|
 |
Warren
Joined: 24 Jan 2004 Posts: 173 Location: San Diego, CA
|
Posted: Tue Sep 27, 2005 9:12 pm Post subject: |
|
|
Update your PSPSDK from SVN and this will be fixed.
A fix was submitted for this last night. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Sep 28, 2005 6:48 am Post subject: |
|
|
| And the debug/kprintf one was fixed just now. |
|
| Back to top |
|
 |
Fabre
Joined: 22 May 2005 Posts: 18
|
Posted: Wed Sep 28, 2005 8:39 am Post subject: |
|
|
| Thanks, I updated via Subversion, and now everything compiles properly! |
|
| Back to top |
|
 |
radius
Joined: 22 Jul 2005 Posts: 7
|
Posted: Fri Sep 30, 2005 3:02 am Post subject: |
|
|
| I tried compiling kernel/fileio sample with actual svn 1095 and it won't compil while it works with my previous svn 724, i dont have the logs but i'll reupdate to 1095 if needed |
|
| Back to top |
|
 |
|