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 

Wasn't _stat added to the latest PSPSDK SVN revision ?

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



Joined: 20 Aug 2005
Posts: 100

PostPosted: Wed Aug 31, 2005 7:23 am    Post subject: Wasn't _stat added to the latest PSPSDK SVN revision ? Reply with quote

Code:
ccache psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -G0 -Wall -Os -msingle-fl
oat -funroll-loops -ffast-math -fsingle-precision-constant -fno-exceptions  -L.
-L/usr/local/pspdev/psp/sdk/lib   src/reflection.o src/text.o src/disablefpu.o l
ogo.o src/point.o src/pmatrix.o src/PSP_Utils.o -lpng -lz -lintmdloader -lgeomma
th -lpspgu -lstdc++ -lm -lc  -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk
-lc -lpspuser -lpspkernel -o reflection.elf
/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib/libc.a(sysstat.o): In fu
nction `stat':
../../../../../newlib/libc/syscalls/sysstat.c:14: undefined reference to `_stat'

collect2: ld returned 1 exit status
make: *** [reflection.elf] Error 1


Is this one of the things added to the SVN version (the change in the lib names, etc... mentioned in the same log happened though), but not ready for public release ?

Thanks for any help on this issue (I was trying a file which required _stat because I saw that change in the SVN change-log sorry :().
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed Aug 31, 2005 7:33 am    Post subject: Reply with quote

_stat is part of the toolchain, you need to rebuild the whole toolchain using the script in the psptoolchain directory.
Back to top
View user's profile Send private message
Panajev2001a



Joined: 20 Aug 2005
Posts: 100

PostPosted: Wed Aug 31, 2005 7:53 am    Post subject: Reply with quote

TyRaNiD wrote:
_stat is part of the toolchain, you need to rebuild the whole toolchain using the script in the psptoolchain directory.


I know, I did that like an hour ago (and it was then that I re-compiled the thing).

( ./toolchain.sh )

Edit:

Quote:
trunk/newlib-psp/newlib/libc/sys/psp/libcglue.c
trunk/newlib-psp/newlib/libc/sys/psp/Makefile.am
trunk/newlib-psp/newlib/libc/sys/psp/Makefile.in
trunk/psptoolchain/newlib-1.13.0.patch


Likely they are not "publically" released, but in pre-release status.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Sep 01, 2005 2:19 am    Post subject: Reply with quote

TyRaNiD wrote:
_stat is part of the toolchain, you need to rebuild the whole toolchain using the script in the psptoolchain directory.


You only need to rebuild newlib, which is toolchain.sh -n.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu Sep 01, 2005 2:20 am    Post subject: Reply with quote

Panajev2001a wrote:
Edit:

Quote:
trunk/newlib-psp/newlib/libc/sys/psp/libcglue.c
trunk/newlib-psp/newlib/libc/sys/psp/Makefile.am
trunk/newlib-psp/newlib/libc/sys/psp/Makefile.in
trunk/psptoolchain/newlib-1.13.0.patch


Likely they are not "publically" released, but in pre-release status.


When you see a .patch in psptoolchain/ get updated, that means the tools are ready for public consumption.
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