Advertising (This ad goes away for registered users. You can Login or Register)

Re-Volt PSP port

Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
Locked
Mills
Posts: 36
Joined: Sat Aug 02, 2014 10:09 am

Re-Volt PSP port

Post by Mills »

Hi.

A few weeks ago I discovered rvgl, an opensource port of the racing game re-volt. https://forum.re-volt.io/viewtopic.php?f=8&t=13

The code is not released for public, so I contacted Huki, who has the code at gitlab and I could access it to make a port for the PSP. The good news is I could compile everything (it's great all openGL code worked thanks to pspgl :)), the bad news is I got a lot of undefined references while trying to build the EBOOT.

These are the libraries needed to compile the game:
SDL2 -> Has errors
SDL2_image -> OK
glad-static -> OK
alure-static -> Has errors
openal -> OK
enet -> Has errors
pthread -> OK
unistring -> OK

I won't post all the errors here, just some of them. These errors show in the linking process to build the EBOOT.

SDL related errors :

Code: Select all

source/src/sys_Network.o: In function `InitNetwork(bool)':
(.text+0x4d78): undefined reference to `SDL_DetachThread'
/usr/local/pspdev/psp/sdk/lib/libSDL2.a(SDL_pspgl.o): In function `PSP_GL_GetProcAddress':
(.text+0x1c): undefined reference to `eglGetProcAddress'
/usr/local/pspdev/psp/sdk/lib/libSDL2.a(SDL_pspgl.o): In function `PSP_GL_UnloadLibrary':
(.text+0x28): undefined reference to `eglTerminate'
and some othe "egl's" 
All egl functions are inside pspgu, which is compiled and linked with SDL2 lib, so I don't understand why it keeps complaining :(.

Alure related errors:

Code: Select all

/usr/local/pspdev/lib/gcc/psp/4.9.3/../../../../psp/lib/libalure.a(codec_vorbisfile.o): In function `oggStream::GetOrder()':
...and a lot of errors related to vorbis ogg processing
Again, all functions are in vorbis library installed in pspsdk.

ENET relaed errors:

Code: Select all

/usr/local/pspdev/lib/gcc/psp/4.9.3/../../../../psp/lib/libenet.a(host.o): In function `enet_host_connect':
(.text+0x954): undefined reference to `__builtin_allegrex_wsbh'
.. and a lot of lines exactly like that.
What's __builtin_allegrex_wsbh? it is the "only" error in that lib, but it is repeated a lot of times.

If someone wants to join you'll have to talk to Huki at re-volt hideout forum.

Thanks.
Advertising
Locked

Return to “Programming and Security”