I can't get past this error however, while compiling SDL_image :( using OS X 10.4.2
Code: Select all
MiniMac:/tmp/pspsdl/SDL_image username$ sudo make
/bin/sh ./libtool --preserve-dup-deps --mode=link psp-gcc -g -O2 -G0 -I"/usr/local/pspdev/psp/sdk/include" -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_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 -lSDL -lm -L/usr/local/pspdev/psp/sdk/lib -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
psp-gcc -g -O2 -G0 -I/usr/local/pspdev/psp/sdk/include -I/usr/local/pspdev/psp/include/SDL -Dmain=SDL_main -DLOAD_BMP -DLOAD_GIF -DLOAD_LBM -DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XPM -o showimage showimage.o -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser ./.libs/libSDL_image.a -lc -lpspuser -L/usr/local/pspdev/psp/lib -L/tmp/pspdev/gcc-4.0.1/build-psp-c++/psp/libstdc++-v3/src -L/tmp/pspdev/gcc-4.0.1/build-psp-c++/psp/libstdc++-v3/src/.libs -L/tmp/pspdev/gcc-4.0.1/build-psp-c++/gcc -L/usr/local/pspdev/psp/bin -L/usr/local/pspdev/lib/gcc/psp/4.0.1 -L/usr/local/pspdev/lib/gcc/psp/4.0.1/../../../../psp/lib -lc -lpspuser -lc -lpspuser -lSDLmain /usr/local/pspdev/psp/lib/libSDL.a /usr/local/pspdev/psp/lib/libstdc++.a -lgcc -lc -lpspuser -lm -lpspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpspaudio -lc -lpspuser -lpsputility -lpspkernel
/usr/local/pspdev/psp/lib/libc.a(pspcwd.o): In function `__psp_init_cwd':
../../../../../../newlib/libc/sys/psp/pspcwd.c:28: undefined reference to `__psp_argv_0'
../../../../../../newlib/libc/sys/psp/pspcwd.c:28: undefined reference to `__psp_argv_0'
collect2: ld returned 1 exit status
make: *** [showimage] Error 1