TomatoUSB und Asterisk kompilieren - Fehlermeldung

Kompilieren von Asterisk, ZAPTel, Asterisk-Addons usw.

Moderatoren: rainer, Tim

astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

Hi,
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: Alles auswählen

[...]
   [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
Benutzeravatar
rainer
Profi
Beiträge: 183
Registriert: Di 17. Nov 2009, 20:18
Wohnort: Bonn
Kontaktdaten:

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von rainer »

Hi ...

kannst du mal vor dem ./configure das script im Asterisk Source Verzeichnis

/contrib/scripts/install_prereq install

ausführen.
danach ...
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
update-rc.d -f asterisk remove
update-rc.d asterisk defaults 50 15

Gruß
Rainer
Rainer Piper - Bonn - 0228 97167161 or SIP-URI: sip:7000@sip.soho-piper.de:5072
Software: kamailio 4.2.0 -> Asterisk 13.0.1 mit pjsip stack
Hardware: 2x QuadCore, 128GB ECC-RAM, 4x HDD Raid 10
Benutzeravatar
rainer
Profi
Beiträge: 183
Registriert: Di 17. Nov 2009, 20:18
Wohnort: Bonn
Kontaktdaten:

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von rainer »

Debian prerequirements
# Basic build system:
build-essential
# Asterisk: basic requirements:
libncurses-dev libz-dev libssl-dev libxml2-dev
# Asterisk: for addons:
libcurl-dev libspeex-dev libspeexdsp-dev libogg-dev libvorbis-dev libasound2-dev portaudio19-dev libcurl4-openssl-dev
libpq-dev unixodbc-dev libsqlite0-dev libsqlite3-dev libmysqlclient15-dev libneon27-dev libgmime-2.0-2-dev libusb-dev liblua5.1-0-dev lua5.1
libopenh323-dev libvpb-dev libgtk2.0-dev libmysqlclient-dev libbluetooth-dev libradiusclient-ng-dev freetds-dev
libsnmp-dev libiksemel-dev libopenais-dev libnewt-dev libpopt-dev libical-dev libspandsp-dev libjack-dev
libresample-dev libc-client-dev binutils-dev

Gruß
Rainer
Rainer Piper - Bonn - 0228 97167161 or SIP-URI: sip:7000@sip.soho-piper.de:5072
Software: kamailio 4.2.0 -> Asterisk 13.0.1 mit pjsip stack
Hardware: 2x QuadCore, 128GB ECC-RAM, 4x HDD Raid 10
Benutzeravatar
rainer
Profi
Beiträge: 183
Registriert: Di 17. Nov 2009, 20:18
Wohnort: Bonn
Kontaktdaten:

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von rainer »

Hi ... schau mal hier ...
http://www.nslu2-linux.org/wiki/Optware/Asterisk

Additional Software and Packages for Tomato

Tomato Utilities (Rodney's collection of various software tools and packages cross-compiled for Tomato USB)
http://www.multics.minidns.net/tomato/

Optware
http://www.nslu2-linux.org/wiki/Optware ... g.Packages

Rainer
Rainer Piper - Bonn - 0228 97167161 or SIP-URI: sip:7000@sip.soho-piper.de:5072
Software: kamailio 4.2.0 -> Asterisk 13.0.1 mit pjsip stack
Hardware: 2x QuadCore, 128GB ECC-RAM, 4x HDD Raid 10
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

hi,
vielen dank für deine antworten.
rainer hat geschrieben:Hi ...
kannst du mal vor dem ./configure das script im Asterisk Source Verzeichnis
/contrib/scripts/install_prereq install

ausführen.
ich vermute, dass der erste slash zu viel war. folgender output:

Code: Alles auswählen

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# contrib/scripts/install_prereq install
#############################################
## install completed successfully
#############################################
danach ...
./configure
make menuconfig
make
make install
make samples
make config
make install-logrotate
update-rc.d -f asterisk remove
update-rc.d asterisk defaults 50 15
./configure habe ich jetzt mal ausgeführt, sonst habe ich hier immer die parameter "--prefix=/opt --disable-xmldoc" verwendet. ersteres, damit es auf dem usb-stick landet (gemounted auf /opt), zweiteres, weil ich sonst fehler erhalten habe. außerdem habe ich jetzt beim start von asterisk (fertiges ipkg-paket ohne spandsp-unterstützung) lauter fehlermeldung diesbzgl.
make schlug fehl, weil --disable-xmldoc verwendet werden muss (ein paket fehlt). hab jetzt configure nochmal angeworfen mit --disable-xmldoc. configure ist jetzt sauber durchgelaufen, jetzt läuft gerade make menuconfig. hier erwarte ich auch keine schwierigkeiten, ich muss nur sicherstellen, dass res_fax_spandsp aktiviert (bzw. aktivierbar) ist. ich warte mal ab...
so, alles gut. also weiter...
make. hier sollte er gleich abbrechen, weil die üblichen FS nicht schreibbar sind... aber das kann noch dauern... i.d.r. braucht er so ca. 90 minuten... ich werde den beitrag später editieren...

gruß
astrakid.
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

so, fertig kompiliert - mit gleichem fehler.

hier nochmal sauber alle schritte:

1.

Code: Alles auswählen

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# contrib/scripts/install_prereq install
#############################################
## install completed successfully
#############################################
2. ./configure

Code: Alles auswählen

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# ./configure --disable-xmldoc
checking build system type... mipsel-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /opt/bin/grep
checking for egrep... /opt/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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for uname... /bin/uname
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /opt/bin/ld
checking if the linker (/opt/bin/ld) is GNU ld... yes
checking for gawk... gawk
checking for a BSD-compatible install... /opt/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for GNU make... make
checking for egrep... (cached) /opt/bin/grep -E
checking for strip... strip
checking for ar... ar
checking for sha1sum... sha1sum
checking for openssl... openssl
checking for bison... :
checking for cmp... /usr/bin/cmp
checking for flex... /opt/bin/flex
checking for grep... (cached) /opt/bin/grep
checking for find... /usr/bin/find
checking for compress... :
checking for basename... /usr/bin/basename
checking for dirname... /usr/bin/dirname
checking for sh... /opt/bin/bash
checking for ln... /bin/ln
checking for dot... :
checking for wget... /usr/bin/wget
checking for curl... /opt/bin/curl
checking for rubber... :
checking for catdvi... :
checking for kpsewhich... :
checking for xmllint... /opt/bin/xmllint
checking for xmlstarlet... :
checking for bison that supports parse-param...
checking for soxmix... no
checking for md5... no
checking for md5sum... md5sum
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for gawk... (cached) gawk
checking for curl-config... /opt/bin/curl-config
checking for the version of libcurl... 7.21.7
checking for libcurl >= version 7.10.1... yes
checking whether libcurl is usable... no
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for long double with more range or precision than double... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking for struct ucred.uid... yes
checking for struct ucred.cr_uid... no
checking for struct ifreq.ifr_ifru.ifru_hwaddr... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for utime.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for strftime... yes
checking for working strnlen... yes
checking for working strtod... yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for asprintf... yes
checking for atexit... yes
checking for closefrom... no
checking for dup2... yes
checking for eaccess... no
checking for endpwent... yes
checking for euidaccess... no
checking for ffsll... no
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getloadavg... no
checking for gettimeofday... yes
checking for glob... yes
checking for htonll... no
checking for ioperm... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mkdtemp... yes
checking for munmap... yes
checking for ntohll... no
checking for newlocale... yes
checking for ppoll... no
checking for putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strsep... yes
checking for strspn... yes
checking for strstr... yes
checking for strtod... (cached) yes
checking for strtol... yes
checking for strtold... yes
checking for strtoq... yes
checking for unsetenv... yes
checking for utime... yes
checking for vasprintf... yes
checking for getpeereid... no
checking for sysctl... yes
checking for swapctl... no
checking for sqrt in -lm... yes
checking for exp2... no
checking for log2... no
checking for exp10... no
checking for log10... yes
checking for sin... yes
checking for cos... yes
checking for tan... yes
checking for asin... yes
checking for acos... yes
checking for atan... yes
checking for atan2... yes
checking for pow... yes
checking for rint... yes
checking for exp... yes
checking for log... yes
checking for remainder... yes
checking for fmod... yes
checking for round... no
checking for trunc... no
checking for floor... yes
checking for ceil... yes
checking for LLONG_MAX in limits.h... yes
checking for timersub in time.h... yes
checking for a version of GNU ld that supports the --dynamic-list flag... yes
checking for sys/poll.h... (cached) yes
checking for funopen... no
checking for fopencookie... yes
checking for inet_aton... yes
checking for IP_PKTINFO... yes
checking for library containing gethostbyname_r... none required
checking for gethostbyname_r with 6 arguments... yes
checking for gethostbyname_r with 5 arguments... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for __swap16 variant of <sys/endian.h> byteswapping macros... no
checking for bswap16 variant of <sys/endian.h> byteswapping macros... no
checking for /dev/urandom... yes
checking for locale_t in locale.h... yes
checking for O_EVTONLY in fcntl.h... no
checking for O_SYMLINK in fcntl.h... no
checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes
checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes
checking for pthread_rwlock_timedwrlock() in pthread.h... no
checking if PTHREAD_ONCE_INIT needs braces... no
checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes
checking whether we can compare a mutex to its initial value... no
checking for compiler atomic operations... no
checking if your system printf is NULL-safe.... (null)yes
checking if we can increase the maximum select-able file descriptor... yes
checking for compiler 'attribute pure' support... yes
checking for compiler 'attribute malloc' support... yes
checking for compiler 'attribute const' support... yes
checking for compiler 'attribute unused' support... yes
checking for compiler 'attribute always_inline' support... yes
checking for compiler 'attribute deprecated' support... yes
checking for compiler 'attribute sentinel' support... yes
checking for compiler 'attribute warn_unused_result' support... yes
checking for compiler 'attribute weak_import' support... no
checking for compiler 'attribute weakref' support... no
checking for -ffunction-sections support... yes
checking for --gc-sections support... yes
checking for -Wdeclaration-after-statement support... yes
checking for _FORTIFY_SOURCE support... yes
checking for -fno-strict-overflow... no
checking for -Wshadow... yes
checking for sysinfo... yes
checking for library containing res_9_ninit... no
checking for res_ninit... no
checking for GLOB_NOMAGIC in glob.h... yes
checking for GLOB_BRACE in glob.h... yes
checking for IP_MTU_DISCOVER in netinet/in.h... yes
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of char *... 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking size of fd_set.fds_bits... (cached) 4
checking for dladdr in dlfcn.h... yes
checking for pkg-config... pkg-config
checking for snd_spcm_init in -lasound... no
checking for bfd_openr in -lbfd... no
checking for initscr in -lcurses... no
checking for cap_from_text in -lcap... no
checking for DAHDI_RESET_COUNTERS in dahdi/user.h... no
checking for DAHDI_DEFAULT_MTU_MRU in dahdi/user.h... no
checking for DAHDI_CODE in dahdi/user.h... no
checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... no
checking for enhanced dahdi vmwi support... no
checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using dahdi/user.h... no
checking for getifaddrs() support... no
checking for timerfd support... no
checking for gsm_create in -lgsm... no
checking for iconv_open in -liconv... no
checking for libiconv_open in -liconv... no
checking for iconv_close in -lc... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for icaltimezone_get_utc_timezone in -lical... no
checking for iks_start_sasl in -liksemel... no
checking for UW IMAP Toolkit c-client library... no
checking for system c-client library...... no
checking for SQLConnect in -liodbc... no
checking for inotify_init in -lc... no
checking for jack_activate in -ljack... no
checking for kqueue in -lc... no
checking for kevent64... no
checking for lt_dlinit in -lltdl... yes
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for ldap_initialize in -lldap... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for mISDN_open in -lmISDN... no
checking for mysql_config... no
checking for nbs_connect in -lnbs... no
checking for initscr in -lncurses... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking for neon-config... /opt/bin/neon-config
checking for neon-config... /opt/bin/neon-config
checking for net-snmp-config... no
checking for newtBell in -lnewt... yes
checking newt.h usability... yes
checking newt.h presence... yes
checking for newt.h... yes
checking for SQLConnect in -lodbc... no
checking for ogg_sync_init in -logg... yes
checking for backtrace in -lexecinfo... no
checking for backtrace in -lc... no
checking for ba2str in -lbluetooth... no
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for pg_config... no
checking for poptStrerror in -lpopt... yes
checking popt.h usability... no
checking popt.h presence... no
checking for popt.h... no
checking for Pa_GetDeviceCount in -lportaudio... no
checking for pri_connected_line_update in -lpri... no
checking for pri_mwi_indicate in -lpri... no
checking for pri_mcid_enable in -lpri... no
checking for pri_connect_ack_enable in -lpri... no
checking for pri_aoc_events_enable in -lpri... no
checking for pri_transfer_enable in -lpri... no
checking for pri_cc_enable in -lpri... no
checking for pri_hangup_fix_enable in -lpri... no
checking for pri_sr_set_called_subaddress in -lpri... no
checking for pri_hold_enable in -lpri... no
checking for pri_reroute_enable in -lpri... no
checking for pri_sr_set_keypad_digits in -lpri... no
checking for pri_progress_with_cause in -lpri... no
checking for pri_set_inbanddisconnect in -lpri... no
checking for pri_maintenance_service in -lpri... no
checking for pri_sr_set_reversecharge in -lpri... no
checking for resample_open in -lresample... no
checking for minimum version of SpanDSP... yes
checking for span_set_message_handler in -lspandsp... yes
checking spandsp.h usability... yes
checking spandsp.h presence... yes
checking for spandsp.h... yes
checking for t38_terminal_init in -lspandsp... yes
checking for spandsp.h... (cached) yes
checking for ss7_pollflags in -lss7... no
checking for openr2_chan_new in -lopenr2... no
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... no
checking /usr/include/ptlib.h presence... no
checking for /usr/include/ptlib.h... no
checking for luaL_newstate in -llua5.1... no
checking for luaL_register in -llua... no
checking for rc_read_config in -lradiusclient-ng... no
checking for saClmInitialize in -lSaClm... no
checking for speex_encode in -lspeex... no
checking for speex_preprocess_ctl in -lspeex... no
checking for speex_preprocess_ctl in -lspeexdsp... no
checking for sqlite_exec in -lsqlite... no
checking for sqlite3_open in -lsqlite3... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for AES_encrypt in -lcrypto... yes
checking openssl/aes.h usability... no
checking openssl/aes.h presence... no
checking for openssl/aes.h... no
checking for srtp_init in -lsrtp... no
checking for gmime-config... no
checking for malloc in -lhoard... no
checking for dbinit in -lsybdb... no
checking for tgetent in -ltermcap... yes
checking for tgetent in -ltinfo... no
checking for tone_zone_find_by_num in -ltonezone... no
checking for tone_zone_find in -ltonezone... no
checking for usb_init in -lusb... no
checking for vorbis_info_init in -lvorbis... yes
checking vorbis/codec.h usability... no
checking vorbis/codec.h presence... no
checking for vorbis/codec.h... no
checking for vpb_open in -lvpb... no
checking for compress in -lz... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking h323.h usability... no
checking h323.h presence... no
checking for h323.h... no
checking linux/compiler.h usability... yes
checking linux/compiler.h presence... yes
checking for linux/compiler.h... yes
checking for linux/ixjuser.h... yes
checking for MSG_NOSIGNAL in sys/socket.h... yes
checking for SO_NOSIGPIPE in sys/socket.h... no
checking for sdl-config... no
checking for IMG_Load in -lSDL_image... no
checking for sws_getContext in -lavcodec... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for XOpenDisplay in -lX11... no
checking for XOpenDisplay in -lX11... (cached) no
checking for /sbin/launchd... no
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
checking for LOG_AUTH in syslog.h... yes
checking for LOG_AUTHPRIV in syslog.h... yes
checking for LOG_CRON in syslog.h... yes
checking for LOG_DAEMON in syslog.h... yes
checking for LOG_FTP in syslog.h... yes
checking for LOG_KERN in syslog.h... yes
checking for LOG_LPR in syslog.h... yes
checking for LOG_MAIL in syslog.h... yes
checking for LOG_NEWS in syslog.h... yes
checking for LOG_SYSLOG in syslog.h... yes
checking for LOG_UUCP in syslog.h... yes
checking for mandatory modules: ... ok
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating channels/h323/Makefile
config.status: creating include/asterisk/autoconfig.h
checking build system type... mipsel-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-gnu
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 for GNU make... make
checking checking for compiler 'attribute weak_import' support... no
checking checking for compiler 'attribute weakref' support... yes
checking checking for compiler 'attribute weak' support... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /opt/bin/grep
checking for egrep... /opt/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 for working alloca.h... yes
checking for alloca... yes
checking for asprintf... yes
checking for getloadavg... no
checking for setenv... yes
checking for strcasestr... yes
checking for strndup... yes
checking for strnlen... yes
checking for strsep... yes
checking for unsetenv... yes
checking for vasprintf... yes
checking for newtBell in -lnewt... yes
checking newt.h usability... yes
checking newt.h presence... yes
checking for newt.h... yes
checking for initscr in -lcurses... no
checking for initscr in -lncurses... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking for pkg-config... pkg-config
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: creating ./config.status
config.status: creating makeopts
config.status: creating autoconfig.h
=== configuring in mxml (/opt/16gb/tmp/asterisk-1.8.6.0/menuselect/mxml)
configure: running /opt/bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /opt/bin/install -c
checking for ranlib... ranlib
checking for ar... /opt/bin/ar
checking for cp... /bin/cp
checking for ln... /bin/ln
checking for mkdir... /bin/mkdir
checking for rm... /bin/rm
checking for inline... inline
checking for strdup... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for long long int... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /opt/bin/grep
checking for egrep... /opt/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 pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
configure: Menuselect build configuration successfully completed

               .$$$$$$$$$$$$$$$=..
            .$7$7..          .7$$7:.
          .$$:.                 ,$7.7
        .$7.     7$$$$           .$$77
     ..$$.       $$$$$            .$$$7
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.
$$$        $$$   7$$$7  .$$$    .$$$.
$$$$             $$$$7         .$$$.
7$$$7            7$$$$        7$$$
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : mipsel
configure: build-cpu:vendor:os: mipsel : unknown : linux-gnu :
configure: host-cpu:vendor:os: mipsel : unknown : linux-gnu :
3. make menuconfig

Code: Alles auswählen

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# make menuconfig
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" cmenuselect
make[1]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
make[1]: Nothing to be done for `cmenuselect'.
make[1]: Leaving directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" nmenuselect
make[1]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall    -c -o menuselect_newt.o menuselect_newt.c
make[2]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect/mxml'
gcc -Os -g -Wall   -c mxml-attr.c
gcc -Os -g -Wall   -c mxml-entity.c
gcc -Os -g -Wall   -c mxml-file.c
gcc -Os -g -Wall   -c mxml-index.c
gcc -Os -g -Wall   -c mxml-node.c
gcc -Os -g -Wall   -c mxml-search.c
gcc -Os -g -Wall   -c mxml-set.c
gcc -Os -g -Wall   -c mxml-private.c
gcc -Os -g -Wall   -c mxml-string.c
/bin/rm -f libmxml.a
/opt/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[2]: Leaving directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect/mxml'
gcc -o nmenuselect menuselect.o strcompat.o menuselect_newt.o mxml/libmxml.a -lnewt
make[1]: Leaving directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" gmenuselect
make[1]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
make[1]: Nothing to be done for `gmenuselect'.
make[1]: Leaving directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
make[1]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0'
Generating input for menuselect ...
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Entering directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[2]: Leaving directory `/opt/16gb/tmp/asterisk-1.8.6.0/menuselect'
weiter im nächsten beitrag... text ist sonst zu lang...
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

4. make

Code: Alles auswählen

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# make
menuselect/menuselect --check-deps menuselect.makeopts
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
   [CC] astcanary.c -> astcanary.o
   [LD] astcanary.o -> astcanary
   [CC] chan_phone.c -> chan_phone.o
   [LD] chan_phone.o -> chan_phone.so
   [CC] chan_mgcp.c -> chan_mgcp.o
   [LD] chan_mgcp.o -> chan_mgcp.so
   [CC] chan_agent.c -> chan_agent.o
   [LD] chan_agent.o -> chan_agent.so
   [CC] chan_iax2.c -> chan_iax2.o
   [CC] iax2-parser.c -> iax2-parser.o
   [CC] iax2-provision.c -> iax2-provision.o
   [LD] chan_iax2.o iax2-parser.o iax2-provision.o -> chan_iax2.so
   [CC] chan_sip.c -> chan_sip.o
   [CC] sip/reqresp_parser.c -> sip/reqresp_parser.o
   [CC] sip/dialplan_functions.c -> sip/dialplan_functions.o
   [CC] sip/config_parser.c -> sip/config_parser.o
   [CC] sip/srtp.c -> sip/srtp.o
   [CC] sip/sdp_crypto.c -> sip/sdp_crypto.o
   [LD] chan_sip.o sip/reqresp_parser.o sip/dialplan_functions.o sip/config_parser.o sip/srtp.o sip/sdp_crypto.o -> chan_sip.so
   [CC] chan_unistim.c -> chan_unistim.o
   [LD] chan_unistim.o -> chan_unistim.so
   [CC] chan_local.c -> chan_local.o
   [LD] chan_local.o -> chan_local.so
   [CC] chan_multicast_rtp.c -> chan_multicast_rtp.o
   [LD] chan_multicast_rtp.o -> chan_multicast_rtp.so
   [CC] chan_oss.c -> chan_oss.o
   [CC] console_video.c -> console_video.o
   [CC] vgrabbers.c -> vgrabbers.o
   [CC] console_board.c -> console_board.o
   [LD] chan_oss.o console_video.o vgrabbers.o console_board.o -> chan_oss.so
   [CC] chan_bridge.c -> chan_bridge.o
   [LD] chan_bridge.o -> chan_bridge.so
   [CC] chan_skinny.c -> chan_skinny.o
   [LD] chan_skinny.o -> chan_skinny.so
   [CC] pbx_loopback.c -> pbx_loopback.o
   [LD] pbx_loopback.o -> pbx_loopback.so
   [CC] pbx_spool.c -> pbx_spool.o
   [LD] pbx_spool.o -> pbx_spool.so
   [CC] pbx_realtime.c -> pbx_realtime.o
   [LD] pbx_realtime.o -> pbx_realtime.so
   [CC] pbx_config.c -> pbx_config.o
   [LD] pbx_config.o -> pbx_config.so
   [CC] pbx_ael.c -> pbx_ael.o
   [LD] pbx_ael.o -> pbx_ael.so
   [CC] app_festival.c -> app_festival.o
   [LD] app_festival.o -> app_festival.so
   [CC] app_privacy.c -> app_privacy.o
   [LD] app_privacy.o -> app_privacy.so
   [CC] app_forkcdr.c -> app_forkcdr.o
   [LD] app_forkcdr.o -> app_forkcdr.so
   [CC] app_directory.c -> app_directory.o
   [LD] app_directory.o -> app_directory.so
   [CC] app_test.c -> app_test.o
   [LD] app_test.o -> app_test.so
   [CC] app_waituntil.c -> app_waituntil.o
   [LD] app_waituntil.o -> app_waituntil.so
   [CC] app_stack.c -> app_stack.o
   [LD] app_stack.o -> app_stack.so
   [CC] app_image.c -> app_image.o
   [LD] app_image.o -> app_image.so
   [CC] app_morsecode.c -> app_morsecode.o
   [LD] app_morsecode.o -> app_morsecode.so
   [CC] app_talkdetect.c -> app_talkdetect.o
   [LD] app_talkdetect.o -> app_talkdetect.so
   [CC] app_dictate.c -> app_dictate.o
   [LD] app_dictate.o -> app_dictate.so
   [CC] app_echo.c -> app_echo.o
   [LD] app_echo.o -> app_echo.so
   [CC] app_readexten.c -> app_readexten.o
   [LD] app_readexten.o -> app_readexten.so
   [CC] app_directed_pickup.c -> app_directed_pickup.o
   [LD] app_directed_pickup.o -> app_directed_pickup.so
   [CC] app_sendtext.c -> app_sendtext.o
   [LD] app_sendtext.o -> app_sendtext.so
   [CC] app_voicemail.c -> app_voicemail.o
   [LD] app_voicemail.o -> app_voicemail.so
   [CC] app_dumpchan.c -> app_dumpchan.o
   [LD] app_dumpchan.o -> app_dumpchan.so
   [CC] app_system.c -> app_system.o
   [LD] app_system.o -> app_system.so
   [CC] app_ices.c -> app_ices.o
   [LD] app_ices.o -> app_ices.so
   [CC] app_waitforring.c -> app_waitforring.o
   [LD] app_waitforring.o -> app_waitforring.so
   [CC] app_authenticate.c -> app_authenticate.o
   [LD] app_authenticate.o -> app_authenticate.so
   [CC] app_read.c -> app_read.o
   [LD] app_read.o -> app_read.so
   [CC] app_senddtmf.c -> app_senddtmf.o
   [LD] app_senddtmf.o -> app_senddtmf.so
   [CC] app_queue.c -> app_queue.o
   [LD] app_queue.o -> app_queue.so
   [CC] app_userevent.c -> app_userevent.o
   [LD] app_userevent.o -> app_userevent.so
   [CC] app_chanisavail.c -> app_chanisavail.o
   [LD] app_chanisavail.o -> app_chanisavail.so
   [CC] app_sms.c -> app_sms.o
   [LD] app_sms.o -> app_sms.so
   [CC] app_mp3.c -> app_mp3.o
   [LD] app_mp3.o -> app_mp3.so
   [CC] app_celgenuserevent.c -> app_celgenuserevent.o
   [LD] app_celgenuserevent.o -> app_celgenuserevent.so
   [CC] app_playback.c -> app_playback.o
   [LD] app_playback.o -> app_playback.so
   [CC] app_adsiprog.c -> app_adsiprog.o
   [LD] app_adsiprog.o -> app_adsiprog.so
   [CC] app_setcallerid.c -> app_setcallerid.o
   [LD] app_setcallerid.o -> app_setcallerid.so
   [CC] app_mixmonitor.c -> app_mixmonitor.o
   [LD] app_mixmonitor.o -> app_mixmonitor.so
   [CC] app_softhangup.c -> app_softhangup.o
   [LD] app_softhangup.o -> app_softhangup.so
   [CC] app_parkandannounce.c -> app_parkandannounce.o
   [LD] app_parkandannounce.o -> app_parkandannounce.so
   [CC] app_externalivr.c -> app_externalivr.o
   [LD] app_externalivr.o -> app_externalivr.so
   [CC] app_channelredirect.c -> app_channelredirect.o
   [LD] app_channelredirect.o -> app_channelredirect.so
   [CC] app_alarmreceiver.c -> app_alarmreceiver.o
   [LD] app_alarmreceiver.o -> app_alarmreceiver.so
   [CC] app_exec.c -> app_exec.o
   [LD] app_exec.o -> app_exec.so
   [CC] app_record.c -> app_record.o
   [LD] app_record.o -> app_record.so
   [CC] app_chanspy.c -> app_chanspy.o
   [LD] app_chanspy.o -> app_chanspy.so
   [CC] app_cdr.c -> app_cdr.o
   [LD] app_cdr.o -> app_cdr.so
   [CC] app_speech_utils.c -> app_speech_utils.o
   [LD] app_speech_utils.o -> app_speech_utils.so
   [CC] app_nbscat.c -> app_nbscat.o
   [LD] app_nbscat.o -> app_nbscat.so
   [CC] app_sayunixtime.c -> app_sayunixtime.o
   [LD] app_sayunixtime.o -> app_sayunixtime.so
   [CC] app_getcpeid.c -> app_getcpeid.o
   [LD] app_getcpeid.o -> app_getcpeid.so
   [CC] app_macro.c -> app_macro.o
   [LD] app_macro.o -> app_macro.so
   [CC] app_controlplayback.c -> app_controlplayback.o
   [LD] app_controlplayback.o -> app_controlplayback.so
   [CC] app_originate.c -> app_originate.o
   [LD] app_originate.o -> app_originate.so
   [CC] app_zapateller.c -> app_zapateller.o
   [LD] app_zapateller.o -> app_zapateller.so
   [CC] app_milliwatt.c -> app_milliwatt.o
   [LD] app_milliwatt.o -> app_milliwatt.so
   [CC] app_transfer.c -> app_transfer.o
   [LD] app_transfer.o -> app_transfer.so
   [CC] app_dial.c -> app_dial.o
   [LD] app_dial.o -> app_dial.so
   [CC] app_amd.c -> app_amd.o
   [LD] app_amd.o -> app_amd.so
   [CC] app_readfile.c -> app_readfile.o
   [LD] app_readfile.o -> app_readfile.so
   [CC] app_db.c -> app_db.o
   [LD] app_db.o -> app_db.so
   [CC] app_followme.c -> app_followme.o
   [LD] app_followme.o -> app_followme.so
   [CC] app_confbridge.c -> app_confbridge.o
   [LD] app_confbridge.o -> app_confbridge.so
   [CC] app_url.c -> app_url.o
   [LD] app_url.o -> app_url.so
   [CC] app_minivm.c -> app_minivm.o
   [LD] app_minivm.o -> app_minivm.so
   [CC] app_disa.c -> app_disa.o
   [LD] app_disa.o -> app_disa.so
   [CC] app_verbose.c -> app_verbose.o
   [LD] app_verbose.o -> app_verbose.so
   [CC] app_playtones.c -> app_playtones.o
   [LD] app_playtones.o -> app_playtones.so
   [CC] app_while.c -> app_while.o
   [LD] app_while.o -> app_while.so
   [CC] app_waitforsilence.c -> app_waitforsilence.o
   [LD] app_waitforsilence.o -> app_waitforsilence.so
   [CC] codec_a_mu.c -> codec_a_mu.o
   [LD] codec_a_mu.o -> codec_a_mu.so
   [CC] codec_lpc10.c -> codec_lpc10.o
   [CC] f2clib.c -> f2clib.o
   [CC] analys.c -> analys.o
   [CC] bsynz.c -> bsynz.o
   [CC] chanwr.c -> chanwr.o
   [CC] dcbias.c -> dcbias.o
   [CC] decode.c -> decode.o
   [CC] deemp.c -> deemp.o
   [CC] difmag.c -> difmag.o
   [CC] dyptrk.c -> dyptrk.o
   [CC] encode.c -> encode.o
   [CC] energy.c -> energy.o
   [CC] ham84.c -> ham84.o
   [CC] hp100.c -> hp100.o
   [CC] invert.c -> invert.o
   [CC] irc2pc.c -> irc2pc.o
   [CC] ivfilt.c -> ivfilt.o
   [CC] lpcdec.c -> lpcdec.o
   [CC] lpcenc.c -> lpcenc.o
   [CC] lpcini.c -> lpcini.o
   [CC] lpfilt.c -> lpfilt.o
   [CC] median.c -> median.o
   [CC] mload.c -> mload.o
   [CC] onset.c -> onset.o
   [CC] pitsyn.c -> pitsyn.o
   [CC] placea.c -> placea.o
   [CC] placev.c -> placev.o
   [CC] preemp.c -> preemp.o
   [CC] prepro.c -> prepro.o
   [CC] random.c -> random.o
   [CC] rcchk.c -> rcchk.o
   [CC] synths.c -> synths.o
   [CC] tbdm.c -> tbdm.o
   [CC] voicin.c -> voicin.o
   [CC] vparms.c -> vparms.o
   [AR] f2clib.o analys.o bsynz.o chanwr.o dcbias.o decode.o deemp.o difmag.o dyptrk.o encode.o energy.o ham84.o hp100.o invert.o irc2pc.o ivfilt.o lpcdec.o lpcenc.o lpcini.o lpfilt.o median.o mload.o onset.o pitsyn.o placea.o placev.o preemp.o prepro.o random.o rcchk.o synths.o tbdm.o voicin.o vparms.o -> liblpc10.a
   [LD] codec_lpc10.o lpc10/liblpc10.a -> codec_lpc10.so
   [CC] codec_ulaw.c -> codec_ulaw.o
   [LD] codec_ulaw.o -> codec_ulaw.so
   [CC] codec_g722.c -> codec_g722.o
   [CC] g722/g722_encode.c -> g722/g722_encode.o
   [CC] g722/g722_decode.c -> g722/g722_decode.o
   [LD] codec_g722.o g722/g722_encode.o g722/g722_decode.o -> codec_g722.so
   [CC] codec_adpcm.c -> codec_adpcm.o
   [LD] codec_adpcm.o -> codec_adpcm.so
   [CC] codec_alaw.c -> codec_alaw.o
   [LD] codec_alaw.o -> codec_alaw.so
   [CC] codec_g726.c -> codec_g726.o
   [LD] codec_g726.o -> codec_g726.so
   [CC] codec_gsm.c -> codec_gsm.o
   [CC] src/add.c -> src/add.o
   [CC] src/code.c -> src/code.o
   [CC] src/debug.c -> src/debug.o
   [CC] src/decode.c -> src/decode.o
   [CC] src/long_term.c -> src/long_term.o
   [CC] src/lpc.c -> src/lpc.o
   [CC] src/preprocess.c -> src/preprocess.o
   [CC] src/rpe.c -> src/rpe.o
   [CC] src/gsm_destroy.c -> src/gsm_destroy.o
   [CC] src/gsm_decode.c -> src/gsm_decode.o
   [CC] src/gsm_encode.c -> src/gsm_encode.o
   [CC] src/gsm_explode.c -> src/gsm_explode.o
   [CC] src/gsm_implode.c -> src/gsm_implode.o
   [CC] src/gsm_create.c -> src/gsm_create.o
   [CC] src/gsm_print.c -> src/gsm_print.o
   [CC] src/gsm_option.c -> src/gsm_option.o
   [CC] src/short_term.c -> src/short_term.o
   [CC] src/table.c -> src/table.o
   [AR] src/add.o src/code.o src/debug.o src/decode.o src/long_term.o src/lpc.o src/preprocess.o src/rpe.o src/gsm_destroy.o src/gsm_decode.o src/gsm_encode.o src/gsm_explode.o src/gsm_implode.o src/gsm_create.o src/gsm_print.o src/gsm_option.o src/short_term.o src/table.o -> lib/libgsm.a
   [LD] codec_gsm.o gsm/lib/libgsm.a -> codec_gsm.so
   [CC] format_h263.c -> format_h263.o
   [LD] format_h263.o -> format_h263.so
   [CC] format_g719.c -> format_g719.o
   [LD] format_g719.o -> format_g719.so
   [CC] format_g729.c -> format_g729.o
   [LD] format_g729.o -> format_g729.so
   [CC] format_vox.c -> format_vox.o
   [LD] format_vox.o -> format_vox.so
   [CC] format_wav_gsm.c -> format_wav_gsm.o
   [LD] format_wav_gsm.o -> format_wav_gsm.so
   [CC] format_siren14.c -> format_siren14.o
   [LD] format_siren14.o -> format_siren14.so
   [CC] format_h264.c -> format_h264.o
   [LD] format_h264.o -> format_h264.so
   [CC] format_sln.c -> format_sln.o
   [LD] format_sln.o -> format_sln.so
   [CC] format_jpeg.c -> format_jpeg.o
   [LD] format_jpeg.o -> format_jpeg.so
   [CC] format_siren7.c -> format_siren7.o
   [LD] format_siren7.o -> format_siren7.so
   [CC] format_gsm.c -> format_gsm.o
   [LD] format_gsm.o -> format_gsm.so
   [CC] format_wav.c -> format_wav.o
   [LD] format_wav.o -> format_wav.so
   [CC] format_ilbc.c -> format_ilbc.o
   [LD] format_ilbc.o -> format_ilbc.so
   [CC] format_pcm.c -> format_pcm.o
   [LD] format_pcm.o -> format_pcm.so
   [CC] format_sln16.c -> format_sln16.o
   [LD] format_sln16.o -> format_sln16.so
   [CC] format_g723.c -> format_g723.o
   [LD] format_g723.o -> format_g723.so
   [CC] format_g726.c -> format_g726.o
   [LD] format_g726.o -> format_g726.so
   [CC] cdr_syslog.c -> cdr_syslog.o
   [LD] cdr_syslog.o -> cdr_syslog.so
   [CC] cdr_custom.c -> cdr_custom.o
   [LD] cdr_custom.o -> cdr_custom.so
   [CC] cdr_manager.c -> cdr_manager.o
   [LD] cdr_manager.o -> cdr_manager.so
   [CC] cdr_csv.c -> cdr_csv.o
   [LD] cdr_csv.o -> cdr_csv.so
   [CC] cdr_sqlite3_custom.c -> cdr_sqlite3_custom.o
   [LD] cdr_sqlite3_custom.o -> cdr_sqlite3_custom.so
   [CC] cel_sqlite3_custom.c -> cel_sqlite3_custom.o
   [LD] cel_sqlite3_custom.o -> cel_sqlite3_custom.so
   [CC] cel_custom.c -> cel_custom.o
   [LD] cel_custom.o -> cel_custom.so
   [CC] cel_manager.c -> cel_manager.o
   [LD] cel_manager.o -> cel_manager.so
   [CC] bridge_builtin_features.c -> bridge_builtin_features.o
   [LD] bridge_builtin_features.o -> bridge_builtin_features.so
   [CC] bridge_softmix.c -> bridge_softmix.o
   [LD] bridge_softmix.o -> bridge_softmix.so
   [CC] bridge_multiplexed.c -> bridge_multiplexed.o
   [LD] bridge_multiplexed.o -> bridge_multiplexed.so
   [CC] bridge_simple.c -> bridge_simple.o
   [LD] bridge_simple.o -> bridge_simple.so
   [CC] func_callerid.c -> func_callerid.o
   [LD] func_callerid.o -> func_callerid.so
   [CC] func_enum.c -> func_enum.o
   [LD] func_enum.o -> func_enum.so
   [CC] func_logic.c -> func_logic.o
   [LD] func_logic.o -> func_logic.so
   [CC] func_dialgroup.c -> func_dialgroup.o
   [LD] func_dialgroup.o -> func_dialgroup.so
   [CC] func_timeout.c -> func_timeout.o
   [LD] func_timeout.o -> func_timeout.so
   [CC] func_extstate.c -> func_extstate.o
   [LD] func_extstate.o -> func_extstate.so
   [CC] func_db.c -> func_db.o
   [LD] func_db.o -> func_db.so
   [CC] func_shell.c -> func_shell.o
   [LD] func_shell.o -> func_shell.so
   [CC] func_callcompletion.c -> func_callcompletion.o
   [LD] func_callcompletion.o -> func_callcompletion.so
   [CC] func_env.c -> func_env.o
   [LD] func_env.o -> func_env.so
   [CC] func_sysinfo.c -> func_sysinfo.o
   [LD] func_sysinfo.o -> func_sysinfo.so
   [CC] func_frame_trace.c -> func_frame_trace.o
   [LD] func_frame_trace.o -> func_frame_trace.so
   [CC] func_cdr.c -> func_cdr.o
   [LD] func_cdr.o -> func_cdr.so
   [CC] func_devstate.c -> func_devstate.o
   [LD] func_devstate.o -> func_devstate.so
   [CC] func_uri.c -> func_uri.o
   [LD] func_uri.o -> func_uri.so
   [CC] func_config.c -> func_config.o
   [LD] func_config.o -> func_config.so
   [CC] func_realtime.c -> func_realtime.o
   [LD] func_realtime.o -> func_realtime.so
   [CC] func_cut.c -> func_cut.o
   [LD] func_cut.o -> func_cut.so
   [CC] func_groupcount.c -> func_groupcount.o
   [LD] func_groupcount.o -> func_groupcount.so
   [CC] func_audiohookinherit.c -> func_audiohookinherit.o
   [LD] func_audiohookinherit.o -> func_audiohookinherit.so
   [CC] func_sprintf.c -> func_sprintf.o
   [LD] func_sprintf.o -> func_sprintf.so
   [CC] func_base64.c -> func_base64.o
   [LD] func_base64.o -> func_base64.so
   [CC] func_module.c -> func_module.o
   [LD] func_module.o -> func_module.so
   [CC] func_rand.c -> func_rand.o
   [LD] func_rand.o -> func_rand.so
   [CC] func_pitchshift.c -> func_pitchshift.o
   [LD] func_pitchshift.o -> func_pitchshift.so
   [CC] func_dialplan.c -> func_dialplan.o
   [LD] func_dialplan.o -> func_dialplan.so
   [CC] func_version.c -> func_version.o
   [LD] func_version.o -> func_version.so
   [CC] func_lock.c -> func_lock.o
   [LD] func_lock.o -> func_lock.so
   [CC] func_strings.c -> func_strings.o
   [LD] func_strings.o -> func_strings.so
   [CC] func_global.c -> func_global.o
   [LD] func_global.o -> func_global.so
   [CC] func_srv.c -> func_srv.o
   [LD] func_srv.o -> func_srv.so
   [CC] func_vmcount.c -> func_vmcount.o
   [LD] func_vmcount.o -> func_vmcount.so
   [CC] func_volume.c -> func_volume.o
   [LD] func_volume.o -> func_volume.so
   [CC] func_aes.c -> func_aes.o
   [LD] func_aes.o -> func_aes.so
   [CC] func_md5.c -> func_md5.o
   [LD] func_md5.o -> func_md5.so
   [CC] func_iconv.c -> func_iconv.o
   [LD] func_iconv.o -> func_iconv.so
   [CC] func_channel.c -> func_channel.o
   [LD] func_channel.o -> func_channel.so
   [CC] func_math.c -> func_math.o
   [LD] func_math.o -> func_math.so
   [CC] func_blacklist.c -> func_blacklist.o
   [LD] func_blacklist.o -> func_blacklist.so
   [CC] func_sha1.c -> func_sha1.o
   [LD] func_sha1.o -> func_sha1.so
   [CC] res_calendar_ews.c -> res_calendar_ews.o
   [LD] res_calendar_ews.o -> res_calendar_ews.so
   [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o
   [LD] res_rtp_asterisk.o -> res_rtp_asterisk.so
   [CC] res_clioriginate.c -> res_clioriginate.o
   [LD] res_clioriginate.o -> res_clioriginate.so
   [CC] res_timing_pthread.c -> res_timing_pthread.o
   [LD] res_timing_pthread.o -> res_timing_pthread.so
   [CC] res_fax_spandsp.c -> res_fax_spandsp.o
   [LD] res_fax_spandsp.o -> res_fax_spandsp.so
   [CC] res_ael_share.c -> res_ael_share.o
   [CC] ael/ael_lex.c -> ael/ael_lex.o
   [CC] ael/ael.tab.c -> ael/ael.tab.o
   [CC] ael/pval.c -> ael/pval.o
   [LD] res_ael_share.o ael/ael_lex.o ael/ael.tab.o ael/pval.o -> res_ael_share.so
   [CC] res_adsi.c -> res_adsi.o
   [LD] res_adsi.o -> res_adsi.so
   [CC] res_config_ldap.c -> res_config_ldap.o
   [LD] res_config_ldap.o -> res_config_ldap.so
   [CC] res_musiconhold.c -> res_musiconhold.o
   [LD] res_musiconhold.o -> res_musiconhold.so
   [CC] res_convert.c -> res_convert.o
   [LD] res_convert.o -> res_convert.so
   [CC] res_stun_monitor.c -> res_stun_monitor.o
   [LD] res_stun_monitor.o -> res_stun_monitor.so
   [CC] res_rtp_multicast.c -> res_rtp_multicast.o
   [LD] res_rtp_multicast.o -> res_rtp_multicast.so
   [CC] res_limit.c -> res_limit.o
   [LD] res_limit.o -> res_limit.so
   [CC] res_speech.c -> res_speech.o
   [LD] res_speech.o -> res_speech.so
   [CC] res_monitor.c -> res_monitor.o
   [LD] res_monitor.o -> res_monitor.so
   [CC] res_realtime.c -> res_realtime.o
   [LD] res_realtime.o -> res_realtime.so
   [CC] res_clialiases.c -> res_clialiases.o
   [LD] res_clialiases.o -> res_clialiases.so
   [CC] res_phoneprov.c -> res_phoneprov.o
   [LD] res_phoneprov.o -> res_phoneprov.so
   [CC] res_smdi.c -> res_smdi.o
   [LD] res_smdi.o -> res_smdi.so
   [CC] res_agi.c -> res_agi.o
   [LD] res_agi.o -> res_agi.so
   [CC] res_security_log.c -> res_security_log.o
   [LD] res_security_log.o -> res_security_log.so
   [CC] res_fax.c -> res_fax.o
   [LD] res_fax.o -> res_fax.so
   [CC] res_calendar.c -> res_calendar.o
   [LD] res_calendar.o -> res_calendar.so
   [CC] res_mutestream.c -> res_mutestream.o
   [LD] res_mutestream.o -> res_mutestream.so
   [CC] abstract_jb.c -> abstract_jb.o
   [CC] acl.c -> acl.o
   [CC] alaw.c -> alaw.o
   [CC] aoc.c -> aoc.o
   [CC] app.c -> app.o
   [CC] ast_expr2.c -> ast_expr2.o
   [CC] ast_expr2f.c -> ast_expr2f.o
   [CC] asterisk.c -> asterisk.o
asterisk.c: In function 'cli_prompt':
asterisk.c:2255: warning: unused variable 'which'
   [CC] astfd.c -> astfd.o
   [CC] astmm.c -> astmm.o
   [CC] astobj2.c -> astobj2.o
   [CC] audiohook.c -> audiohook.o
   [CC] autochan.c -> autochan.o
   [CC] autoservice.c -> autoservice.o
   [CC] bridging.c -> bridging.o
   [CC] callerid.c -> callerid.o
   [CC] ccss.c -> ccss.o
   [CC] cdr.c -> cdr.o
   [CC] cel.c -> cel.o
   [CC] channel.c -> channel.o
   [CC] chanvars.c -> chanvars.o
   [CC] cli.c -> cli.o
   [CC] config.c -> config.o
   [CC] data.c -> data.o
   [CC] datastore.c -> datastore.o
   [CC] db.c -> db.o
   [CC] devicestate.c -> devicestate.o
   [CC] dial.c -> dial.o
   [CC] dns.c -> dns.o
   [CC] dnsmgr.c -> dnsmgr.o
   [CC] dsp.c -> dsp.o
   [CC] enum.c -> enum.o
   [CC] event.c -> event.o
   [CC] features.c -> features.o
   [CC] file.c -> file.o
   [CC] fixedjitterbuf.c -> fixedjitterbuf.o
   [CC] frame.c -> frame.o
   [CC] framehook.c -> framehook.o
   [CC] fskmodem.c -> fskmodem.o
   [CC] global_datastores.c -> global_datastores.o
   [CC] hashtab.c -> hashtab.o
   [CC] heap.c -> heap.o
   [CC] http.c -> http.o
   [CC] image.c -> image.o
   [CC] indications.c -> indications.o
   [CC] io.c -> io.o
   [CC] jitterbuf.c -> jitterbuf.o
   [CC] loader.c -> loader.o
   [CC] lock.c -> lock.o
   [CC] logger.c -> logger.o
   [CC] manager.c -> manager.o
   [CC] md5.c -> md5.o
   [CC] netsock.c -> netsock.o
   [CC] netsock2.c -> netsock2.o
   [CC] pbx.c -> pbx.o
   [CC] plc.c -> plc.o
   [CC] poll.c -> poll.o
   [CC] privacy.c -> privacy.o
   [CC] rtp_engine.c -> rtp_engine.o
   [CC] say.c -> say.o
   [CC] sched.c -> sched.o
   [CC] security_events.c -> security_events.o
   [CC] sha1.c -> sha1.o
   [CC] slinfactory.c -> slinfactory.o
   [CC] srv.c -> srv.o
   [CC] ssl.c -> ssl.o
   [CC] stdtime/localtime.c -> stdtime/localtime.o
   [CC] strcompat.c -> strcompat.o
   [CC] strings.c -> strings.o
   [CC] stun.c -> stun.o
   [CC] syslog.c -> syslog.o
   [CC] taskprocessor.c -> taskprocessor.o
   [CC] tcptls.c -> tcptls.o
   [CC] tdd.c -> tdd.o
   [CC] term.c -> term.o
   [CC] test.c -> test.o
   [CC] threadstorage.c -> threadstorage.o
   [CC] timing.c -> timing.o
   [CC] translate.c -> translate.o
   [CC] udptl.c -> udptl.o
   [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... no
checking for term.h... no
Need term.h since termcap.h is missing
checking for curses.h... no
checking for ncurses.h... no
Need curses.h or ncurses.h
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)
map.c:68: error: 'ED_PREV_CHAR' undeclared here (not in a function)
map.c:69: error: 'ED_TTY_SIGINT' undeclared here (not in a function)
map.c:70: error: 'EM_DELETE_OR_LIST' undeclared here (not in a function)
map.c:71: error: 'ED_MOVE_TO_END' undeclared here (not in a function)
map.c:72: error: 'ED_NEXT_CHAR' undeclared here (not in a function)
map.c:73: error: 'ED_UNASSIGNED' undeclared here (not in a function)
map.c:74: error: 'ED_DELETE_PREV_CHAR' undeclared here (not in a function)
map.c:76: error: 'ED_NEWLINE' undeclared here (not in a function)
map.c:77: error: 'ED_KILL_LINE' undeclared here (not in a function)
map.c:78: error: 'ED_CLEAR_SCREEN' undeclared here (not in a function)
map.c:80: error: 'ED_NEXT_HISTORY' undeclared here (not in a function)
map.c:81: error: 'ED_TTY_FLUSH_OUTPUT' undeclared here (not in a function)
map.c:82: error: 'ED_PREV_HISTORY' undeclared here (not in a function)
map.c:83: error: 'ED_TTY_START_OUTPUT' undeclared here (not in a function)
map.c:84: error: 'ED_REDISPLAY' undeclared here (not in a function)
map.c:85: error: 'ED_TTY_STOP_OUTPUT' undeclared here (not in a function)
map.c:86: error: 'ED_TRANSPOSE_CHARS' undeclared here (not in a function)
map.c:87: error: 'EM_KILL_LINE' undeclared here (not in a function)
map.c:88: error: 'ED_QUOTED_INSERT' undeclared here (not in a function)
map.c:89: error: 'EM_KILL_REGION' undeclared here (not in a function)
map.c:90: error: 'ED_SEQUENCE_LEAD_IN' undeclared here (not in a function)
map.c:91: error: 'EM_YANK' undeclared here (not in a function)
map.c:92: error: 'ED_TTY_SIGTSTP' undeclared here (not in a function)
map.c:93: error: 'EM_META_NEXT' undeclared here (not in a function)
map.c:94: error: 'ED_TTY_SIGQUIT' undeclared here (not in a function)
map.c:95: error: 'ED_TTY_DSUSP' undeclared here (not in a function)
map.c:98: error: 'ED_INSERT' undeclared here (not in a function)
map.c:114: error: 'ED_DIGIT' undeclared here (not in a function)
map.c:202: error: 'ED_DELETE_PREV_WORD' undeclared here (not in a function)
map.c:225: error: 'EM_COPY_PREV_WORD' undeclared here (not in a function)
map.c:242: error: 'ED_ARGUMENT_DIGIT' undeclared here (not in a function)
map.c:260: error: 'ED_PREV_WORD' undeclared here (not in a function)
map.c:261: error: 'EM_CAPITOL_CASE' undeclared here (not in a function)
map.c:262: error: 'EM_DELETE_NEXT_WORD' undeclared here (not in a function)
map.c:264: error: 'EM_NEXT_WORD' undeclared here (not in a function)
map.c:270: error: 'EM_LOWER_CASE' undeclared here (not in a function)
map.c:272: error: 'ED_SEARCH_NEXT_HISTORY' undeclared here (not in a function)
map.c:274: error: 'ED_SEARCH_PREV_HISTORY' undeclared here (not in a function)
map.c:279: error: 'EM_UPPER_CASE' undeclared here (not in a function)
map.c:281: error: 'EM_COPY_REGION' undeclared here (not in a function)
map.c:282: error: 'ED_COMMAND' undeclared here (not in a function)
map.c:334: error: initializer element is not constant
map.c:334: error: (near initialization for 'el_map_vi_insert[0]')
map.c:335: error: initializer element is not constant
[...]
map.c:337: error: (near initialization for 'el_map_vi_insert[3]')
map.c:338: error: 'VI_LIST_OR_EOF' undeclared here (not in a function)
map.c:338: error: initializer element is not constant
map.c:338: error: (near initialization for 'el_map_vi_insert[4]')
map.c:339: error: initializer element is not constant
[...]
map.c:341: error: (near initialization for 'el_map_vi_insert[7]')
map.c:342: error: 'VI_DELETE_PREV_CHAR' undeclared here (not in a function)
map.c:342: error: initializer element is not constant
map.c:342: error: (near initialization for 'el_map_vi_insert[8]')
map.c:343: error: initializer element is not constant
[...]
map.c:353: error: (near initialization for 'el_map_vi_insert[19]')
map.c:354: error: initializer element is not constant
map.c:354: error: (near initialization for 'el_map_vi_insert[20]')
map.c:355: error: 'VI_KILL_LINE_PREV' undeclared here (not in a function)
map.c:355: error: initializer element is not constant
map.c:355: error: (near initialization for 'el_map_vi_insert[21]')
map.c:356: error: initializer element is not constant
[...]
map.c:360: error: (near initialization for 'el_map_vi_insert[25]')
map.c:361: error: initializer element is not constant
map.c:361: error: (near initialization for 'el_map_vi_insert[26]')
map.c:362: error: 'VI_COMMAND_MODE' undeclared here (not in a function)
map.c:362: error: initializer element is not constant
map.c:362: error: (near initialization for 'el_map_vi_insert[27]')
map.c:363: error: initializer element is not constant
map.c:363: error: (near initialization for 'el_map_vi_insert[28]')
map.c:364: error: initializer element is not constant
map.c:364: error: (near initialization for 'el_map_vi_insert[29]')
map.c:365: error: initializer element is not constant
[...]
map.c:629: error: (near initialization for 'el_map_vi_insert[254]')
map.c:631: error: initializer element is not constant
map.c:631: error: (near initialization for 'el_map_vi_insert[255]')
map.c:634: error: initializer element is not constant
map.c:634: error: (near initialization for 'el_map_vi_command[0]')
map.c:635: error: initializer element is not constant
map.c:635: error: (near initialization for 'el_map_vi_command[1]')
map.c:636: error: initializer element is not constant
[...]
map.c:676: error: (near initialization for 'el_map_vi_command[42]')
map.c:677: error: initializer element is not constant
map.c:677: error: (near initialization for 'el_map_vi_command[43]')
map.c:678: error: 'VI_REPEAT_PREV_CHAR' undeclared here (not in a function)
map.c:678: error: initializer element is not constant
map.c:678: error: (near initialization for 'el_map_vi_command[44]')
map.c:679: error: initializer element is not constant
map.c:679: error: (near initialization for 'el_map_vi_command[45]')
map.c:680: error: initializer element is not constant
map.c:680: error: (near initialization for 'el_map_vi_command[46]')
map.c:681: error: 'VI_SEARCH_PREV' undeclared here (not in a function)
map.c:681: error: initializer element is not constant
map.c:681: error: (near initialization for 'el_map_vi_command[47]')
map.c:682: error: 'VI_ZERO' undeclared here (not in a function)
map.c:682: error: initializer element is not constant
map.c:682: error: (near initialization for 'el_map_vi_command[48]')
map.c:683: error: initializer element is not constant
map.c:683: error: (near initialization for 'el_map_vi_command[49]')
map.c:684: error: initializer element is not constant
[...]
map.c:691: error: (near initialization for 'el_map_vi_command[57]')
map.c:692: error: initializer element is not constant
map.c:692: error: (near initialization for 'el_map_vi_command[58]')
map.c:693: error: 'VI_REPEAT_NEXT_CHAR' undeclared here (not in a function)
map.c:693: error: initializer element is not constant
map.c:693: error: (near initialization for 'el_map_vi_command[59]')
map.c:694: error: initializer element is not constant
[...]
map.c:696: error: (near initialization for 'el_map_vi_command[62]')
map.c:697: error: 'VI_SEARCH_NEXT' undeclared here (not in a function)
map.c:697: error: initializer element is not constant
map.c:697: error: (near initialization for 'el_map_vi_command[63]')
map.c:698: error: initializer element is not constant
map.c:698: error: (near initialization for 'el_map_vi_command[64]')
map.c:699: error: 'VI_ADD_AT_EOL' undeclared here (not in a function)
map.c:699: error: initializer element is not constant
map.c:699: error: (near initialization for 'el_map_vi_command[65]')
map.c:700: error: 'VI_PREV_SPACE_WORD' undeclared here (not in a function)
map.c:700: error: initializer element is not constant
map.c:700: error: (near initialization for 'el_map_vi_command[66]')
map.c:701: error: 'VI_CHANGE_TO_EOL' undeclared here (not in a function)
map.c:701: error: initializer element is not constant
map.c:701: error: (near initialization for 'el_map_vi_command[67]')
map.c:702: error: initializer element is not constant
map.c:702: error: (near initialization for 'el_map_vi_command[68]')
map.c:703: error: 'VI_TO_END_WORD' undeclared here (not in a function)
map.c:703: error: initializer element is not constant
map.c:703: error: (near initialization for 'el_map_vi_command[69]')
map.c:704: error: 'VI_PREV_CHAR' undeclared here (not in a function)
map.c:704: error: initializer element is not constant
map.c:704: error: (near initialization for 'el_map_vi_command[70]')
map.c:705: error: initializer element is not constant
map.c:705: error: (near initialization for 'el_map_vi_command[71]')
map.c:706: error: initializer element is not constant
map.c:706: error: (near initialization for 'el_map_vi_command[72]')
map.c:707: error: 'VI_INSERT_AT_BOL' undeclared here (not in a function)
map.c:707: error: initializer element is not constant
map.c:707: error: (near initialization for 'el_map_vi_command[73]')
map.c:708: error: initializer element is not constant
[...]
map.c:711: error: (near initialization for 'el_map_vi_command[77]')
map.c:712: error: 'VI_REPEAT_SEARCH_PREV' undeclared here (not in a function)
map.c:712: error: initializer element is not constant
map.c:712: error: (near initialization for 'el_map_vi_command[78]')
map.c:713: error: initializer element is not constant
map.c:713: error: (near initialization for 'el_map_vi_command[79]')
map.c:714: error: 'VI_PASTE_PREV' undeclared here (not in a function)
map.c:714: error: initializer element is not constant
map.c:714: error: (near initialization for 'el_map_vi_command[80]')
map.c:715: error: initializer element is not constant
map.c:715: error: (near initialization for 'el_map_vi_command[81]')
map.c:716: error: 'VI_REPLACE_MODE' undeclared here (not in a function)
map.c:716: error: initializer element is not constant
map.c:716: error: (near initialization for 'el_map_vi_command[82]')
map.c:717: error: 'VI_SUBSTITUTE_LINE' undeclared here (not in a function)
map.c:717: error: initializer element is not constant
map.c:717: error: (near initialization for 'el_map_vi_command[83]')
map.c:718: error: 'VI_TO_PREV_CHAR' undeclared here (not in a function)
map.c:718: error: initializer element is not constant
map.c:718: error: (near initialization for 'el_map_vi_command[84]')
map.c:719: error: initializer element is not constant
map.c:719: error: (near initialization for 'el_map_vi_command[85]')
map.c:720: error: initializer element is not constant
map.c:720: error: (near initialization for 'el_map_vi_command[86]')
map.c:721: error: 'VI_NEXT_SPACE_WORD' undeclared here (not in a function)
map.c:721: error: initializer element is not constant
map.c:721: error: (near initialization for 'el_map_vi_command[87]')
map.c:722: error: initializer element is not constant
map.c:722: error: (near initialization for 'el_map_vi_command[88]')
map.c:723: error: initializer element is not constant
[...]
map.c:729: error: (near initialization for 'el_map_vi_command[95]')
map.c:730: error: initializer element is not constant
map.c:730: error: (near initialization for 'el_map_vi_command[96]')
map.c:731: error: 'VI_ADD' undeclared here (not in a function)
map.c:731: error: initializer element is not constant
map.c:731: error: (near initialization for 'el_map_vi_command[97]')
map.c:732: error: 'VI_PREV_WORD' undeclared here (not in a function)
map.c:732: error: initializer element is not constant
map.c:732: error: (near initialization for 'el_map_vi_command[98]')
map.c:733: error: 'VI_CHANGE_META' undeclared here (not in a function)
map.c:733: error: initializer element is not constant
map.c:733: error: (near initialization for 'el_map_vi_command[99]')
map.c:734: error: 'VI_DELETE_META' undeclared here (not in a function)
map.c:734: error: initializer element is not constant
map.c:734: error: (near initialization for 'el_map_vi_command[100]')
map.c:735: error: 'VI_END_WORD' undeclared here (not in a function)
map.c:735: error: initializer element is not constant
map.c:735: error: (near initialization for 'el_map_vi_command[101]')
map.c:736: error: 'VI_NEXT_CHAR' undeclared here (not in a function)
map.c:736: error: initializer element is not constant
map.c:736: error: (near initialization for 'el_map_vi_command[102]')
map.c:737: error: initializer element is not constant
map.c:737: error: (near initialization for 'el_map_vi_command[103]')
map.c:738: error: initializer element is not constant
map.c:738: error: (near initialization for 'el_map_vi_command[104]')
map.c:739: error: 'VI_INSERT' undeclared here (not in a function)
map.c:739: error: initializer element is not constant
map.c:739: error: (near initialization for 'el_map_vi_command[105]')
map.c:740: error: initializer element is not constant
[...]
map.c:743: error: (near initialization for 'el_map_vi_command[109]')
map.c:744: error: 'VI_REPEAT_SEARCH_NEXT' undeclared here (not in a function)
map.c:744: error: initializer element is not constant
map.c:744: error: (near initialization for 'el_map_vi_command[110]')
map.c:745: error: initializer element is not constant
map.c:745: error: (near initialization for 'el_map_vi_command[111]')
map.c:746: error: 'VI_PASTE_NEXT' undeclared here (not in a function)
map.c:746: error: initializer element is not constant
map.c:746: error: (near initialization for 'el_map_vi_command[112]')
map.c:747: error: initializer element is not constant
map.c:747: error: (near initialization for 'el_map_vi_command[113]')
map.c:748: error: 'VI_REPLACE_CHAR' undeclared here (not in a function)
map.c:748: error: initializer element is not constant
map.c:748: error: (near initialization for 'el_map_vi_command[114]')
map.c:749: error: 'VI_SUBSTITUTE_CHAR' undeclared here (not in a function)
map.c:749: error: initializer element is not constant
map.c:749: error: (near initialization for 'el_map_vi_command[115]')
map.c:750: error: 'VI_TO_NEXT_CHAR' undeclared here (not in a function)
map.c:750: error: initializer element is not constant
map.c:750: error: (near initialization for 'el_map_vi_command[116]')
map.c:751: error: 'VI_UNDO' undeclared here (not in a function)
map.c:751: error: initializer element is not constant
map.c:751: error: (near initialization for 'el_map_vi_command[117]')
map.c:752: error: initializer element is not constant
map.c:752: error: (near initialization for 'el_map_vi_command[118]')
map.c:753: error: 'VI_NEXT_WORD' undeclared here (not in a function)
map.c:753: error: initializer element is not constant
map.c:753: error: (near initialization for 'el_map_vi_command[119]')
map.c:754: error: 'ED_DELETE_NEXT_CHAR' undeclared here (not in a function)
map.c:754: error: initializer element is not constant
map.c:754: error: (near initialization for 'el_map_vi_command[120]')
map.c:755: error: initializer element is not constant
[...]
map.c:759: error: (near initialization for 'el_map_vi_command[125]')
map.c:760: error: 'VI_CHANGE_CASE' undeclared here (not in a function)
map.c:760: error: initializer element is not constant
map.c:760: error: (near initialization for 'el_map_vi_command[126]')
map.c:761: error: initializer element is not constant
map.c:761: error: (near initialization for 'el_map_vi_command[127]')
map.c:762: error: initializer element is not constant
[...]
map.c:888: error: (near initialization for 'el_map_vi_command[254]')
map.c:890: error: initializer element is not constant
map.c:890: error: (near initialization for 'el_map_vi_command[255]')
map.c: In function 'map_init_nls':
map.c:976: warning: assignment makes integer from pointer without a cast
map.c: In function 'map_init_meta':
map.c:991: warning: comparison between pointer and integer
map.c:995: warning: comparison between pointer and integer
map.c:1017: warning: assignment makes integer from pointer without a cast
map.c: In function 'map_init_emacs':
map.c:1069: warning: assignment makes integer from pointer without a cast
map.c:1078: error: 'EM_EXCHANGE_MARK' undeclared (first use in this function)
map.c:1078: warning: passing argument 2 of 'key_map_cmd' makes integer from pointer without a cast
map.c: In function 'map_print_some_keys':
map.c:1161: warning: comparison between pointer and integer
map.c: In function 'map_bind':
map.c:1326: warning: comparison between pointer and integer
map.c:1329: warning: assignment makes integer from pointer without a cast
map.c:1358: warning: assignment makes integer from pointer without a cast
map.c:1372: warning: assignment makes integer from pointer without a cast
In file included from editline.c:14:
read.c: In function 'read_getcmd':
read.c:239: warning: initialization makes integer from pointer without a cast
read.c:242: warning: comparison between pointer and integer
read.c:242: warning: comparison between pointer and integer
read.c:259: warning: comparison between pointer and integer
In file included from editline.c:16:
search.c: In function 'c_setpat':
search.c:174: warning: comparison between pointer and integer
search.c:175: warning: comparison between pointer and integer
search.c: In function 'ce_inc_search':
search.c:234: warning: comparison between pointer and integer
search.c:262: error: 'EM_INC_SEARCH_NEXT' undeclared (first use in this function)
search.c:263: warning: assignment makes integer from pointer without a cast
search.c:267: error: 'EM_INC_SEARCH_PREV' undeclared (first use in this function)
search.c:268: warning: assignment makes integer from pointer without a cast
search.c:350: warning: comparison between pointer and integer
search.c:357: warning: comparison between pointer and integer
search.c:363: warning: comparison between pointer and integer
search.c:382: warning: comparison between pointer and integer
search.c:387: warning: comparison between pointer and integer
search.c: In function 'cv_search':
search.c:464: warning: comparison between pointer and integer
search.c:514: warning: comparison between pointer and integer
search.c: In function 'ce_search_line':
search.c:539: warning: comparison between pointer and integer
In file included from editline.c:18:
term.c: In function 'term_move_to_line':
term.c:562: warning: implicit declaration of function 'tputs'
term.c:562: warning: implicit declaration of function 'tgoto'
term.c: In function 'term_set':
term.c:919: warning: implicit declaration of function 'tgetent'
term.c:937: warning: implicit declaration of function 'tgetflag'
term.c:946: warning: implicit declaration of function 'tgetnum'
term.c:949: warning: implicit declaration of function 'tgetstr'
term.c:949: warning: passing argument 3 of 'term_alloc' makes pointer from integer without a cast
term.c: In function 'term_init_arrow':
term.c:1039: warning: assignment makes integer from pointer without a cast
term.c:1044: warning: assignment makes integer from pointer without a cast
term.c:1049: warning: assignment makes integer from pointer without a cast
term.c:1054: warning: assignment makes integer from pointer without a cast
term.c:1059: warning: assignment makes integer from pointer without a cast
term.c:1064: warning: assignment makes integer from pointer without a cast
term.c: In function 'term_bind_arrow':
term.c:1212: warning: comparison between pointer and integer
term.c:1215: warning: assignment makes integer from pointer without a cast
term.c:1216: warning: comparison between pointer and integer
term.c: In function 'term_echotc':
term.c:1447: warning: assignment makes pointer from integer without a cast
In file included from editline.c:19:
tty.c: At top level:
tty.c:127: error: initializer element is not constant
tty.c:127: error: (near initialization for 'tty_map[0].bind[0]')
tty.c:127: error: initializer element is not constant
tty.c:127: error: (near initialization for 'tty_map[0].bind[1]')
tty.c:127: error: initializer element is not constant
[...]
tty.c:158: error: (near initialization for 'tty_map[6].bind[0]')
tty.c:158: error: initializer element is not constant
tty.c:158: error: (near initialization for 'tty_map[6].bind[1]')
tty.c:158: error: initializer element is not constant
tty.c:158: error: (near initialization for 'tty_map[6].bind[2]')
In file included from editline.c:20:
fcns.c:8: warning: initialization makes pointer from integer without a cast
fcns.c:9: warning: initialization makes pointer from integer without a cast
fcns.c:11: warning: initialization makes pointer from integer without a cast
fcns.c:13: warning: initialization makes pointer from integer without a cast
fcns.c:18: warning: initialization makes pointer from integer without a cast
fcns.c:19: warning: initialization makes pointer from integer without a cast
fcns.c:20: warning: initialization makes pointer from integer without a cast
fcns.c:20: warning: initialization makes pointer from integer without a cast
fcns.c:22: warning: initialization makes pointer from integer without a cast
fcns.c:25: warning: initialization makes pointer from integer without a cast
fcns.c:26: warning: initialization makes pointer from integer without a cast
fcns.c:26: warning: initialization makes pointer from integer without a cast
fcns.c:28: warning: initialization makes pointer from integer without a cast
fcns.c:29: warning: initialization makes pointer from integer without a cast
fcns.c:31: warning: initialization makes pointer from integer without a cast
fcns.c:31: warning: initialization makes pointer from integer without a cast
fcns.c:32: warning: initialization makes pointer from integer without a cast
fcns.c:33: warning: initialization makes pointer from integer without a cast
fcns.c:33: warning: initialization makes pointer from integer without a cast
fcns.c:36: warning: initialization makes pointer from integer without a cast
fcns.c:38: warning: initialization makes pointer from integer without a cast
fcns.c:40: warning: initialization makes pointer from integer without a cast
fcns.c:40: warning: initialization makes pointer from integer without a cast
fcns.c:41: warning: initialization makes pointer from integer without a cast
fcns.c:42: warning: initialization makes pointer from integer without a cast
fcns.c:43: warning: initialization makes pointer from integer without a cast
fcns.c:43: warning: initialization makes pointer from integer without a cast
fcns.c:44: warning: initialization makes pointer from integer without a cast
fcns.c:45: warning: initialization makes pointer from integer without a cast
fcns.c:46: warning: initialization makes pointer from integer without a cast
fcns.c:46: warning: initialization makes pointer from integer without a cast
In file included from editline.c:21:
help.c:5: error: 'ED_END_OF_FILE' undeclared here (not in a function)
help.c:5: error: initializer element is not constant
help.c:5: error: (near initialization for 'el_func_help[0].func')
help.c:7: error: initializer element is not constant
help.c:7: error: (near initialization for 'el_func_help[1].func')
help.c:9: error: initializer element is not constant
help.c:9: error: (near initialization for 'el_func_help[2].func')
[...]
help.c:53: error: (near initialization for 'el_func_help[24].func')
help.c:55: error: initializer element is not constant
help.c:55: error: (near initialization for 'el_func_help[25].func')
help.c:57: error: 'ED_START_OVER' undeclared here (not in a function)
help.c:57: error: initializer element is not constant
help.c:57: error: (near initialization for 'el_func_help[26].func')
[...]
help.c:67: error: initializer element is not constant
help.c:67: error: (near initialization for 'el_func_help[31].func')
help.c:69: error: 'ED_PREV_LINE' undeclared here (not in a function)
help.c:69: error: initializer element is not constant
help.c:69: error: (near initialization for 'el_func_help[32].func')
help.c:71: error: 'ED_NEXT_LINE' undeclared here (not in a function)
help.c:71: error: initializer element is not constant
help.c:71: error: (near initialization for 'el_func_help[33].func')
[...]
help.c:85: error: initializer element is not constant
help.c:85: error: (near initialization for 'el_func_help[40].func')
help.c:87: error: 'EM_GOSMACS_TRASPOSE' undeclared here (not in a function)
help.c:87: error: initializer element is not constant
help.c:87: error: (near initialization for 'el_func_help[41].func')
[...]
help.c:97: error: initializer element is not constant
help.c:97: error: (near initialization for 'el_func_help[46].func')
help.c:99: error: 'EM_EXCHANGE_MARK' undeclared here (not in a function)
help.c:99: error: initializer element is not constant
help.c:99: error: (near initialization for 'el_func_help[47].func')
help.c:101: error: 'EM_UNIVERSAL_ARGUMENT' undeclared here (not in a function)
help.c:101: error: initializer element is not constant
help.c:101: error: (near initialization for 'el_func_help[48].func')
help.c:103: error: initializer element is not constant
help.c:103: error: (near initialization for 'el_func_help[49].func')
help.c:105: error: 'EM_TOGGLE_OVERWRITE' undeclared here (not in a function)
help.c:105: error: initializer element is not constant
help.c:105: error: (near initialization for 'el_func_help[50].func')
help.c:107: error: initializer element is not constant
help.c:107: error: (near initialization for 'el_func_help[51].func')
help.c:109: error: 'EM_INC_SEARCH_NEXT' undeclared here (not in a function)
help.c:109: error: initializer element is not constant
help.c:109: error: (near initialization for 'el_func_help[52].func')
help.c:111: error: 'EM_INC_SEARCH_PREV' undeclared here (not in a function)
help.c:111: error: initializer element is not constant
help.c:111: error: (near initialization for 'el_func_help[53].func')
[...]
help.c:183: error: initializer element is not constant
help.c:183: error: (near initialization for 'el_func_help[89].func')
editline.c: In function 'ed_quoted_insert':
common.c:390: warning: control reaches end of non-void function
make[2]: *** [editline.o_a] Error 1
make[1]: *** [editline/libedit.a] Error 2
make: *** [main] Error 2
root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0#
Gleiche Fehler (mit ufsteigendem Zähler o.ä. Vergleichbarkeit) habe ich dabei mit [...] markiert, um alles in den Beitrag reinzukriegen...

irgendwelche ideen?

gruß und danke im voraus,
astrakid
Benutzeravatar
Tim
Administrator
Beiträge: 160
Registriert: Sa 1. Nov 2008, 00:02
Wohnort: Freilassing / Oberbayern / Deutschland
Kontaktdaten:

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von Tim »

Hallo,

aus irgendeinem Grund sieht es für mich aus, als ob "XMLDOC" versucht wird zu kompilieren. Vielleicht mal im Menuconfig schauen und gegebenenfals deaktivieren.

Grüße
Tim
Dipl.-Ing. Tim Grünberg
dCAP zertifiziert seit 2007

Debian Jessie x86_64
Asterisk 13.5.0
Deutsche Telekom All IP Anschluss
SNOM 370, SNOM M3 & Grandstream GXP2000

AMD Athlon II X4 605e -- 16 GB DDR3 RAM -- 2 TB SATA2 HDD Space
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

hi, danke für den hinweis.
hab durch alle dateien gegrepped, aber xmldoc taucht nur in folgenden dateien auf:

main/asterisk.c
main/manager.c
main/pbx.c
main/xml.c
main/xmldoc.c
res/res_agi.c

nix mit menu*...

aber ich schaue mich mal um, ob ich irgendwie das libxml2-devel paket finde. dann kann ich ja mit xmldoc kompilieren...
über weitere hinweise würde ich mich dennoch freuen.

hat einer eine gute anleitung, wie ich mit einem beliebigen linux für tomato cross-compilen kann? dann würde ich das noch mal auf diesem wege probieren (in einer vm).

gruß,
astrakid
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

hab jetzt die sorucen von libxml2-dev heruntergeladen und kompiliert. das hat funktioniert, asterisk wird gerade kompiliert (dieses mal mit xmldoc aktiviert)... mal sehen was passiert. in ca. 90 minuten weiß ich mehr. ;-)

edit: so, gerade eben ist "make" mit der gleichen fehlermeldung wie vorher abgebrochen...

ich verstehe es einfach nicht...

gruß,
astrakid
Antworten