[Home]

Summary:ASTERISK-14700: error on compiling asterisk-addons-1.6.2.0-rc1
Reporter:Berganz Francois (fcois93)Labels:
Date Opened:2009-08-24 03:37:28Date Closed:2011-06-07 14:01:02
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Addons/res_config_mysql
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:hello, I tried to compil asterisk-addons-1.6.2.0-rc1,
and I have thatr error:

  [CC] res_config_mysql.c -> res_config_mysql.o
res_config_mysql.c:1367: error: unknown field âupdate2_funcâ specified in initializer
res_config_mysql.c: In function âparse_configâ:
res_config_mysql.c:1432: error: âCONFIG_STATUS_FILEMISSINGâ undeclared (first use in this function)
res_config_mysql.c:1432: error: (Each undeclared identifier is reported only once
res_config_mysql.c:1432: error: for each function it appears in.)
res_config_mysql.c:1436: error: âCONFIG_STATUS_FILEINVALIDâ undeclared (first use in this function)


****** ADDITIONAL INFORMATION ******

my all command with a new debian install:

apt-get install curl doxygen libnewt-dev mysql-client php5 php5-cli libmysqlclient15-dev libncurses5 libncurses5-dev openssl libssl-dev libssl0.9.8 mpg123 make g++ subversion subversion-tools newt-tcl linux-headers-`uname -r` php5-memcache php-pear


DAHDI
#cd /usr/src
#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
#tar zxfv dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
#cd dahdi-linux-complete-2.2.0.2+2.2.0/
#make all && make install && make config

LIBPRI
#wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.tar.gz
#tar zxfv libpri-1.4.10.tar.gz
#cd libpri-1.4.10
#make && make install



ASTERISK
#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1.5-rc1.tar.gz
#tar zxfv asterisk-1.6.1.5-rc1.tar.gz
#ln -s asterisk-1.6.1.5-rc1 asterisk
#cd asterisk

#./configure && make menuselect --> attention à vérifier que chan_dahdi soit sélectionné
#make && make install && make samples

#cp /usr/src/asterisk/contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk
#/usr/sbin/update-rc.d asterisk defaults 99 99
#groupadd asterisk
#useradd asterisk -g asterisk
#vim /etc/init.d/asterisk
Décommenter :
AST_USER="asterisk"
AST_GROUP="asterisk"
#vim /etc/asterisk/asterisk.conf
Effacer le (!)…
Changer: astrundir => /var/run/asterisk

#mkdir /var/run/asterisk
#chown  asterisk /var/run/asterisk/
#chown  asterisk /etc/asterisk -R
#chown asterisk /var/lib/asterisk -R
#chmod 777 /var/log/asterisk
#chown asterisk /usr/lib/asterisk/ -R
#chown asterisk /var/spool/asterisk/ -R

#chown asterisk /etc/dahdi -R
#chown asterisk /lib/modules/2.6.26-2-686/dahdi -R
#chown asterisk /usr/share/dahdi


ADDONS
#wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.2.0-rc1.tar.gz
#tar zxfv asterisk-addons-1.6.2.0-rc1.tar.gz
#cd asterisk-addons-1.6.2.0-rc1

#./configure && make menuselect && make && make install && make samples
Comments:By: Berganz Francois (fcois93) 2009-08-24 04:42:35

all that commands could work with olders versions

By: Berganz Francois (fcois93) 2009-08-24 07:34:07

I didn't use the right addons version.
I am sorry

please delete the issue