libmad and other library issues

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Xephonic
Posts: 6
Joined: Wed Aug 03, 2005 8:18 am

libmad and other library issues

Post by Xephonic »

OK, i recently installed libmad and i can compile the library just fine by doing -lmad in my makefile

The issue is though when i try to add in mp3player.h and .c to play back mp3s in my program. For some reason i get undefined references to:
mad_frame_init
mad_synth_init
mad_stream_init
and mad_timer_zero

any ideas as to why?
Last edited by Xephonic on Mon Nov 14, 2005 2:22 pm, edited 1 time in total.
Xephonic
Posts: 6
Joined: Wed Aug 03, 2005 8:18 am

Post by Xephonic »

Such things happen with other libraries ive installed as well. It reads them fine in the make file when i put them in library tags, but i keep getting all these undefined references. Am i installing the libs wrong?

i do a ./configure -prefix=/usr/local/pspdev/psp

then make
then make install

i dont get it :(

I also re-dled and ran toolchain.sh

http://geekspot.org/Vash/img.jpg

is an example of my libpng issues
Post Reply