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 

Making a VSH PRX

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



Joined: 13 May 2006
Posts: 36

PostPosted: Mon Feb 19, 2007 6:30 am    Post subject: Making a VSH PRX Reply with quote

error
Code:

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

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