Search found 6 matches

by foxss
Wed Dec 23, 2009 4:37 pm
Forum: PSP Development
Topic: [solved]tinyxml bus error
Replies: 2
Views: 2106

Thanks, psPea! I finally find crash caused as ele is a null pointer. I should be more defensive, check it before using... ele = ele->NextSiblingElement(); You're trying to derefeence a null pointer at 0x3d4 lw $v1, 28($a0) a0:0x00000000 EPC:0x088047D4 lw destinationRegister, offset(s...
by foxss
Wed Dec 23, 2009 2:58 am
Forum: PSP Development
Topic: [solved]tinyxml bus error
Replies: 2
Views: 2106

[solved]tinyxml bus error

Hi, I tried to parse a utf-8 xml file with tinyxml while get a bus error. main.cpp #include "tinyxml.h" #include <pspkernel.h> PSP_MODULE_INFO&#40;"sample", 0, 1, 1&#41;; PSP_MAIN_THREAD_ATTR&#40;THREAD_ATTR_USER | THREAD_ATTR_VFPU&#41;; PSP_HEAP_SIZE_KB&#40;2...
by foxss
Mon Nov 30, 2009 12:21 pm
Forum: PSP Development
Topic: Http file download, howto
Replies: 9
Views: 6020

YES, IT WORKS!
Thanks Mon Ouïe!
Mon Ouïe wrote:I guess the order is wrong (but -lz is correct): A library which depends on other has to be linked before the libraries it depends on. So, it should be :

Code: Select all

-lcurl -lz
by foxss
Mon Nov 30, 2009 1:11 am
Forum: PSP Development
Topic: Http file download, howto
Replies: 9
Views: 6020

Thanks m0skit0 for replying.
My problem still there after I download make and install latest zlib from psp2dev trunk. It give me same error when do make.
m0skit0 wrote:Seems you dont have zlib installed or you're not linking it correctly.
by foxss
Sat Nov 28, 2009 7:10 pm
Forum: PSP Development
Topic: Http file download, howto
Replies: 9
Views: 6020

zlib error

Looking for help, I got problem when try to do make. /usr/local/pspdev/lib/gcc/psp/4.3.2/../../../../psp/lib/libcurl.a&#40;content_encodi ng.o&#41;&#58; In function `exit_zlib'&#58; content_encoding.c&#58;&#40;.text+0xa0&#41;&#58; undefined reference to `inflateEnd' /...
by foxss
Sun Dec 07, 2008 2:10 pm
Forum: PSP Development
Topic: Sample exec problem
Replies: 1
Views: 1099

Sample exec problem

Hi all, I am a newbie in PSP howbrew program dev. I use windows XP installed with minpspw 0.8.10. I compiled sdk sample net/resolver then exec on my psp slim CF 3.71-M4 It simpily reply nothing and shutdown within 4 seconds.(I read this would an fatal exception in my program that cause PSP shutdown)...