[gcompris-devel] compile error

bruno bruno.coudoin at free.fr
Mon Jan 20 13:28:05 UTC 2003


Yes, its a bug in vorbis.m4 (/usr/share/aclocal/vorbis.m4)

You have to change the line
   vorbis_encode_init (&vi, 2, 44100, -1, 128, -1);
by
   vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);

The problem has been reported to debian and redhat. Mandrake 9 has not
this bug. 

Bruno.


Le lun 20/01/2003 à 21:33, Rob van Dam a écrit :
> Funny enough the package only wanted to build with the configure option
> --disable-vorbistest. Now the program works well (with sound!). Perhaps
> a little bug?
> 
> 
> On Sun, 2003-01-19 at 22:08, Rob van Dam wrote:
> > I tried to build gcompris-2.0.0 on a lfs-system. The configure script
> > finds no error. I included the error message below. It has something to
> > do (i think) with the vorbis libraries. 
> > 
> > I installed:
> > libogg-1.0
> > libao-0.8.3
> > libvorbis-1.0
> > vorbis-tools-1.0
> > 
> > /usr/lib/libao.so -lpthread -ldl -Wl,--rpath -Wl,/usr/gnome2/lib
> > -Wl,--rpath -Wl,/usr/gnome2/lib
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `_fetch_headers':
> > vorbisfile.o(.text+0x5a6): undefined reference to `vorbis_info_init'
> > vorbisfile.o(.text+0x5b2): undefined reference to `vorbis_comment_init'
> > vorbisfile.o(.text+0x5e4): undefined reference to
> > `vorbis_synthesis_headerin'
> > vorbisfile.o(.text+0x63d): undefined reference to `vorbis_info_clear'
> > vorbisfile.o(.text+0x649): undefined reference to `vorbis_comment_clear'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function
> > `_prefetch_all_headers':
> > vorbisfile.o(.text+0x7c3): undefined reference to `vorbis_info_clear'
> > vorbisfile.o(.text+0x7d5): undefined reference to `vorbis_comment_clear'
> > vorbisfile.o(.text+0x88b): undefined reference to
> > `vorbis_packet_blocksize'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function
> > `_fetch_and_process_packet':vorbisfile.o(.text+0xb74): undefined
> > reference to `vorbis_synthesis'
> > vorbisfile.o(.text+0xb8f): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0xba7): undefined reference to
> > `vorbis_synthesis_blockin'
> > vorbisfile.o(.text+0xbb2): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0xc39): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0xcf3): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0xd03): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0xd3b): undefined reference to `vorbis_info_clear'
> > vorbisfile.o(.text+0xd47): undefined reference to `vorbis_comment_clear'
> > vorbisfile.o(.text+0xe49): undefined reference to
> > `vorbis_synthesis_init'
> > vorbisfile.o(.text+0xe5e): undefined reference to `vorbis_block_init'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_clear':
> > vorbisfile.o(.text+0x1013): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x1022): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x105d): undefined reference to `vorbis_info_clear'
> > vorbisfile.o(.text+0x106e): undefined reference to
> > `vorbis_comment_clear'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_raw_seek':
> > vorbisfile.o(.text+0x131e): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x1330): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x140e): undefined reference to
> > `vorbis_packet_blocksize'
> > vorbisfile.o(.text+0x15de): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x15ed): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x1731): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x1740): undefined reference to `vorbis_block_clear'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek_page':
> > vorbisfile.o(.text+0x1c2d): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x1c3c): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x1d3e): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x1d4d): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x1f5a): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x1f69): undefined reference to `vorbis_block_clear'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_pcm_seek':
> > vorbisfile.o(.text+0x2002): undefined reference to
> > `vorbis_synthesis_init'
> > vorbisfile.o(.text+0x2019): undefined reference to `vorbis_block_init'
> > vorbisfile.o(.text+0x2080): undefined reference to
> > `vorbis_packet_blocksize'
> > vorbisfile.o(.text+0x20b7): undefined reference to
> > `vorbis_info_blocksize'
> > vorbisfile.o(.text+0x20fc): undefined reference to
> > `vorbis_synthesis_trackonly'
> > vorbisfile.o(.text+0x210c): undefined reference to
> > `vorbis_synthesis_blockin'
> > vorbisfile.o(.text+0x21d2): undefined reference to `vorbis_dsp_clear'
> > vorbisfile.o(.text+0x21de): undefined reference to `vorbis_block_clear'
> > vorbisfile.o(.text+0x2298): undefined reference to
> > `vorbis_synthesis_init'
> > vorbisfile.o(.text+0x22af): undefined reference to
> > `vorbis_synthesis_init'
> > vorbisfile.o(.text+0x22c8): undefined reference to `vorbis_block_init'
> > vorbisfile.o(.text+0x2341): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0x236e): undefined reference to
> > `vorbis_synthesis_read'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_read':
> > vorbisfile.o(.text+0x2a8e): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0x2ef2): undefined reference to
> > `vorbis_synthesis_read'
> > /usr/lib/libvorbisfile.a(vorbisfile.o): In function `ov_read_float':
> > vorbisfile.o(.text+0x34e5): undefined reference to
> > `vorbis_synthesis_pcmout'
> > vorbisfile.o(.text+0x350d): undefined reference to
> > `vorbis_synthesis_read'
> > collect2: ld returned 1 exit status
> > make[3]: *** [gcompris] Error 1
> > make[3]: Leaving directory `/usr/sr
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> > are you planning your Web Server Security? Click here to get a FREE
> > Thawte SSL guide and find the answers to all your  SSL security issues.
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> > _______________________________________________
> > gcompris-devel mailing list
> > gcompris-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gcompris-devel
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
> are you planning your Web Server Security? Click here to get a FREE
> Thawte SSL guide and find the answers to all your  SSL security issues.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel






More information about the Gcompris-devel mailing list