Problem building app using SDL_mixer

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

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Nige
Posts: 10
Joined: Thu Sep 29, 2005 10:30 am
Contact:

Problem building app using SDL_mixer

Post by Nige »

Hi,

I'm just trying to add SDL_mixer support to my application but I'm having a bit of a problem. I've compiled the SDL_mixer sources from svn with no problems, however when I try to compile my app I get:

Code: Select all

/usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG_new':
/home/Nig/psp/SDL_mixer/music_ogg.c:74: undefined reference to `ov_open'
/usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG_new_RW':
/home/Nig/psp/SDL_mixer/music_ogg.c:126: undefined reference to `ov_open_callbacks'
/usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG_getsome':
/home/Nig/psp/SDL_mixer/music_ogg.c:159: undefined reference to `ov_read'
/home/Nig/psp/SDL_mixer/music_ogg.c:173: undefined reference to `ov_info'
/usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG_delete':
/home/Nig/psp/SDL_mixer/music_ogg.c:237: undefined reference to `ov_clear'
/usr/local/pspdev/psp/lib/libSDL_mixer.a(music_ogg.o): In function `OGG_jump_to_time':
/home/Nig/psp/SDL_mixer/music_ogg.c:245: undefined reference to `ov_time_seek'
/usr/local/pspdev/psp/lib/libSDL_mixer.a(load_ogg.o): In function `Mix_LoadOGG_RW':
/home/Nig/psp/SDL_mixer/load_ogg.c:93: undefined reference to `ov_open_callbacks'
/home/Nig/psp/SDL_mixer/load_ogg.c:93: undefined reference to `ov_open_callbacks'
/home/Nig/psp/SDL_mixer/load_ogg.c:101: undefined reference to `ov_info'
/home/Nig/psp/SDL_mixer/load_ogg.c:112: undefined reference to `ov_pcm_total'
/home/Nig/psp/SDL_mixer/load_ogg.c:122: undefined reference to `ov_read'
/home/Nig/psp/SDL_mixer/load_ogg.c:128: undefined reference to `ov_read'
/home/Nig/psp/SDL_mixer/load_ogg.c:140: undefined reference to `ov_clear'
collect2: ld returned 1 exit status
Can anyone help?
CPCPSP [http://nige.the-pub.org/cpcpsp/] an Amstrad CPC emulator for the PSP
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

did you compile libogg and libvorbis?
There are 10 types of people in the world: Those who understand binary, and those who don't...
User avatar
Nige
Posts: 10
Joined: Thu Sep 29, 2005 10:30 am
Contact:

Post by Nige »

I did.

However I'm not linking to either of those libraries as I don't need OGG support. I tried to disable it when compiling SDL_mixer but it always seems to be included.
CPCPSP [http://nige.the-pub.org/cpcpsp/] an Amstrad CPC emulator for the PSP
Post Reply