TomatoUSB und Asterisk kompilieren - Fehlermeldung

Kompilieren von Asterisk, ZAPTel, Asterisk-Addons usw.

Moderatoren: rainer, Tim

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 ..

ist die libncurses-dev, libedit2 und libeditline0 installiert?

libedit2 und libeditline0 sind bei mir unter /usr/lib
libncurses-dev unter /lib
Gruß Rainer
Zuletzt geändert von rainer am Do 22. Sep 2011, 15:51, insgesamt 1-mal geändert.
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 »

libncurses-dev nein, nur ncurses-dev - 5.7-1 - NCurses libraries, header files
libedit-dev nein
libeditline-dev nein

brauche ich die pakete definitiv? hab auf die schnelle auch keine src gefunden... ich würde aber eine fehlermeldung erwarten, wenn er ein paket braucht und nicht findet.

der vollständigkeit halber mal alle installierten pakete:

Code: Alles auswählen

root@Rantanplan_Asus:/opt# ipkg list_installed
apr - 1.4.5-1 - Apache Portable Runtime library
apr-util - 1.3.12-1 - Apache Portable Runtime utilities library
asterisk18 - 1.8.6.0-1 - Asterisk is an Open Source PBX and telephony toolkit.
bash - 3.2.49-1 - A bourne style shell
buildroot - 4.1.1-13 - uClibc compilation toolchain
bzip2 - 1.0.6-1 - Very high-quality data compression program
coreutils - 8.4-1 - Bunch of heavyweight *nix core utilities
cyrus-sasl-libs - 2.1.23-2 - Provides client or server side authentication (see RFC 2222).
diffutils - 3.1-1 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files
e2fslibs - 1.41.12-1 - Ext2 Filesystem Libraries
expat - 2.0.1-1 - XML Parser library
ffmpeg - 0.svn20080409-3 - FFmpeg is an audio/video conversion tool.
file - 5.08-1 - Ubiquitous file identification utility.
findutils - 4.2.32-1 - File finding utilities
flac - 1.2.1-1 - FLAC is a free lossless audio codec.  This package contains the codec libraries and the command-line tools flac and metaflac.
flex - 2.5.35-1 - Generates programs that perform pattern-matching on text.
gawk - 4.0.0-1 - Gnu AWK interpreter
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
glib - 2.20.4-1 - The GLib library of C routines.
grep - 2.9-1 - Global regular expression parser
groff - 1.19.2-2 - front-end for the groff document formatting system
gzip - 1.4-4 - GNU Zip data compression program
ipkg-opt - 0.99.163-10 - The Itsy Package Manager
lame - 3.98.4-1 - LAME is an LGPL MP3 encoder.
libao - 0.8.8-1 - Cross Platform Audio Library.
libcurl - 7.21.7-1 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libdb - 4.2.52-3 - Berkeley DB Libraries
libid3tag - 0.15.1b-1 - The library used for ID3 tag reading
libidn - 1.21-1 - GNU Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domai
libmad - 0.15.1b-4 - MPEG Audio Decoder library
libogg - 1.2.1-1 - Ogg is a multimedia container format.
libpng - 1.2.44-1 - Portable Network Graphics Libraries
libsndfile - 1.0.24-1 - A C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) throu
libtiff - 3.9.5-1 - Tag Image File Format Libraries
libtool - 1.5.26-1 - Library tools.
libuclibc++ - 0.2.2-9 - C++ standard library designed for use in embedded systems
libvorbis - 1.3.2-1 - Ogg Vorbis compressed audio format.
libxml2 - 2.7.8-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
m4 - 1.4.13-1 - gnu macro processor and compiler front end
make - 3.82-1 - examines files and runs commands necessary for compilation
ncurses - 5.7-1 - NCurses libraries
ncurses-dev - 5.7-1 - NCurses libraries, header files
ncursesw - 5.7-1 - NCurses libraries with wide char support
neon - 0.29.3-1 - an HTTP and WebDAV client library, with a C interface
newt - 0.52.7-1 - Not Erik''s Windowing Toolkit - text mode windowing with slang.
openldap-libs - 2.3.43-2 - Open Lightweight Directory Access Protocol
openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
patch - 2.6.1-1 - applies a diff to produce a patched file
pcre - 8.13-1 - Perl-compatible regular expression library
perl - 5.8.8-23 - Practical Extraction and Report Language.
pkgconfig - 0.15.0-2 - Package configuration tool
popt - 1.16-1 - A C library for parsing command line parameters.
procps - 3.2.8-1 - PROCPS System Utilities
psmisc - 22.13-1 - A set of some small useful utilities that use the proc filesystem.
python25 - 2.5.6-1 - Python is an interpreted, interactive, object-oriented programming language.
readline - 6.1-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
rsync - 3.0.8-1 - fast remote file copy program (like rcp)
sed - 4.2.1-1 - Stream editor.
slang - 2.1.4-1 - S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
sqlite - 3.7.3-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
tar - 1.26-1 - heavyweight version of the Tape ARchiver
tcl - 8.4.19-2 - The Tool Command Language
termcap - 1.3.1-2 - Terminal emulation library
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
util-linux - 2.12r-6 - A suite of essential utilities for any Linux system.
wavpack - 4.50.1-1 - WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression m
zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system.
Successfully terminated.
edit: ich glaube readline ist ein zu editline vergleichbares paket...

gruß,
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 »

suche mal nach libedit2 und libeditline0 ...

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 »

# Asterisk: basic requirements:
libncurses-dev libz-dev libssl-dev libxml2-dev

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 »

zlib und editlib werden gerade kompiliert...

gibt es eine möglichkeit, beim kompilieren von asterisk mehr informationen zu erhalten? jetzt nicht unbedingt ein debug-log, aber halt etwas mehr infos als bisher...

edit: weiterhin keine besserung...

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, habe das ganze jetzt auch mal mit der asterisk 10 beta probiert, auch hier genau die gleiche fehlermeldung...
hat keiner eine idee? ich verzweifel endgültig...

gruß,
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 »

guten morgen ...

ich habe hier noch etwas gelesen ....

Quelle: http://www.telecom-cafe.com/forum/archi ... age-2.html

1. Maybe you can update to the latest C Dev Environment... I just figure out I can't use the latest Asterisk 1.6 ipk distribution because it is not compatible with my old glibc

2. Such as the C/C++ compiler, I've seen the above "error: expected identifier or '(' before numeric constant " usually reported on GCC 3.x.x while 4.1.1 should no longer complaint.

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
astrakid
Regelmäßiger Poster
Beiträge: 62
Registriert: Di 20. Sep 2011, 13:55

Re: TomatoUSB und Asterisk kompilieren - Fehlermeldung

Beitrag von astrakid »

herzlichen dank. leider gibt es dabei 2 probleme:
1. ich kann nicht so einfach den gcc wechseln (habe es nicht hinbekommen, den auf dem system zu kompilieren)
2. habe ich schon 4.1.1 drauf:
root@Rantanplan_Asus:/opt# gcc -dumpversion
4.1.1

also sollte der fehler eigentlich nicht auftreten.

aber trotzdem vermute ich, dass es am compiler liegt. mal schauen, wie ich an eine neuere version komme.

gruß,
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 ...

./configure --with-ncurses=[PATH zum ncurses]

use ncurses file in PATH

... testen

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 »

ich versuche es zunächst mit --with-ncurses.

welchen pfad muss ich hier angeben? bin, include oder lib? ich versuche es mal mit bin, das macht am meisten sinn aus meiner sicht... edit: hat aber nicht geklappt, dann sagt er, dass NCURSES nicht zu finden ist.

root@Rantanplan_Asus:/opt/16gb/tmp/asterisk-1.8.6.0# find /opt -name "*ncurses*"
/opt/bin/ncurses-clear
/opt/bin/ncurses5-config
/opt/bin/ncursesw5-config
/opt/include/ncurses
/opt/lib/ipkg/info/ncurses.control
/opt/lib/ipkg/info/ncurses.postinst
/opt/lib/ipkg/info/ncurses.prerm
/opt/lib/ipkg/info/ncurses.list
/opt/lib/ipkg/info/ncursesw.control
/opt/lib/ipkg/info/ncursesw.list
/opt/lib/libncurses.so
/opt/lib/libncurses.so.5
/opt/lib/libncurses.so.5.7
/opt/lib/libncursesw.so
/opt/lib/libncursesw.so.5
/opt/lib/libncursesw.so.5.7


jetzt kompiliere ich gerade mal einen durchgang mit --without-ncurses. mal schauen, was er dann ausspuckt... configure und make menuselect ist schonmal sauber durchgelaufen...

gruß,
astrakid
Antworten