forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem building app using SDL_mixer

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Nige



Joined: 29 Sep 2005
Posts: 10

PostPosted: Wed Jan 11, 2006 10:30 am    Post subject: Problem building app using SDL_mixer Reply with quote

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:
/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
Back to top
View user's profile Send private message Visit poster's website
Thanhda



Joined: 09 Apr 2005
Posts: 331
Location: Canada

PostPosted: Wed Jan 11, 2006 11:18 am    Post subject: Reply with quote

did you compile libogg and libvorbis?
_________________
There are 10 types of people in the world: Those who understand binary, and those who don't...
Back to top
View user's profile Send private message Visit poster's website
Nige



Joined: 29 Sep 2005
Posts: 10

PostPosted: Wed Jan 11, 2006 8:02 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group