Compiler Error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Compiler Error

Post by Wally »

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: Select all

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: Select all

#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]
cory1492
Posts: 216
Joined: Fri Dec 10, 2004 1:49 pm

Post by cory1492 »

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: Select all

D&#58;\cygwin\usr\local\pspdev\psp\sdk\include\pspiofilemgr_dirent.h
or

Code: Select all

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?
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

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
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

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
Post Reply