im trying to compile libxml2 for psp. but i cant compile libxml2 for psp.
ive seen the past topic about xml in this forum. and i tried to compile libxml2.
but failed. so i need help.
what i did :
install pspsdk, psplibraries.
download libxml2-2.6.32
compile libxml2 following below code. ... failed!
os : ubuntu
Code: Select all
CC=psp-gcc CXX=psp-g++ LIBS="-lpspdebug -lpspdisplay -lpspge -lc -lpspuser -lpspkernel" LDFLAGS="-L/usr/local/pspdev/psp/sdk/lib" ./configure --host=mips --with-minimum --without-threads --without-writer --without-modules
make
Code: Select all
...
... ....
/.libs/libxml2.a(encoding.o): In function `xmlAddEncodingAlias':
/home/student/Desktop/libxml2-2.6.32/encoding.c:1000: relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
./.libs/libxml2.a(encoding.o): In function `xmlGetEncodingAlias':
/home/student/Desktop/libxml2-2.6.32/encoding.c:969: relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
./.libs/libxml2.a(encoding.o): In function `xmlParseCharEncoding':
/home/student/Desktop/libxml2-2.6.32/encoding.c:1106: relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
./.libs/libxml2.a(encoding.o): In function `xmlNewCharEncodingHandler':
/home/student/Desktop/libxml2-2.6.32/encoding.c:1270: relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
./.libs/libxml2.a(encoding.o): In function `xmlFindCharEncodingHandler':
/home/student/Desktop/libxml2-2.6.32/encoding.c:1598: relocation truncated to fit: R_MIPS_GPREL16 against `__ctype_ptr'
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory `/home/gsus/libxml/libxml2-2.6.24'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gsus/libxml/libxml2-2.6.24'
make: *** [all] Error 2
Regards, mokke