forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LIBPNG problem, "R_MIPS_GPREL16 against `_impure_ptr'&

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
seventoes



Joined: 02 Oct 2005
Posts: 79

PostPosted: Mon Jan 30, 2006 4:59 am    Post subject: LIBPNG problem, "R_MIPS_GPREL16 against `_impure_ptr'& Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group