Code:
ee-gcc -mno-crt0 -Tstartup/linkfile -D_EE -O2 -G0 -Wall \
-o main.elf /usr/local/ps2dev/ps2sdk/ee/startup/crt0.o obj/parches.o obj
/main.o obj/loader.o obj/config.o obj/gs.o obj/pad.o obj/usbadvn.o obj/usbd.o ob
j/usbhdfsd.o obj/fuente.o -L/usr/local/ps2dev/ps2sdk/ee/lib -ldebug -lpad -lmc
-lsupc++ -lgcc lib/libgs.a -lc -lpatches -lc -lkernel
obj/gs.o(.text+0x88): In function `Graphics(int, int)':
src/gs.cpp: undefined reference to `gsDriver::setDisplayMode(unsigned, unsigned,
unsigned, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned, unsigned)
'
obj/gs.o(.text+0xa0):src/gs.cpp: undefined reference to `gsPipe::setAlphaEnable(
int)'
obj/gs.o(.text+0xd4): In function `flip()':
src/gs.cpp: undefined reference to `gsPipe::Flush()'
obj/gs.o(.text+0xdc):src/gs.cpp: undefined reference to `gsDriver::DrawBufferCom
plete()'
obj/gs.o(.text+0x114):src/gs.cpp: undefined reference to `gsDriver::DisplayNextF
rame()'
obj/gs.o(.text+0x11c):src/gs.cpp: undefined reference to `gsDriver::setNextDrawB
uffer()'
obj/gs.o(.text+0x160): In function `cls(unsigned long)':
src/gs.cpp: undefined reference to `gsPipe::setZTestEnable(int)'
obj/gs.o(.text+0x188):src/gs.cpp: undefined reference to `gsPipe::RectFlat(int,
int, int, int, unsigned, unsigned)'
obj/gs.o(.text+0x194):src/gs.cpp: undefined reference to `gsPipe::setZTestEnable
(int)'
obj/gs.o(.text+0x2c4): In function `DrawRect(int, int, int, int, unsigned long)'
:
src/gs.cpp: undefined reference to `gsPipe::RectFlat(int, int, int, int, unsigne
d, unsigned)'
obj/gs.o(.text+0x3a4): In function `DrawRectGoraud(int, int, int, int, unsigned
long, unsigned long)':
src/gs.cpp: undefined reference to `gsPipe::RectGouraud(int, int, unsigned, int,
int, unsigned, unsigned)'
obj/gs.o(.text+0x4c4): In function `DrawTriangleGoraud(float, float, float, floa
t, float, float, unsigned long, unsigned long, unsigned long)':
src/gs.cpp: undefined reference to `gsPipe::TriangleGouraud(int, int, unsigned,
unsigned, int, int, unsigned, unsigned, int, int, unsigned, unsigned)'
obj/gs.o(.text+0x6ac): In function `DrawImageAlpha(IIF*, int, int, int, int, int
)':
src/gs.cpp: undefined reference to `gsDriver::getTextureBufferBase()'
obj/gs.o(.text+0x6d8):src/gs.cpp: undefined reference to `gsPipe::TextureUpload(
unsigned, int, int, int, int, unsigned char const*, int, int)'
obj/gs.o(.text+0x6e4):src/gs.cpp: undefined reference to `gsDriver::getTextureBu
fferBase()'
obj/gs.o(.text+0x710):src/gs.cpp: undefined reference to `gsPipe::TextureSet(uns
igned, int, gsTexSize, gsTexSize, unsigned, unsigned, unsigned, unsigned, unsign
ed)'
obj/gs.o(.text+0x790):src/gs.cpp: undefined reference to `gsPipe::RectTexture(in
t, int, unsigned, unsigned, int, int, unsigned, unsigned, unsigned, unsigned)'
obj/gs.o(.text+0x960): In function `DrawTextBox(char*, int, int, int, unsigned l
ong, int)':
src/gs.cpp: undefined reference to `gsDriver::getTextureBufferBase()'
obj/gs.o(.text+0x980):src/gs.cpp: undefined reference to `gsFont::uploadFont(gsF
ontTex*, unsigned, int, int, int)'
obj/gs.o(.text+0x9b8):src/gs.cpp: undefined reference to `gsFont::Print(int, int
, int, int, unsigned long, gsFontAlign, char const*)'
obj/gs.o(.text+0xa4c): In function `__static_initialization_and_destruction_0(in
t, int)':
src/gs.cpp: undefined reference to `gsDriver::~gsDriver [in-charge]()'
obj/gs.o(.text+0xa6c):src/gs.cpp: undefined reference to `gsDriver::gsDriver[in-
charge]()'
collect2: ld returned 1 exit status
make: *** [main.elf] Error 1
I'm not sure if this means that I have the wrong libgs revision (it has recently been updated), or if it is my main ps2sdk (of an older revision needed for uLE) which lacks something that libgs needs to compile properly.