Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error building on debian jessie asterisk 11.13.1 #3

Closed
ftoledo opened this issue Oct 17, 2015 · 2 comments
Closed

error building on debian jessie asterisk 11.13.1 #3

ftoledo opened this issue Oct 17, 2015 · 2 comments

Comments

@ftoledo
Copy link

ftoledo commented Oct 17, 2015

root@scarlet:~/src/wdoekes/asterisk-chan-dongle# aclocal
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'

root@scarlet:~/src/wdoekes/asterisk-chan-dongle# autoconf

root@scarlet:~/src/wdoekes/asterisk-chan-dongle# automake -a
automake: warning: autoconf input should be named 'configure.ac', not 'configure.in'
automake: error: no 'Makefile.am' found for any configure output

root@scarlet:~/src/wdoekes/asterisk-chan-dongle# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: error: Please set --with-astversion=MMmmuu (major.minor.micro)

root@scarlet:/src/wdoekes/asterisk-chan-dongle# ./configure --with-astversion=11131
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating stamp-h
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
root@scarlet:
/src/wdoekes/asterisk-chan-dongle#

root@scarlet:/src/wdoekes/asterisk-chan-dongle# make
gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c
In file included from app.c:22:0:
ast_compat.h:16:27: error: static declaration of ‘ast_channel_name’ follows non-static declaration
static inline const char _ast_channel_name(const struct ast_channel *chan) { return chan->name; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3749:13: note: previous declaration of ‘ast_channel_name’ was here
const char *ast_channel_name(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_name’:
ast_compat.h:16:89: error: dereferencing pointer to incomplete type
static inline const char *ast_channel_name(const struct ast_channel *chan) { return chan->name; }
^
ast_compat.h: At top level:
ast_compat.h:19:38: error: static declaration of ‘ast_channel_state’ follows non-static declaration
static inline enum ast_channel_state ast_channel_state(const struct ast_channel *chan) { return chan->_state; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3864:24: note: previous declaration of ‘ast_channel_state’ was here
enum ast_channel_state ast_channel_state(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_state’:
ast_compat.h:19:101: error: dereferencing pointer to incomplete type
static inline enum ast_channel_state ast_channel_state(const struct ast_channel *chan) { return chan->state; }
^
ast_compat.h: At top level:
ast_compat.h:22:19: error: static declaration of ‘ast_channel_fdno’ follows non-static declaration
static inline int ast_channel_fdno(const struct ast_channel *chan) { return chan->fdno; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3788:5: note: previous declaration of ‘ast_channel_fdno’ was here
int ast_channel_fdno(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_fdno’:
ast_compat.h:22:81: error: dereferencing pointer to incomplete type
static inline int ast_channel_fdno(const struct ast_channel *chan) { return chan->fdno; }
^
ast_compat.h: At top level:
ast_compat.h:25:46: error: static declaration of ‘ast_channel_tech’ follows non-static declaration
static inline const struct ast_channel_tech *ast_channel_tech(const struct ast_channel *chan) { return chan->tech; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3860:32: note: previous declaration of ‘ast_channel_tech’ was here
const struct ast_channel_tech *ast_channel_tech(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_tech’:
ast_compat.h:25:108: error: dereferencing pointer to incomplete type
static inline const struct ast_channel_tech *ast_channel_tech(const struct ast_channel *chan) { return chan->tech; }
^
ast_compat.h: At top level:
ast_compat.h:26:20: error: static declaration of ‘ast_channel_tech_set’ follows non-static declaration
static inline void ast_channel_tech_set(struct ast_channel *chan, const struct ast_channel_tech *value) { chan->tech = value; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3861:6: note: previous declaration of ‘ast_channel_tech_set’ was here
void ast_channel_tech_set(struct ast_channel *chan, const struct ast_channel_tech *value);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_tech_set’:
ast_compat.h:26:111: error: dereferencing pointer to incomplete type
static inline void ast_channel_tech_set(struct ast_channel *chan, const struct ast_channel_tech *value) { chan->tech = value; }
^
In file included from app.c:22:0:
ast_compat.h: At top level:
ast_compat.h:28:21: error: static declaration of ‘ast_channel_tech_pvt’ follows non-static declaration
static inline void *ast_channel_tech_pvt(const struct ast_channel *chan) { return chan->tech_pvt; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3822:7: note: previous declaration of ‘ast_channel_tech_pvt’ was here
void *ast_channel_tech_pvt(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_tech_pvt’:
ast_compat.h:28:87: error: dereferencing pointer to incomplete type
static inline void *ast_channel_tech_pvt(const struct ast_channel *chan) { return chan->tech_pvt; }
^
ast_compat.h: At top level:
ast_compat.h:29:20: error: static declaration of ‘ast_channel_tech_pvt_set’ follows non-static declaration
static inline void ast_channel_tech_pvt_set(struct ast_channel *chan, void *value) { chan->tech_pvt = value; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3823:6: note: previous declaration of ‘ast_channel_tech_pvt_set’ was here
void ast_channel_tech_pvt_set(struct ast_channel *chan, void *value);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_tech_pvt_set’:
ast_compat.h:29:90: error: dereferencing pointer to incomplete type
static inline void ast_channel_tech_pvt_set(struct ast_channel *chan, void *value) { chan->tech_pvt = value; }
^
ast_compat.h: At top level:
ast_compat.h:32:19: error: static declaration of ‘ast_channel_rings’ follows non-static declaration
static inline int ast_channel_rings(const struct ast_channel *chan) { return chan->rings; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3796:5: note: previous declaration of ‘ast_channel_rings’ was here
int ast_channel_rings(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_rings’:
ast_compat.h:32:82: error: dereferencing pointer to incomplete type
static inline int ast_channel_rings(const struct ast_channel *chan) { return chan->rings; }
^
ast_compat.h: At top level:
ast_compat.h:33:20: error: static declaration of ‘ast_channel_rings_set’ follows non-static declaration
static inline void ast_channel_rings_set(struct ast_channel *chan, int value) { chan->rings = value; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3797:6: note: previous declaration of ‘ast_channel_rings_set’ was here
void ast_channel_rings_set(struct ast_channel *chan, int value);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_rings_set’:
ast_compat.h:33:85: error: dereferencing pointer to incomplete type
static inline void ast_channel_rings_set(struct ast_channel *chan, int value) { chan->rings = value; }
^
ast_compat.h: At top level:
ast_compat.h:36:20: error: static declaration of ‘ast_channel_language_set’ follows non-static declaration
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3737:1: note: previous declaration of ‘ast_channel_language_set’ was here
DECLARE_STRINGFIELD_SETTERS_FOR(language);
^
In file included from /usr/include/asterisk/app.h:26:0,
from app.c:18:
ast_compat.h: In function ‘ast_channel_language_set’:
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
ast_compat.h:36:92: error: dereferencing pointer to incomplete type
static inline void ast_channel_language_set(struct ast_channel *chan, const char *value) { ast_string_field_set(chan, language, value); }
^
In file included from app.c:22:0:
ast_compat.h: At top level:
ast_compat.h:39:48: error: static declaration of ‘ast_channel_connected’ follows non-static declaration
static inline struct ast_party_connected_line *ast_channel_connected(struct ast_channel *chan) { return &chan->connected; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3887:34: note: previous declaration of ‘ast_channel_connected’ was here
struct ast_party_connected_line *ast_channel_connected(struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_connected’:
ast_compat.h:39:110: error: dereferencing pointer to incomplete type
static inline struct ast_party_connected_line *ast_channel_connected(struct ast_channel *chan) { return &chan->connected; }
^
ast_compat.h: At top level:
ast_compat.h:42:27: error: static declaration of ‘ast_channel_linkedid’ follows non-static declaration
static inline const char *ast_channel_linkedid(const struct ast_channel *chan) { return chan->linkedid; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3757:13: note: previous declaration of ‘ast_channel_linkedid’ was here
const char *ast_channel_linkedid(const struct ast_channel *chan);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_linkedid’:
ast_compat.h:42:93: error: dereferencing pointer to incomplete type
static inline const char *ast_channel_linkedid(const struct ast_channel *chan) { return chan->linkedid; }
^
ast_compat.h: At top level:
ast_compat.h:45:20: error: static declaration of ‘ast_channel_hangupcause_set’ follows non-static declaration
static inline void ast_channel_hangupcause_set(struct ast_channel *chan, int value) { chan->hangupcause = value; }
^
In file included from /usr/include/asterisk/pbx.h:26:0,
from app.c:19:
/usr/include/asterisk/channel.h:3791:6: note: previous declaration of ‘ast_channel_hangupcause_set’ was here
void ast_channel_hangupcause_set(struct ast_channel *chan, int value);
^
In file included from app.c:22:0:
ast_compat.h: In function ‘ast_channel_hangupcause_set’:
ast_compat.h:45:91: error: dereferencing pointer to incomplete type
static inline void ast_channel_hangupcause_set(struct ast_channel *chan, int value) { chan->hangupcause = value; }
^
Makefile:65: recipe for target 'app.o' failed
make: *
* [app.o] Error 1
root@scarlet:
/src/wdoekes/asterisk-chan-dongle#

@wdoekes
Copy link
Owner

wdoekes commented Oct 17, 2015

MMmmuu = 111301

@wdoekes
Copy link
Owner

wdoekes commented Oct 19, 2015

From your silence, I conclude that my hint was sufficient. (Sorry for the brevity, it was typed on a smartphone.)

You're welcome. Closing out.

@wdoekes wdoekes closed this as completed Oct 19, 2015
shalzz pushed a commit to shalzz/asterisk-chan-dongle that referenced this issue Apr 23, 2022
# This is the 1st commit message:

Create DONATIONS.txt
# This is the commit message wdoekes#2:

Update README.md
# This is the commit message wdoekes#3:

Update DONATIONS.txt
# This is the commit message wdoekes#4:

Update DONATIONS.txt
# This is the commit message wdoekes#5:

Update DONATIONS.txt
# This is the commit message wdoekes#6:

Update chan_quectel.h
# This is the commit message wdoekes#7:

Update README.md
# This is the commit message wdoekes#8:

Update cpvt.h
# This is the commit message wdoekes#9:

Add files via upload
# This is the commit message wdoekes#10:

Delete DONATIONS.txt
# This is the commit message wdoekes#11:

Update README.md
# This is the commit message wdoekes#12:

Update README.md
# This is the commit message wdoekes#13:

Update README.md
# This is the commit message wdoekes#14:

Add files via upload
# This is the commit message wdoekes#15:

Update README.md
# This is the commit message wdoekes#16:

Update README.md
# This is the commit message wdoekes#17:

Update README.md
# This is the commit message wdoekes#18:

Update README.md
# This is the commit message wdoekes#19:

Update README.md
# This is the commit message wdoekes#20:

Update README.md
# This is the commit message wdoekes#21:

Update README.md
# This is the commit message wdoekes#22:

Update README.md
# This is the commit message wdoekes#23:

Add files via upload

Added Simcom support
# This is the commit message wdoekes#24:

Update README.md
# This is the commit message wdoekes#25:

Update README.md
# This is the commit message wdoekes#26:

Added support for Quectel UAC configuration
# This is the commit message wdoekes#27:

Conf file when using UAC
# This is the commit message wdoekes#28:

Update README.md
# This is the commit message wdoekes#29:

Update README.md
# This is the commit message wdoekes#30:

Quectel CREG correction

chan_dongle code assumes 4 parameters in response to command and 3 for URC. However quectel provides 5 and 4 respectively. This fix helps pass on correct status of registration.
# This is the commit message wdoekes#31:

No force registration status

Due to CREG parse issues, earlier registration status was always kept on, now will show unregistered if not connected to network
# This is the commit message wdoekes#32:

Create readme.md
# This is the commit message wdoekes#33:

For compilation with openwrt sdk
# This is the commit message wdoekes#34:

Support for openwrt sdk compilation
# This is the commit message wdoekes#35:

Fix for lac and cell id

Ref IchthysMaranatha#6
Post fix values may have a trailing double quote for quectel devices
# This is the commit message wdoekes#36:

Updated call ids for simcom

Add call termination for call ids 1 and 2
# This is the commit message wdoekes#37:

comment for simcom audio

Added default audio port for simcom in comment
# This is the commit message wdoekes#38:

Integrated ALSA support for UAC

Integrated driver for ALSA added, no need for bridging additional Asterisk ALSA channel when using UAC mode. Please use non-ALSA integrated branch if there is no need for UAC and you wish to avoid alsa dependency when compiling and running
# This is the commit message wdoekes#39:

Update COPYRIGHT.txt

Attribute copyright for alsa code copied from chan_alsa.c https://github.com/asterisk/asterisk/blob/master/channels/chan_alsa.c
# This is the commit message wdoekes#40:

Update README.md
# This is the commit message wdoekes#41:

Conf file with UAC device support
# This is the commit message wdoekes#42:

UAC mode conf file
# This is the commit message wdoekes#43:

Added alsa-lib for compilation
# This is the commit message wdoekes#44:

Delete Makefile.in
# This is the commit message wdoekes#45:

alsa-lib dependency addition
# This is the commit message wdoekes#46:

Fix for simcom audio issues with immediate answer in dialplan
# This is the commit message wdoekes#47:

Note for Quectel serial audio

Added remark to disable gps messages
# This is the commit message wdoekes#48:

Added note for Pi users
# This is the commit message wdoekes#49:

Quectel creg formatting fix

Removed trailing double quotes in reporting lac/cid
# This is the commit message wdoekes#50:

add gitattributes
# This is the commit message wdoekes#51:

Send DTMF using AT command

Corrected at command for dtmf generation
# This is the commit message wdoekes#52:

Fix for busy on call rejection for simcom

For those who receive 'busy' additionally on call rejection when dialling out. Author only receives 'no carrier' on rejection. Reported and solved by @mpmc here IchthysMaranatha#22
# This is the commit message wdoekes#53:

Removal of redundant closetty
# This is the commit message wdoekes#54:

Update busy fix for call rejection

Updated fix as submitted by @mpmc here IchthysMaranatha#22
Author does not receive busy response on call rejection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants