Open MatChung opened 13 years ago
It sounds like you're using an old version of newlib.
Try grabbing the latest version of ps3toolchain, making sure to delete the build directory before you start to clear out any incomplete builds.
thx for your reply.
i grabbed the toolchain last night in a new folder and ran the toolchain shell script. No error found until script 011. I deleted build folder and re-executed the script 003,008, 011,same error as shown on 1st post.
sorry for my poor english.
This is very strange then. Can you tell me what OS + version you are running?
running under virtualbox:
Kernel : Linux 2.6.35-22-generic (x86_64) Compiled : #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 C Library : GNU C Library version 2.12.1 (stable) Default C Compiler : GNU C Compiler version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) Distribution : Linux Mint 10 Julia
ooPo is right, we need newlib-1.20-patch applied to get them defined:
here is my log, any help on to fix this?
remainderd2.c libsimdmath.a make[2]: Nothing to be done for `all'. crt0.S crt1.c ./ps3toolchain/psl1ght/ppu/crt/crt1.c:37:56: warning: 'struct tms' declared inside parameter list ./ps3toolchain/psl1ght/ppu/crt/crt1.c:37:56: warning: its scope is only this definition or declaration, which is probably not what you want ./ps3toolchain/psl1ght/ppu/crt/crt1.c: In function '__syscalls_init': ./ps3toolchain/psl1ght/ppu/crt/crt1.c:78:12: error: 'struct syscalls_t' has no member named 'sleep_r' ./ps3toolchain/psl1ght/ppu/crt/crt1.c:79:12: error: 'struct syscalls_t' has no member named 'usleep_r' ./ps3toolchain/psl1ght/ppu/crt/crt1.c:82:12: error: 'struct __syscalls_t' has no member named 'times_r' make[3]: * [crt1.o] Error 1 make[2]: * [ppu] Error 2 make[1]: * [all] Error 2 make: * [all] Error 2
thx~