Code: Select all
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
150 -c -o mp3playerME.o mp3playerME.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
150 -c -o clock.o clock.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
150 -c -o id3.o id3.c
psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=
150 -c -o player.o player.c
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 mp3playerME.o clock.o id3.o player.o
main.o -lpspaudiolib -lpsppower -lpspmpeg -lpspaudiocodec -lpspaudio -lm -lstdc+
+ -lmad -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet
_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o als
ample.elf
player.o: In function `audioOutput':
player.c:(.text+0x200): undefined reference to `sceAudio_E0727056'
player.o: In function `releaseAudio':
player.c:(.text+0x220): undefined reference to `sceAudio_5C37C0AE'
player.o: In function `setAudioFrequency':
player.c:(.text+0x230): undefined reference to `sceAudio_38553111'
collect2: ld returned 1 exit status
make: *** [alsample.elf] Error 1
Code: Select all
TARGET = alsample
OBJS = mp3playerME.o clock.o id3.o player.o main.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LDFLAGS =
LIBS = -lpspaudiolib -lpsppower -lpspmpeg -lpspaudiocodec -lpspaudio -lm -lstdc++ -lmad
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Audiolib Wave Generator
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak