psp-fixup-imports error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Ryu
Posts: 19
Joined: Mon Oct 17, 2005 8:36 pm

psp-fixup-imports error

Post by Ryu »

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
Ryu
Posts: 19
Joined: Mon Oct 17, 2005 8:36 pm

Post by Ryu »

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

PSP_MODULE_INFO(...)

lol
Post Reply