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 

psp-fixup-imports error

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



Joined: 17 Oct 2005
Posts: 19

PostPosted: Tue Oct 18, 2005 7:23 pm    Post subject: psp-fixup-imports error Reply with quote

I already made some apps in .c and it works fine, but when i want to compile .cpp files, well everything compiles but after I get this error, and of course the resulting epb file doesn't work.

Help would be greatly appreciated as I would really be happy to be able to use classes and stuff.
Here's the Makefile:

TARGET = c++
OBJS = main.o

INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LDFLAGS =
LIBS = -lpspaudiolib -lpspaudio -lstdc++

EXTRA_TARGETS = EBOOT.PBP kxploit
PSP_EBOOT_TITLE = C++

PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak

------------------------

and here's what I get when compiling:
psp-g++ ... compiling
psp-gcc ... linking

psp-fixup-imports c++.elf
Error, no sceModuleInfo section found

mksfo 'C++' PARAM.SFO etc
Back to top
View user's profile Send private message MSN Messenger
Ryu



Joined: 17 Oct 2005
Posts: 19

PostPosted: Tue Oct 18, 2005 8:03 pm    Post subject: Reply with quote

ok sorry forget it, i forgot to use the module info macro in the cpp file

PSP_MODULE_INFO(...)

lol
Back to top
View user's profile Send private message MSN Messenger
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