forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Errors Compiling Samples

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Fabre



Joined: 22 May 2005
Posts: 18

PostPosted: Tue Sep 27, 2005 7:19 pm    Post subject: Errors Compiling Samples Reply with quote

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
View user's profile Send private message
Warren



Joined: 24 Jan 2004
Posts: 173
Location: San Diego, CA

PostPosted: Tue Sep 27, 2005 9:12 pm    Post subject: Reply with quote

Update your PSPSDK from SVN and this will be fixed.
A fix was submitted for this last night.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Sep 28, 2005 6:48 am    Post subject: Reply with quote

And the debug/kprintf one was fixed just now.
Back to top
View user's profile Send private message
Fabre



Joined: 22 May 2005
Posts: 18

PostPosted: Wed Sep 28, 2005 8:39 am    Post subject: Reply with quote

Thanks, I updated via Subversion, and now everything compiles properly!
Back to top
View user's profile Send private message
radius



Joined: 22 Jul 2005
Posts: 7

PostPosted: Fri Sep 30, 2005 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group