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 

undefined reference to `pspDveMgrSetVideoOut' of doom

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



Joined: 24 Oct 2008
Posts: 1

PostPosted: Wed Dec 10, 2008 7:54 am    Post subject: undefined reference to `pspDveMgrSetVideoOut' of doom Reply with quote

Today i installed J.F. new version of pspGL and SDL, and now my small study project, which was using pspgl, stopped to compile because of:
Code:

/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libGL.a(eglGetDisplay.o)
: In function `eglGetDisplay':
/home/Egil/pspgl/eglGetDisplay.c:25: undefined reference to `pspDveMgrCheckVideoOut'
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libGL.a(eglInitialize.o)
: In function `eglInitialize':
/home/Egil/pspgl/eglInitialize.c:27: undefined reference to `pspDveMgrSetVideoOut'
/home/Egil/pspgl/eglInitialize.c:30: undefined reference to `pspDveMgrSetVideoOut'
collect2: ld returned 1 exit status
make: *** [out.elf] Error 1

What to add to make it work again? It compiled without problems on older pspgl version.

Also, i see that some patches (SDL-latest.patch, pspgl.patch) are available, but i don't know how to apply them, I’m a newbie when it comes to cygwin.

Thanks for any help.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Dec 10, 2008 8:31 am    Post subject: Reply with quote

You need pspDveManager.S from the dvemgr.prx sample D_A released some time back. Here's a link so you don't have to go hunting around.

http://www.mediafire.com/download.php?ruyzuzsjnwe

To patch a file in linux, do

Code:
patch -p0 <SDL.patch


No idea how you do it with CygWin.

EDIT: Here's a link to the version of the dvemgr that was patched to change the Slim to 4MB of EDRAM.

http://www.mediafire.com/download.php?mwggxdc4bjg
Back to top
View user's profile Send private message AIM Address
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