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 

Build errors with pspgl and sdl_ttf (undefined ref)

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



Joined: 16 Feb 2008
Posts: 7

PostPosted: Sat Mar 01, 2008 10:46 am    Post subject: Build errors with pspgl and sdl_ttf (undefined ref) Reply with quote

I have recently recompiled all pspsdk with toolchain and psplibraries.
The compilation is okay. No errors occur and libraries are all generated.

But when I try to build a normal program (which work with old pspsdk) I have these errors :

Quote:

/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL.a(SDL_pspgl.o): dans la fonction « PSP_GL_Init »:
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspgl.c:109: référence indéfinie vers « eglGetDisplay »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspgl.c:109: référence indéfinie vers « eglGetError »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspgl.c:110: référence indéfinie vers « eglInitialize »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspgl.c:110: référence indéfinie vers « eglGetError »
....
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL.a(SDL_pspevents.o): dans la fonction « PSP_EventQuit »:
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:274: référence indéfinie vers « pspIrKeybFinish »
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL.a(SDL_pspevents.o): dans la fonction « PSP_EventInit »:
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:247: référence indéfinie vers « pspIrKeybInit »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:249: référence indéfinie vers « pspIrKeybOutputMode »
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL.a(SDL_pspevents.o): dans la fonction « PSP_PumpEvents »:
/home/freezez/svn/psp/trunk/psplibraries/build/SDL/src/video/psp/SDL_pspevents.c:112: référence indéfinie vers « pspIrKeybReadinput »
collect2: ld a retourné 1 code d'état d'exécution


And with TTF too :

Quote:

/home/freezez/svn/psp/trunk/psplibraries/build/SDL_ttf/SDL_ttf.c:503: référence indéfinie vers « FT_Render_Glyph »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL_ttf/SDL_ttf.c:433: référence indéfinie vers « FT_Get_Char_Index »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL_ttf/SDL_ttf.c:501: référence indéfinie vers « FT_Render_Glyph »
/home/freezez/svn/psp/trunk/psplibraries/build/SDL_ttf/SDL_ttf.c:496: référence indéfinie vers « FT_Outline_Transform »
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL_ttf.a(SDL_ttf.o): dans la fonction « TTF_CloseFont »:
/home/freezez/svn/psp/trunk/psplibraries/build/SDL_ttf/SDL_ttf.c:663: référence indéfinie vers « FT_Done_Face »
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libSDL_ttf.a(SDL_ttf.o): dans la fonction « TTF_OpenFontIndexRW »


Thanks for your help.
Back to top
View user's profile Send private message
Freezez



Joined: 16 Feb 2008
Posts: 7

PostPosted: Sat Mar 01, 2008 7:33 pm    Post subject: Reply with quote

Sorry... I was very tired.

I fix the problem. I have'nt linker to correct lib.
Back to top
View user's profile Send private message
temas



Joined: 05 Apr 2008
Posts: 2

PostPosted: Fri Apr 11, 2008 6:25 pm    Post subject: Reply with quote

I have the same problem. Can you tell me what library was wrong and what library fixed the problem?
Thank you.
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