Error making a VSH prx

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

Moderators: cheriff, TyRaNiD

Post Reply
hallo007
Posts: 36
Joined: Sat May 13, 2006 6:15 pm

Error making a VSH prx

Post by hallo007 »

error

Code: Select all

/tmp/pspdev/pspsdk/src/startup/crt0_prx.c:88: undefined reference to `atexit'
/tmp/pspdev/pspsdk/src/startup/crt0_prx.c:94: undefined reference to `exit'
/usr/local/pspdev/psp/sdk/lib/libpspdebug.a(scr_printf.o): In function `pspDebug
ScreenPrintf':
/tmp/pspdev/pspsdk/src/debug/scr_printf.c:168: undefined reference to `vsnprintf
'
collect2: ld returned 1 exit status
make: *** [file1.elf] Error 1

Code: Select all

TARGET = file1
OBJS = main.o

BUILD_PRX=1


PRX_EXPORTS=exports.exp

USE_KERNEL_LIBC = 1

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




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

i found its because the USE_KERNEL_LIBC = 1
(it compilles fine as eboot) , how do i fix this?
Post Reply