undefined reference to `pspDveMgrSetVideoOut' of doom

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

Moderators: cheriff, TyRaNiD

Post Reply
Egil
Posts: 1
Joined: Fri Oct 24, 2008 7:37 pm

undefined reference to `pspDveMgrSetVideoOut' of doom

Post by Egil »

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: Select all

/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.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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: Select all

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
Post Reply