OK, I'm stuck. I've installed the PSP toolchain under Sabayon linux (basically Gentoo with like every single driver built in). Anyways, I've ran through the C tutorials, learned a bit of C, and I've been attempting to make a Pong game. Real original right? I'm not gonna release it, I just want to learn this stuff.
Anyways, I've only gotten a basic menu selection done, so I tried to make it. I get this strange error:
My makefile may be the problem, I have no idea how to do these thingsCode:$ make psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L. -L/usr/local/pspdev/psp/sdk/lib main.o graphics.o -lpspgu -lpsppower -lpng -lz -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o Pong.elf graphics.o: In function `getVramDrawBuffer': graphics.c:(.text+0x54): undefined reference to `g_vram_base' graphics.c:(.text+0x5c): undefined reference to `g_vram_base' graphics.o: In function `getVramDisplayBuffer': graphics.c:(.text+0x7c): undefined reference to `g_vram_base' graphics.c:(.text+0x88): undefined reference to `g_vram_base' collect2: ld returned 1 exit status make: *** [Pong.elf] Error 1
Spoiler for Makefile:
I can post my source if you want me too.
Any help would be appreciated, I know the solution is probably really simple :Argh: