| View previous topic :: View next topic |
| Author |
Message |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Fri Sep 28, 2007 4:03 pm Post subject: Compiler Error |
|
|
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 |
|
 |
cory1492
Joined: 10 Dec 2004 Posts: 216
|
Posted: Fri Sep 28, 2007 4:17 pm Post subject: |
|
|
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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Fri Sep 28, 2007 4:19 pm Post subject: |
|
|
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 |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sun Sep 30, 2007 1:50 pm Post subject: |
|
|
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 |
|
 |
|