Search found 5 matches

by Paddle
Thu Jun 23, 2005 7:37 am
Forum: PSP Development
Topic: undefined reference to '_ctype_'
Replies: 9
Views: 2888

Thank you sir!

I'm curious, was removing the patch to ctype_.c all that was needed, or is the change to the toolchain.sh also significant.

Cheers
by Paddle
Thu Jun 23, 2005 1:41 am
Forum: PSP Development
Topic: undefined reference to '_ctype_'
Replies: 9
Views: 2888

sweet...thanks for the response. I will also take a look there.

Cheers
by Paddle
Thu Jun 23, 2005 1:35 am
Forum: PSP Development
Topic: undefined reference to '_ctype_'
Replies: 9
Views: 2888

Also any functions that use these won't link for me. Is this a limitation of the toolchain? Adding this to HelloWorld #include <stdlib.h> char* number = "10"; char* bar; long foo = strtol( number, &bar, 10); if( foo == 10 ) pgFillvram(0); gives psp-gcc -O0 startup.o hellopsp.o kernel.o...
by Paddle
Thu Jun 23, 2005 1:18 am
Forum: PSP Development
Topic: undefined reference to '_ctype_'
Replies: 9
Views: 2888

As I stated in the post I have tried psp-gcc with no luck. I have found that these are the problem functions. isalpha(c) isupper(c) islower(c) isdigit(c) isxdigit(c) isspace(c) ispunct(c) isalnum(c) isprint(c) isgraph(c) iscntrl(c) They are all defined in ctype.h I have tried to just paste the follo...
by Paddle
Wed Jun 22, 2005 8:02 am
Forum: PSP Development
Topic: undefined reference to '_ctype_'
Replies: 9
Views: 2888

undefined reference to '_ctype_'

I have searched and tried many things, but still having no luck, all my code compiles, but linking, well..no. I keep getting undefined reference to '_ctype_'. All of the complaints come from standard c functions. I'm using these flags TOP = /usr/local/pspdev/psp/psp LIBDIR = $(TOP)/lib PREFIX = psp ...