machtudong / asterisk-chan-dongle

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 0 forks source link

Impossible to compile #202

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I downloaded the source code from svn:
svn checkout http://asterisk-chan-dongle.googlecode.com/svn/trunk/ 
dongle-read-only

Then I tried to compile and got an error about the include of:
#include <asterisk/version.h>
wich I chamnged to:
#include <asterisk/ast_version.h>

Even with this, I get an error, while trying to compile:

at_response.c: In function ‘start_pbx’:
at_response.c:854:16: error: dereferencing pointer to incomplete type
  cpvt = channel->tech_pvt;
                ^
at_response.c:861:10: error: dereferencing pointer to incomplete type
   channel->tech_pvt = NULL;
          ^
at_response.c: In function ‘at_response_clcc’:
at_response.c:923:23: error: dereferencing pointer to incomplete type
          cpvt->channel->rings += pvt->rings;
                       ^
make: ** [at_response.o] Erro 1

Any clues?
Thanks

Original issue reported on code.google.com by ssagui...@gmail.com on 23 Jan 2015 at 6:45