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 

Compiler Error

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



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Sep 28, 2007 4:03 pm    Post subject: Compiler Error Reply with quote

Hi Guys,

Im trying to compile Abuse-SDL for the PSP,

I get so far into the compilation process until *BANG* it stops dead right here.
Code:

In file included from jdir.cpp:3:
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/sys/dirent.h:11:34: error: pspiofilemgr_dirent.h: No such file or directory
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/sys/dirent.h:18: error: 'SceIoStat' does not name a type
/usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/include/sys/dirent.h:27: error: 'SceUID' does not name a type


I have checked my paths and everything. Still no go.

Heres the header of jdir.cpp
Code:

#include <sys/types.h>
#include <stdio.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "jmalloc.hpp"


Thanks a Bundle!


[/code]
Back to top
View user's profile Send private message AIM Address
cory1492



Joined: 10 Dec 2004
Posts: 216

PostPosted: Fri Sep 28, 2007 4:17 pm    Post subject: Reply with quote

I'm going to go out on a limb and say: make sure the file it is complaining about exists in your toolchain? For myself it can be found at
Code:
D:\cygwin\usr\local\pspdev\psp\sdk\include\pspiofilemgr_dirent.h

or
Code:
usr/local/pspdev/psp/sdk/include/pspiofilemgr_dirent.h

If it doesnt exist, all I can ask is how old is your sdk build? Maybe time for an update?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Fri Sep 28, 2007 4:19 pm    Post subject: Reply with quote

I just updated the SDK a few days ago.

I was thinking maybe its time to update GCC, im on 4.0.2 compared to 4.1.0

I'll give that a whirl :)

Thanks
Back to top
View user's profile Send private message AIM Address
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sun Sep 30, 2007 1:50 pm    Post subject: Reply with quote

Ok guys trying to update GCC, it stops at

checking for shared libgcc... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make: *** [all] Error 2
Back to top
View user's profile Send private message AIM Address
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