The full error is:
Error, could not fixup imports, stubs out of order.
Ensure the SDK libraries are linked in last to correct this error
I've tried linking the SDK libraries in last, and I've shifted my source codes and libraries around so much, but it appears to have no effect. I'm guessing someone is likely to have had a similar but I couldn't find any that were of help.
My makefile (excuse the mess):
Code: Select all
TARGET = project4
BUILD_PRX = 1
PSP_FW_VERSION = 352
OBJS =\
../KMode/Impose/imposehandler.o\
../KMode/Filehandler/filehandler.o\
\
../source/setting.o\
\
../source/mp3.o\
../source/OSK.o\
../source/messagebox.o\
../source/filemanager.o\
../source/loadfile.o\
../source/imageviewer.o\
../source/filebrowser.o\
../source/config.o\
../source/busspeed.o\
../source/error.o\
../source/about.o\
../source/system.o\
../source/font.o\
../source/clock.o\
../source/lkmp.o\
../source/hex.o\
../source/volumebar.o\
../source/screensaver.o\
\
../common/exception.o\
../common/graphics.o\
../common/intraFont.o\
../common/framebuffer.o\
\
../source/main.o
CFLAGS = -O3 -frename-registers -ffast-math -fomit-frame-pointer -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
INCDIR =
LIBDIR =
LIBS =\
-lpspmodulemgr_user2 \
-lmad -lpspaudiolib -lpspaudio\
-lpspsystemctrl_user -lpspumd -lpsppower \
-lpsprtc -lpspdebug -lbetalock -lpspwlan \
-lpspgu -lpng -ljpeg -lpspge -lz -lm -lpspgum -lpspaudiocodec -lpspaudiolib -lpspsystemctrl_user
LDFLAGS += -mno-crt0
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
-Aura