[Voiceglue] Compilation errors, etc. upgrading to VoiceGlue 0.11

Andrew Zitnay drew at lastpass.com
Wed Nov 11 15:23:42 UTC 2009


Today, I upgraded an Ubuntu 9.10 machine (that had recently been 
upgraded from Asterisk 1.4 to Asterisk 1.6) from VoiceGlue 0.10 to 
VoiceGlue 0.11.  I ended up having to fix several compilation errors, 
etc.  Not sure if it's something related to my configuration, but I 
figured someone might want to know:

1) On line 685 of SWIprintf.cpp, had to change the #elif to #else.

2) In ValidateDoc.cpp, had to include stdio.h.

3) In ConfigFile.cpp, had to include stdio.h.

4) On lines 81, 93, and 105 of ConfigFile.cpp, had to cast the return 
values of strpbrk() and strchr() from const char * to char *.

5) When I first tried running phoneglue, I found that the phoneglue user 
didn't exist (although the phoneglue grop still existed).  Manually 
creating the phoneglue user fixed things.

Drew


More information about the Voiceglue mailing list