Asterisk compilieren klappt nicht

astrakid

Neuer User
Mitglied seit
24 Apr 2011
Beiträge
89
Punkte für Reaktionen
0
Punkte
6
hi zusammen,
da ich keine alternative gefunden habe, res_fax_spandsp in asterisk einzubinden, versuche ich nun seit einer woche, asterisk zu kompilieren.
an sich klappt es soweit, dass ./configure, und make menuselect sauber durchlaufen und ich alles auswählen kann, inkl. res_fax_spandsp.
beim anschließenden make erscheinen dann aber nach langer ausführungsdauer folgende fehlermeldungen, sowohl bei 1.8.6 als auch bei 1.8.7:

Code:
[...]
   [CC] ulaw.c -> ulaw.o
   [CC] utils.c -> utils.o
   [CC] version.c -> version.o
   [CC] xml.c -> xml.o
   [CC] xmldoc.c -> xmldoc.o
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O6    ) works... yes
checking whether the C compiler (gcc -pthread -I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O6    ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for mawk... gawk
checking host system type... mipsel-unknown-linux-gnu
checking for a BSD compatible install... /opt/bin/install -c
checking for ranlib... ranlib
checking for ar... /opt/bin/ar
checking for tgetent in -ltermcap... yes
checking for termcap.h... yes
checking for sys/cdefs.h... yes
checking for vis.h... no
checking for issetugid... no
checking for fgetln... no
checking for strvis... no
checking for strunvis... no
checking for strlcpy... yes
checking for strlcat... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makelist
creating config.h
In file included from chared.h:136,
                 from el.h:101,
                 from common.c:51,
                 from editline.c:4:
fcns.h:56:1: warning: "em_upper_case" redefined
fcns.h:50:1: warning: this is the location of the previous definition
In file included from editline.c:4:
common.c:73: error: expected identifier or '(' before numeric constant
common.c:302: error: expected identifier or '(' before numeric constant
common.c:353: error: expected identifier or '(' before numeric constant
common.c: In function 'ed_quoted_insert':
common.c:387: error: called object '8' is not a function
common.c: At top level:
common.c:397: error: expected identifier or '(' before numeric constant
common.c:441: error: expected identifier or '(' before numeric constant
common.c:466: error: expected identifier or '(' before numeric constant
common.c:485: error: expected identifier or '(' before numeric constant
common.c:498: error: expected identifier or '(' before numeric constant
common.c:524: error: expected identifier or '(' before numeric constant
common.c:537: error: expected identifier or '(' before numeric constant
In file included from editline.c:5:
emacs.c:122: error: expected identifier or '(' before numeric constant
emacs.c:288: error: expected identifier or '(' before numeric constant
emacs.c:368: error: expected identifier or '(' before numeric constant
emacs.c:382: error: expected identifier or '(' before numeric constant
emacs.c:416: error: expected identifier or '(' before numeric constant
emacs.c:470: error: expected identifier or '(' before numeric constant
emacs.c:483: error: expected identifier or '(' before numeric constant
In file included from editline.c:6:
vi.c:141: error: expected identifier or '(' before numeric constant
vi.c:154: error: expected identifier or '(' before numeric constant
vi.c:268: error: expected identifier or '(' before numeric constant
vi.c:292: error: expected identifier or '(' before numeric constant
vi.c:367: error: expected identifier or '(' before numeric constant
vi.c:412: error: expected identifier or '(' before numeric constant
vi.c:431: error: expected identifier or '(' before numeric constant
vi.c:776: error: expected identifier or '(' before numeric constant
vi.c:789: error: expected identifier or '(' before numeric constant
vi.c:802: error: expected identifier or '(' before numeric constant
vi.c:818: error: expected identifier or '(' before numeric constant
vi.c:836: error: expected identifier or '(' before numeric constant
vi.c:857: error: expected identifier or '(' before numeric constant
vi.c:912: error: expected identifier or '(' before numeric constant
vi.c:932: error: expected identifier or '(' before numeric constant
In file included from editline.c:7:
chared.c: In function 'ch_init':
chared.c:442: error: 'ED_UNASSIGNED' undeclared (first use in this function)
chared.c:442: error: (Each undeclared identifier is reported only once
chared.c:442: error: for each function it appears in.)
chared.c: In function 'ch_reset':
chared.c:479: error: 'ED_UNASSIGNED' undeclared (first use in this function)
In file included from editline.c:10:
key.c: In function 'key_add':
key.c:202: error: 'ED_SEQUENCE_LEAD_IN' undeclared (first use in this function)
key.c: In function 'key_clear':
key.c:225: error: 'ED_SEQUENCE_LEAD_IN' undeclared (first use in this function)
key.c: In function 'node_trav':
key.c:289: error: 'ED_END_OF_FILE' undeclared (first use in this function)
In file included from editline.c:11:
map.c: At top level:
map.c:66: error: 'EM_SET_MARK' undeclared here (not in a function)
map.c:67: error: 'ED_MOVE_TO_BEG' undeclared here (not in a function)
[viele weitere fehlermeldungen...]

hat einer einen tipp für mich, woran das liegt? das ganze läuft auf einem tomato-router (dd-wrt / openwrt - kompatibel), installiert sind zum kompilieren buildroot, libtiff und spandsp0.0.6pre18.
aber die fehlermeldungen oben sehen sehr asterisk-spezifisch bzw. auf den quellcode von asterisk bezogen aus...

gruß und danke,
astrakid
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.