Post by beeblebrox on May 18, 2007 9:19:56 GMT 1
Zaphod Beeb@zbeeble /home/psp/psp
$ make me
make -f makefile_me
make[1]: Entering directory `/home/psp/psp'
makefile_me:75: warning: overriding commands for target `PARAM.SFO'
/usr/local/pspdev/psp/sdk/lib/build.mak:174: warning: ignoring old commands for
target `PARAM.SFO'
psp-gcc -I. -Ipsp -Ipsp/me -Ipsp/openspc++ -Ipsp/adhoc -Izlib -Idanzeff -Ipsp/li
bpng12 -I. -I/usr/local/pspdev/psp/sdk/include -O3 -g -G0 -w -DPSP -D__PSP__ -D
ME_SOUND -D_PSP_FW_VERSION=150 -Lpsp -L. -L/usr/local/pspdev/psp/sdk/lib psp/
me/mestub.o psp/me/me.o psp/me/mem64.o psp/psp.o psp/psp_ui.o psp/config.o psp/p
splib.o psp/pg.o psp/psp_msg.o psp/filer.o psp/menu.o psp/imageio.o psp/blitter.
o psp/decrypt.o psp/img_jpeg.o psp/ram.o psp/psp_net.o psp/menu_fx.o psp/openspc
++/dsp.o psp/openspc++/spc.o psp/openspc++/ospcmain.o psp/openspc++/os9xZ_opensp
c.o psp/adhoc/stubs.o psp/adhoc/loadutil.o psp/adhoc/pspadhoc.o psp/adhoc/select
orMenu.o danzeff/danzeff.o c4.o c4emu.o cheats.o cheats2.o clip.o cpu.o cpuexec_
opti.o cpuops.o data.o dma.o dsp1.o fxdbg.o fxemu.o fxinst.o gfx_mode7.o gfx.o g
fx_org.o gfx_psp.o globals.o loadzip.o memmap.o ppu.o sa1.o sa1cpu.o sdd1.o sdd1
emu.o snapshot.o snes9x.o srtc.o tile.o tile_org.o tile_sw.o tile_psp.o unzip.o
apu.o spc700.o soundux.o zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/gzio.o
zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o zlib/inflate.o zlib/inf
block.o zlib/inftrees.o zlib/infcodes.o zlib/infutil.o zlib/inffast.o -Lpsp -lpn
g -lm -lpspaudio -lpspgu -lpsppower -ljpeg -lpsputility -lstdc++ -lpspwlan -lpsp
gum_vfpu -lpspvfpu -lpspgu -lpspusb -lpspusbstor -lpspdebug -lpspdisplay -lpspg
e -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver
-lpsputility -lpspuser -lpspkernel -o snes9xTYL.elf
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/bin/ld: cannot find -lpng
collect2: ld returned 1 exit status
make[1]: *** [snes9xTYL.elf] Error 1
make[1]: Leaving directory `/home/psp/psp'
make: *** [me] Error 2
For some reason, the linker's not able to link to any of the libraries. I tried including the direct location for png.h in the include directories, that didn't work. I tried specifying -Lpsp/libpng12 along with the -l in the makefile.
None of this works, and I am unable to build the binary. I also had to copy over jpeglib.h into the psp directory in order for it to build correctly.
Any ideas? Thanks a ton.
-Beeblebrox