So I am getting all of the required libraries from SVN (in order)
zlib - maked & installed
bzip2 - maked & installed
freetype - maked & installed
jpeg - maked & installed
libbulletml - maked & installed
libmad - maked & installed
libmikmod - maked & installed
libogg - maked & installed
libpng - maked & installed
libpspvram - maked & installed
libTremor - maked & installed
libvorbis - maked & installed
pspgl - maked & installed
pspirkeyb - maked & installed
SDL - maked & installed
SDL_gfx - maked & installed
SDL_image - got errors, explained below
for SDL_image, I ran ./autogen.sh and then did:
Code: Select all
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) \
--prefix=$(psp-config --psp-prefix)
Code: Select all
make
it complained with:
Code: Select all
$ make
/bin/sh ./libtool --preserve-dup-deps --tag=CC --mode=link psp-gcc -g -O2 -G0
-I"/usr/local/pspdev/psp/sdk/include" -I/usr/local/pspdev/psp/include/SDL -Dmai
n=SDL_main -DLOAD_BMP -DLOAD_GIF -DLOAD_JPG -DLOAD_LBM -DLOAD_PCX -DLOAD_PNG -DL
OAD_PNM -DLOAD_TGA -DLOAD_XPM -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser -o
showimage showimage.o libSDL_image.la -L/usr/local/pspdev/psp/lib -lSDLmain -lSD
L -lm -lGL -lpspvfpu -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctr
l -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lps
putility -lpspkernel -lpspnet_inet -lpspirkeyb -lpsppower
psp-gcc -g -O2 -G0 -I/usr/local/pspdev/psp/sdk/include -I/usr/local/pspdev/psp/i
nclude/SDL -Dmain=SDL_main -DLOAD_BMP -DLOAD_GIF -DLOAD_JPG -DLOAD_LBM -DLOAD_PC
X -DLOAD_PNG -DLOAD_PNM -DLOAD_TGA -DLOAD_XPM -o showimage showimage.o -L/usr/l
ocal/pspdev/psp/sdk/lib -lc -lpspuser ./.libs/libSDL_image.a -lc -lpspuser -ljpe
g -lpng -lz -L/usr/local/pspdev/psp/lib -lc -lpspuser -lc -lpspuser -lSDLmain /u
sr/local/pspdev/psp/lib/libSDL.a /usr/local/pspdev//psp/lib/libstdc++.a -lc -lps
puser -lm -lGL -lpspvfpu -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsp
hprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel -lpspne
t_inet -lpspirkeyb -lpsppower
/usr/local/pspdev/psp/lib/libGL.a(eglCreateContext.o): In function `eglCreateCon
text':
/cygdrive/c/svn/pspgl/eglCreateContext.c:43: undefined reference to `pspvfpu_ini
tcontext'
/usr/local/pspdev/psp/lib/libGL.a(eglDestroyContext.o): In function `eglDestroyC
ontext':
$
letecontext'
/usr/local/pspdev/psp/lib/libGL.a(glLoadIdentity.o): In function `glLoadIdentity
':
/cygdrive/c/svn/pspgl/glLoadIdentity.c:23: undefined reference to `pspvfpu_use_m
atrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_context.o): In function `flush_matrix':
/cygdrive/c/svn/pspgl/pspgl_context.c:108: undefined reference to `pspvfpu_use_m
atrices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_l
oad':
/cygdrive/c/svn/pspgl/pspgl_matrix.c:33: undefined reference to `pspvfpu_use_mat
rices'
/usr/local/pspdev/psp/lib/libGL.a(pspgl_matrix.o): In function `__pspgl_matrix_s
ync':
/cygdrive/c/svn/pspgl/pspgl_matrix.c:19: undefined reference to `pspvfpu_use_mat
rices'
/usr/local/pspdev/psp/lib/libGL.a(glMultMatrixf.o): In function `glMultMatrixf':
/cygdrive/c/svn/pspgl/glMultMatrixf.c:17: undefined reference to `pspvfpu_use_ma
trices'
/usr/local/pspdev/psp/sdk/lib/libpspirkeyb.a(maptable.o): In function `maptable_
load_map_rec':
maptable.c:(.text+0x658): undefined reference to `strcat'
/usr/local/pspdev/psp/sdk/lib/libpspirkeyb.a(iniparser.o): In function `iniparse
r_new':
iniparser.c:(.text+0x9b8): undefined reference to `fgets'
/usr/local/pspdev/psp/sdk/lib/libpspirkeyb.a(iniparser.o): In function `iniparse
r_getint':
iniparser.c:(.text+0xcac): undefined reference to `atoi'
/usr/local/pspdev/psp/sdk/lib/libpspirkeyb.a(iniparser.o): In function `iniparse
r_dump_ini':
iniparser.c:(.text+0x1078): undefined reference to `fputc'
collect2: ld returned 1 exit status
make: *** [showimage] Error 1
If a man that is SDL_image under Cygwin (gcc-4.3.1) request to send email sleuthhound@gmail.com
Thanks people.