TyRaNiD wrote:I would assume that the header does not extern C the function definitions so when compiled g++ is trying to find the mangled form which doesn't exist.
Looks like you didn't put the agar lib into the LIBS= line in the makefile.... Nope, it's there. psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -G0 -O2 -Wall -g -I.. -fno-strict-aliasing -I../.. -I/usr/local/pspdev/psp/include/agar -I/usr/local/pspdev/psp/include/SDL -I/usr/local/pspdev/psp/includ...
I'm trying to compile a program that uses an external library (agar) and am getting some strange errors that I can't figure out. They all look something like: keymap_ascii.c:(.text+0x300): undefined reference to `__ctype_b_loc' OR keymap_ascii.c:(.text+0x410): undefined reference to '__ctype_toupper...
Nice work. Tests run great on psp FAT (after some very slight changes to make printf work and compile to pbp), though a few take a while ;). Very nice test set too! I like the abstraction layer you use to support multiple platforms... and that its inherited pthreads-win32's exception handling. I wa...
Would it not be advantageous to add the contentionscope parameter to pte_osThreadCreate (since stacksize and priority are already here) and noop that for the osals that do not support it? We can then use this to set pspAttr. You're exactly right, and I like your solution. This is one of those areas...
Let's I know if you want some particular message or note in nd documentation for the user, in way that I can fully respect your license. Bye Filippo That's cool! The only thing I would ask is to also put a link to the sourceforge site. If you find any problems or make any improvements I'd appreciat...
I've finished up an implementation of the pthreads API for the PSP. The implementation is pretty complete, the only thing missing are things that don't really apply to the PSP platform. See the link below...
I verified that threads were actually getting created. When it originally stopped at 30 threads, I thought the same thing, that I was running into some kind of limit (possibly because I wasn't deleting threads). However, the point at which it stops is somewhat random, and often goes above 30. I have...
I've been having some problems creating threads. It seems that sometimes when a thread is created, the OS will immediately kill it (before it even gets to the thread's entry point as far as I can tell.), I can reproduce the problem with some pretty straightforward test code, which is included below....
I'm in need of a (relatively complete) pthread implementation for PSP. Just wondered if anyone else is working on this (if not, I'll probably start down the path of implementing my own).