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 

Error, could not fixup imports, stubs out of order. Help?

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



Joined: 24 Jul 2007
Posts: 37

PostPosted: Fri Mar 14, 2008 5:04 am    Post subject: Error, could not fixup imports, stubs out of order. Help? Reply with quote

Whenever I try to compile my work I get that error, I'm not sure why but it generally happens when I've used certain functions, namely sctrlKernelExitVSH(struct SceKernelLoadExecVSHParam *param); (from one of the OE/M33 SDKs), and whilst trying to load the exception handler to test with on this thread.

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:
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


Thanks in advance for any help.
-Aura
_________________
Live. Love. Be. Believe.

Free downgrading/unbricking service list!
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