I should preface this post by saying that I have updated my toolchain and have exhausted all conventional troubleshooting methods before writing this. I am having a problem trying to link libpng and include source files in a PRX. The PRX is supposed to call drawing routines defined in render.h and plugin.h, both of which are dependant on libpng. My makefile is as follows:
When I make the code, I get a PRX that is 294kb and will not load. The LoadModule call returns a 0. If I comment out the drawing calls and remove the OBJS and LIBS (OBJS = main.o exports.o) it works fine... Anyone have any ideas as to what is happening?