| View previous topic :: View next topic |
| Author |
Message |
Sharkus
Joined: 19 Jun 2005 Posts: 27
|
Posted: Sun Mar 19, 2006 12:51 pm Post subject: MB_CUR_MAX link problem (with psp/include/stdlib.h) |
|
|
I get the following a link error unless I change the following lines in psp/include/stdlib.h:
| Code: |
#if 0 /* this causes link error */
#define MB_CUR_MAX __mb_cur_max
#endif
#define MB_CUR_MAX 1
|
What is the "proper" way to fix this? |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Mon Mar 20, 2006 6:12 am Post subject: |
|
|
| In newlib that should be defined in libc/locale/locale.c, so either the newlib locale support is broken on PSP, or you might have a link order issue (try prefixing your libraries with -Wl,--start-group) |
|
| Back to top |
|
 |
|