Summary: | ASTERISK-09280: Does not compile chan_vpb.cc | ||
Reporter: | Gleidson Henriques (bobin) | Labels: | |
Date Opened: | 2007-04-18 15:05:37 | Date Closed: | 2007-06-27 18:51:45 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Channels/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_vpb-1.4.2+vpb-driver-4.1.17.patch ( 1) chan_vpb-r61688+vpb-driver-4.1.17.patch | |
Description: | If i try to add --with-vpb in the configure line. When i run make the asterisk stops with: chan_vpb.cc:379: error: invalid conversion from ?int (*)(ast_channel*, char)? to ?int (*)(ast_channel*, char, unsigned int)? chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:379: error: uninitialized const member ?ast_channel_tech::write_text? chan_vpb.cc:379: error: uninitialized const member ?ast_channel_tech::bridged_channel? chan_vpb.cc:407: error: invalid conversion from ?int (*)(ast_channel*, char)? to ?int (*)(ast_channel*, char, unsigned int)? chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: sorry, unimplemented: non-trivial designated initializers not supported chan_vpb.cc:407: error: uninitialized const member ?ast_channel_tech::write_text? chan_vpb.cc:407: error: uninitialized const member ?ast_channel_tech::bridged_channel? chan_vpb.cc: In function ?void mkbrd(vpb_model_t, int)?: chan_vpb.cc:1527: warning: dereferencing type-punned pointer will break strict-aliasing rules chan_vpb.cc: In function ?ast_channel* vpb_new(vpb_pvt*, ast_channel_state, char*)?: chan_vpb.cc:2629: error: ?struct vpb_pvt? has no member named ?exten? chan_vpb.cc:2663: warning: comparison between signed and unsigned integer expressions chan_vpb.cc: In function ?int usecount()?: chan_vpb.cc:3033: error: ?usecnt? was not declared in this scope make[1]: *** [chan_vpb.oo] Error 1 make: *** [channels] Error 2 ****** ADDITIONAL INFORMATION ****** I?m running FC-6 x86 with vpb-driver-4.0. | ||
Comments: | By: Clod Patry (junky) 2007-04-18 16:17:05 What did you use for the WHOLE ./configure line ? make with any option? By: Gleidson Henriques (bobin) 2007-04-18 16:20:19 CONFIGURE LINE ---- ./configure --prefix=/usr --with-vpb GCC VERSION ---- Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.1 20061011 (Red Hat 4.1.1-30) By: Gleidson Henriques (bobin) 2007-04-19 09:25:51 Let me apologize, I have made some mistakes in Asterisk Version, SVN Branch and SVN Revision ... The correct values are: Asterisk Version = SVN SVN Branch = 1.4 SVN Revision = 61687 Thanks By: VoiceTronix (benkramer) 2007-04-23 00:26:43 There have been many changes in recent vpb-driver releases. Please try the attached patch chan_vpb-r61688+vpb-driver-4.1.17.patch. Note that this requires vpb-driver-4.1.17 (should work with later 4.1.x drivers too though), currently available from http://www.voicetronix.com/preview/vpb-driver-4.1.17.tar.gz. By: VoiceTronix (benkramer) 2007-04-23 01:08:40 chan_vpb-1.4.2+vpb-driver-4.1.17.patch is the same patch, but for 1.4.2 instead of svn trunk. By: Gleidson Henriques (bobin) 2007-04-23 10:23:35 Thank guys, My problem has been solved. I?ve installed asterisk-1.4.2 with vpb-driver-4.1.18 Applied the chan_vpb-1.4.2+vpb-driver-4.1.17.patch and has successfully compiled asterisk. Thanks again friends, By: Jason Parker (jparker) 2007-05-17 13:16:52 The r61688 patch didn't apply for me. Also, I see that the patch contains changes to 2 files in include/asterisk/ - why? By: Russell Bryant (russell) 2007-06-27 18:51:44 I just checked and it is building fine for me now, so I guess it has been fixed at some point ... |