| View previous topic :: View next topic |
| Author |
Message |
Panajev2001a
Joined: 20 Aug 2005 Posts: 100
|
Posted: Wed Aug 31, 2005 7:23 am Post subject: Wasn't _stat added to the latest PSPSDK SVN revision ? |
|
|
| 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 |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Aug 31, 2005 7:33 am Post subject: |
|
|
| _stat is part of the toolchain, you need to rebuild the whole toolchain using the script in the psptoolchain directory. |
|
| Back to top |
|
 |
Panajev2001a
Joined: 20 Aug 2005 Posts: 100
|
Posted: Wed Aug 31, 2005 7:53 am Post subject: |
|
|
| 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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Sep 01, 2005 2:19 am Post subject: |
|
|
| 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 |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Thu Sep 01, 2005 2:20 am Post subject: |
|
|
| 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 |
|
 |
|