Upcoming KOS release - Testing needed

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
patbier
DC Developer
DC Developer
Posts: 152
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Aug 29, 2003 1:25 am
Has thanked: 0
Been thanked: 0

Re: Upcoming KOS release - Testing needed

Post by patbier »

Hello, I've just tested the last KOS, but I have this problem when compiling my game :

Code: Select all

/home/Julien/cacdev2015/kos//../kos-ports/lib/liboggvorbisplay.a(sndoggvorbis.o): In function `callback':
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:223: undefined reference to `_ov_read'
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:223: undefined reference to `_ov_raw_seek'
/home/Julien/cacdev2015/kos//../kos-ports/lib/liboggvorbisplay.a(sndoggvorbis.o): In function `sndoggvorbis_thread':
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:303: undefined reference to `_ov_clear'
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:299: undefined reference to `_ov_info'
/home/Julien/cacdev2015/kos//../kos-ports/lib/liboggvorbisplay.a(sndoggvorbis.o): In function `sndoggvorbis_start_fd':
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:516: undefined reference to `_ov_open'
/home/Julien/cacdev2015/kos-ports/liboggvorbisplay/build/liboggvorbisplay-2.0.0/liboggvorbisplay/sndoggvorbis.c:516: undefined reference to `_ov_comment'
collect2: error: ld returned 1 exit status
Makefile.dc:28: recipe for target 'dc.elf' failed
make: *** [dc.elf] Error 1
Did you change something about ogg reading ?

EDIT : sorry, I found it. In the Makefile, I now have to add

Code: Select all

 -lvorbis -logg 
It wasn't in my Makefile for years though.
ImageAlice Dreams Tournament Dreamcast fans : http://www.facebook.com/alicedreamst
In August 2015, we had to change "Dynamite Dreams" name to "Alice Dreams Tournament"
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5659
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Re: Upcoming KOS release - Testing needed

Post by BlueCrab »

patbier wrote:EDIT : sorry, I found it. In the Makefile, I now have to add

Code: Select all

 -lvorbis -logg 
It wasn't in my Makefile for years though.
KOS used to combine liboggvorbisplay, libvorbis, and libogg into one library. I split it out for various reasons, including ease of maintenance and ease of portability of code that expects them to all be split out as they should be.
Post Reply