Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script error on 011, pslight #40

Open
MatChung opened this issue May 1, 2011 · 5 comments
Open

script error on 011, pslight #40

MatChung opened this issue May 1, 2011 · 5 comments

Comments

@MatChung
Copy link

MatChung commented May 1, 2011

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~

@ooPo
Copy link
Member

ooPo commented May 1, 2011

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.

@MatChung
Copy link
Author

MatChung commented May 2, 2011

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.

@ooPo
Copy link
Member

ooPo commented May 2, 2011

This is very strange then. Can you tell me what OS + version you are running?

@MatChung
Copy link
Author

MatChung commented May 2, 2011

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

@masterzorag
Copy link

ooPo is right, we need newlib-1.20-patch applied to get them defined:

newlib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants