LIBPNG problem, "R_MIPS_GPREL16 against `_impure_ptr'&

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
seventoes
Posts: 79
Joined: Sun Oct 02, 2005 4:50 am

LIBPNG problem, "R_MIPS_GPREL16 against `_impure_ptr'&

Post by seventoes »

i tried updating PSPSDK using the new toolchain and the -p option, but it failed about half way through, and now my LIBPNG is giving me the error "R_MIPS_GPREL16 against `_impure_ptr'" a bunch of times from the following functions:

png_warning
png_error
png_handle_gAMA
png_handle_cHRM
png_handle_sRGB
png_write_cHRM


Ive searched around on the forums but all ive seen is people saying to add -G0 or -G8 to my flags in the makefile, but ive tried that on both my project and on libpng but nothing has worked...

Any help please?

EDIT: Nevermind.. i just had to do a full reinstall of PSPSDK. It took a few hours, but its solved.
Post Reply