Search found 1145 matches

by jimparis
Mon Nov 02, 2009 3:07 am
Forum: PSP Development
Topic: Sony PSP Application appwizard (visual studio 6.0) (update)
Replies: 53
Views: 49760

You probably didn't set your PATH. that error is coming from psp-config.c, check the source to see why if setting PATH correctly doesn't fix it.
by jimparis
Mon Nov 02, 2009 3:02 am
Forum: Patch Submissions
Topic: [PSP] pspsdk pspdebug patch
Replies: 2
Views: 2908

Added in rev 2487
by jimparis
Fri Oct 30, 2009 12:54 am
Forum: PSP Development
Topic: Bug in psp-gcc?
Replies: 1
Views: 1333

From http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf page 47: An R_MIPS_HI16 must be followed immediately by an R_MIPS_LO16 relocation record in a SHT_REL section. The contents of the two fields to be relocated are combined to form a full 32-bit addend AHL. An R_MIPS_L...
by jimparis
Thu Oct 29, 2009 3:22 am
Forum: PSP Development
Topic: OGG playback error
Replies: 6
Views: 2472

libogg seems to have no error checking. If a malloc fails, calls like ogg_sync_buffer will return NULL which would lead directly to the read-into-NULL that you noticed. I don't know why, but it looks like you really are out of ram. Maybe try instrumenting libogg and libvorbis's malloc calls (they bo...
by jimparis
Wed Oct 28, 2009 2:45 pm
Forum: PS2 Development
Topic: I might be breaking things..
Replies: 33
Views: 17016

I've tried for a couple years now, to no avail. I've just given up by now. E.g. 'svn diff' patches don't neccessarily work out of the box. Files that are moved/deleted need to be handled directly using svn commands, prior to patching. Reverting changes to a local repository doesn't revert all local...
by jimparis
Wed Oct 28, 2009 2:36 pm
Forum: PSP Development
Topic: OGG playback error
Replies: 6
Views: 2472

I don't know what the pgeFile* functions do, but note that sceIoRead and sceIoWrite have buffer alignment restrictions that might be a problem. Can you add more debugging and see if it's reachign any of the callbacks? I don't necessarily trust the gdb backtrace.
by jimparis
Wed Oct 28, 2009 7:16 am
Forum: PSP Development
Topic: OGG playback error
Replies: 6
Views: 2472

It's in malloc, are you running out of RAM by any chance? Bus errors can also be caused by alignment problems. It's also possible (and more likely) that you are just corrupting memory and that's messing with the malloc data structures. If you can, try compiling the same code on the PC and run it und...
by jimparis
Wed Oct 28, 2009 7:09 am
Forum: Patch Submissions
Topic: [PSP] cpplibs libpspsnd fix
Replies: 3
Views: 3002

Yeah, libmikmod and mikmodlib aren't compatible. I guess libpspsnd was written for mikmodlib. I think we should keep mikmodlib as an compile-time option if we add libmikmod support.
by jimparis
Wed Oct 28, 2009 4:21 am
Forum: Patch Submissions
Topic: [PSP] cpplibs libpspsnd fix
Replies: 3
Views: 3002

By "current mikmod version" do you mean libmikmod or mikmodlib?
The existing code should work fine with mikmodlib.
by jimparis
Mon Oct 26, 2009 2:43 am
Forum: PSP Development
Topic: How to handle stdout and stderr on PSP?
Replies: 4
Views: 2382

Are you sure the atexit handler is being called?
by jimparis
Mon Oct 26, 2009 2:35 am
Forum: Patch Submissions
Topic: [PS2] fix _slib_cur_exp_lib_list clearing
Replies: 1
Views: 2552

Code: Select all

$ svn commit
Sending        sbv/src/patch_disable_prefix_check.c
Sending        sbv/src/patch_enable_lmb.c
Sending        sbv/src/slib.c
Transmitting file data ...
Committed revision 1644.
thanks
by jimparis
Fri Oct 23, 2009 6:40 am
Forum: PSP Development
Topic: How to compile PSPSDK in windows.
Replies: 13
Views: 4927

It goes on because it's running two threads (make -j 2).
Check the output in build/binutils-2.16.1/intl/config.log, it seems that HAVE_STPCPY wasn't defined in config.h for some reason...
by jimparis
Fri Oct 23, 2009 6:16 am
Forum: PSP Development
Topic: How to compile PSPSDK in windows.
Replies: 13
Views: 4927

It should work in cygwin or maybe even msys...
but our crystal balls are hazy so you'll have to give us more info if you want help.
by jimparis
Fri Oct 23, 2009 5:42 am
Forum: PSP Development
Topic: various psp libraries fixed
Replies: 3
Views: 2251

Either one works for configure scripts.
by jimparis
Fri Oct 23, 2009 5:39 am
Forum: Patch Submissions
Topic: [PS2] ps2http.irx fixes
Replies: 1
Views: 2644

Code: Select all

p$ svn commit
Sending        http/src/ps2http.c
Transmitting file data .
Committed revision 1643.
thanks
by jimparis
Thu Oct 22, 2009 4:36 am
Forum: Patch Submissions
Topic: [PSP] toolchain and gcc
Replies: 3
Views: 3443

Yep, the bug should be fixed by http://forums.ps2dev.org/viewtopic.php?t=12528
and gcc > 4.2 should be OK. Let me know if you run into any problems.

Note that gcc > 4.2 was always OK buffer overflow checks aren't enabled (Ubuntu and OSX at least seem to enable them by default).
by jimparis
Wed Oct 21, 2009 5:02 pm
Forum: PSP Development
Topic: various psp libraries fixed
Replies: 3
Views: 2251

various psp libraries fixed

I've fixed a number of build bugs in psp libraries: a fix for the freetype config.guess error : while old versions of libtoolize create the config.guess file automatically, new versions require the "--install" option. Rather than attempt to detect the libtool version, we'll just put a gene...
by jimparis
Wed Oct 21, 2009 10:07 am
Forum: PSP Development
Topic: psp-ar buffer overflow fixed
Replies: 1
Views: 3570

psp-ar buffer overflow fixed

I added a patch to binutils to fix the buffer overflow bug in psp-ar, which was detected by newer GCCs with _FORTIFY_SOURCE=2. Now we don't need gcc-4.2 on Ubuntu, and we don't need to build with -O0. The full psptoolchain script works fine on Ubuntu 9.10. http://psp.jim.sh/svn/comp.php?repname=psp&...
by jimparis
Tue Oct 20, 2009 5:11 am
Forum: PSP Development
Topic: Libraries autogen error
Replies: 4
Views: 3920

imhotep wrote:alternatively, see solution here:
http://forums.ps2dev.org/viewtopic.php?p=85465#85465
Huh? That's entirely unrelated.
by jimparis
Wed Oct 14, 2009 6:16 am
Forum: PSP Development
Topic: error while configure SDL for psptoolchain
Replies: 3
Views: 1629

by jimparis
Sat Oct 10, 2009 3:57 pm
Forum: Patch Submissions
Topic: [PSP] toolchain and gcc
Replies: 3
Views: 3443

There are bugs in the toolchain. When it is compiled with GCC 4.3 or newer, these bugs cause crashes at runtime.
by jimparis
Sat Oct 10, 2009 3:55 pm
Forum: Patch Submissions
Topic: [FIXED] fix for freetype
Replies: 2
Views: 2895

On my system, running "libtoolize --copy" creates config.guess. I don't see why it doesn't on your system, or how adding automake would fix that anyway.
by jimparis
Fri Oct 09, 2009 2:30 pm
Forum: Patch Submissions
Topic: [PSP] libctrl
Replies: 3
Views: 3280

I committed both the library and demo in rev 2474, thanks. $ svn commit Adding libctrl Adding libctrl/Makefile Adding libctrl/demo Adding libctrl/demo/Makefile Adding libctrl/demo/ctrldemo.c Adding libctrl/libctrl.c Adding libctrl/libctrl.h Transmitting file data ..... Committed revision 2474. http:...
by jimparis
Sat Oct 03, 2009 3:21 am
Forum: PSP Development
Topic: Arithmetic seem to overwrite variable
Replies: 13
Views: 8546

I still can't compile and test that code. I don't have your "../common/callbacks.h" and there's no definition of "running()". If you want us to help, give us a complete example (including the makefile) that we can build and test. Otherwise you're on your own. How does the code be...
by jimparis
Fri Oct 02, 2009 5:50 am
Forum: PSP Development
Topic: Arithmetic seem to overwrite variable
Replies: 13
Views: 8546

That code looks fine, but that's not your real code. It doesn't even compile: at the very least you need to change "rayDelta preDelta[480];" to "struct rayDelta preDelta[480];". If you show us your actual full code, we may be able to help.
by jimparis
Fri Oct 02, 2009 5:45 am
Forum: Patch Submissions
Topic: [PSP] patch request
Replies: 2
Views: 2859

This section is for submitting patches, not requesting them. There's no "--enable-video-psp" option anyway.
by jimparis
Fri Oct 02, 2009 5:42 am
Forum: PSP Development
Topic: [pspgl + sdl] psp hangs up
Replies: 12
Views: 4186

Post the output of the configure script here. It will tell you if it found PSPGL.