I'm trying to add audio to my PSP game. I grabbed the MP3 codec header & source files from the PSP Media Center project (suggested by the FileAssistant++ crew) and molded it to fit my sources. Since the MP3 codec files make use of the MAD (mpeg audio decoder) libraries, I grabbed and installed those to my PSPSDK directories, too. I also added the library to my makefile. Everything compiles fine, but when it tries to link mp3player.o with the MAD libraries, I get the following error:
Code: Select all
undefined reference to '<function>'
Because the linker doesn't give any "file not found" errors, I'm pretty sure MADlib is installed correctly. It seems like it just skips the -lmad line. I've tried a lot of things, including recompiling MAD with a few different ./configure options, but nothing seems to work.
Any suggestions or ideas are welcome!
Thanks.