[AD] FLAC support missing ogg libs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Compiling SVN on Windows I get a bunch of undefined references to things in libogg when compiling
the flac addon:

Creating library file: ..\..\lib\liba5_flac-4.9.13.dll.a
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function
`FLAC__ogg_decoder_aspect_read_callback_wrapper':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:198: undefined reference to
`ogg_sync_pageout'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:214: undefined reference to
`ogg_sync_buffer'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:234: undefined reference to
`ogg_sync_wrote'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:160: undefined reference to
`ogg_stream_packetout'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:205: undefined reference to
`ogg_stream_pagein'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:202: undefined reference to
`ogg_page_serialno'
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_flush':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:91: undefined reference to
`ogg_stream_reset'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:92: undefined reference to
`ogg_sync_reset'
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_finish':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:74: undefined reference to
`ogg_sync_clear'
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_init':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:55: undefined reference to
`ogg_stream_init'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:58: undefined reference to `ogg_sync_init'
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_flush':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:91: undefined reference to
`ogg_stream_reset'
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:92: undefined reference to
`ogg_sync_reset'
C:\mingw\lib\libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_finish':
c:\Users\trent\flac-1.1.3\src\libFLAC/ogg_decoder_aspect.c:75: undefined reference to
`ogg_stream_clear'
collect2: ld returned 1 exit status
mingw32-make[2]: *** [lib/liba5_flac-4.9.13.dll] Error 1
mingw32-make[1]: *** [addons/acodec/CMakeFiles/a5_flac.dir/all] Error 2
mingw32-make: *** [all] Error 2


This never happened before. It works fine if I compile libFLAC without ogg support. I'm not sure
why you'd want ogg support anyway but just wanted to point this out before 4.9.13 is released.

Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/