machtudong / asterisk-chan-dongle

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

Cannot compile under Elastix #196

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm getting errors while compiling following the instructions of the wiki under 
latest elastix 64.
Please see below:

[root@pabx ~]# cat /etc/redhat-release CentOS release 5.11 (Final) [root@pabx ~]# yum install kernel-headers gcc g++ make libnewt-dev libncurses5-dev openssl libssl-dev zlib1g-dev Loaded plugins: fastestmirror, kmod Loading mirror speeds from cached hostfile

I'm stuck.

Original issue reported on code.google.com by junalmeida on 8 Jan 2015 at 8:01

GoogleCodeExporter commented 9 years ago
After getting config.sub and config.guess from latest r14 package, I was able 
to go a little further, but still getting errors:

[root@pabx dongle-read-only]# make
./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
gcc -g -O2 -O6 -I.  -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H 
 -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_reonse.o -MF 
.at_response.o.d -MP  -o at_response.o -c at_response.c
at_response.c: In function ‘start_pbx’:
at_response.c:854: error: dereferencing pointer to incomplete type
at_response.c:861: error: dereferencing pointer to incomplete type
at_response.c: In function ‘at_response_clcc’:
at_response.c:923: error: dereferencing pointer to incomplete type
make: ** [at_response.o] Erro 1

Original comment by junalmeida on 11 Jan 2015 at 7:33