[Home]

Summary:ASTERISK-19370: format_ogg_vorbis fail to compile
Reporter:Jonn Taylor (jonnt)Labels:
Date Opened:2012-02-15 11:20:50.000-0600Date Closed:2012-02-16 13:34:19.000-0600
Priority:CriticalRegression?Yes
Status:Closed/CompleteComponents:Formats/format_ogg_vorbis
Versions:SVN Frequency of
Occurrence
Constant
Related
Issues:
is caused byASTERISK-16926 [patch] Voicemail problems when using only ogg.
Environment:CentOS 5.4 x86Attachments:( 0) jira_asterisk_19370_v1.8.patch
Description:   [CC] format_ogg_vorbis.c -> format_ogg_vorbis.o
format_ogg_vorbis.c: In function 'ogg_vorbis_open':
format_ogg_vorbis.c:98: error: 'OV_CALLBACKS_NOCLOSE' undeclared (first use in this function)
format_ogg_vorbis.c:98: error: (Each undeclared identifier is reported only once
format_ogg_vorbis.c:98: error: for each function it appears in.)
make[2]: *** [format_ogg_vorbis.o] Error 1
make[1]: *** [formats] Error 2
make[1]: Leaving directory `/usr/src/asterisk-trunk'
make: *** [_cleantest_all] Error 2
Comments:By: Richard Mudgett (rmudgett) 2012-02-15 13:19:35.524-0600

You probably need to rerun the ./configure script.  That format now also uses libvorbisfile.

By: Jonn Taylor (jonnt) 2012-02-15 13:29:56.840-0600

All ready did that.

By: Jonn Taylor (jonnt) 2012-02-15 13:32:14.842-0600

libvorbis-devel-1.1.2

By: Richard Mudgett (rmudgett) 2012-02-15 13:57:34.820-0600

Well what do you know, the principle difference between the version I have 1.2.0 and your 1.1.2 is the addition of the predefined callbacks OV_CALLBACKS_xxx in vorbis/vorbisfile.h.

By: Richard Mudgett (rmudgett) 2012-02-15 15:03:02.228-0600

[^jira_asterisk_19370_v1.8.patch]  Should take care of the compile problem.

By: Jonn Taylor (jonnt) 2012-02-15 15:27:55.334-0600

That fixed it.

By: Jonn Taylor (jonnt) 2012-02-16 14:06:48.244-0600

I am running asterisk trunk not 1.8.