Ronald Wiplinger
2006-Jan-21 18:14 UTC
[Asterisk-Users] cvs asterisk compile failed (newer libpri)
I used: cvs checkout zaptel libpri asterisk asterisk-addons asterisk-sounds iaxyprov astcc and in the same order I try to compile it. Asterisk ends with the lines below. It complains of a newer libpri, but I just did it a step before! What do I miss? chan_zap.c:62:2: #error "You need newer libpri" chan_zap.c:128: error: parse error before '<<' token chan_zap.c:133:1: warning: "DEFAULT_CIDRINGS" redefined chan_zap.c:130:1: warning: this is the location of the previous definition chan_zap.c: In function `zt_call': chan_zap.c:2130: warning: passing arg 2 of `pri_sr_set_useruser' discards qualifiers from pointer target type chan_zap.c: In function `zap_send_keypad_facility_exec': chan_zap.c:2254: warning: implicit declaration of function `pri_keypad_facility' chan_zap.c: In function `zt_hangup': chan_zap.c:2524: warning: passing arg 2 of `pri_call_set_useruser' discards qualifiers from pointer target type chan_zap.c:2533: warning: passing arg 2 of `pri_call_set_useruser' discards qualifiers from pointer target type chan_zap.c: In function `description': chan_zap.c:11081: error: `desc' undeclared (first use in this function) chan_zap.c:11081: error: (Each undeclared identifier is reported only once chan_zap.c:11081: error: for each function it appears in.) make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/usr/local/src/asterisk/channels' make: *** [subdirs] Error 1
Dave Cotton
2006-Jan-21 21:10 UTC
[Asterisk-Users] cvs asterisk compile failed (newer libpri)
On Sun, 2006-01-22 at 09:14 +0800, Ronald Wiplinger wrote:> I used: > > cvs checkout zaptel libpri asterisk asterisk-addons asterisk-sounds > iaxyprov astcc > > and in the same order I try to compile it. > Asterisk ends with the lines below. It complains of a newer libpri, but > I just did it a step before! > What do I miss? >Did you "make install" libpri? -- Dave Cotton <dcotton@linuxautrement.com>
Ronald Wiplinger
2006-Jan-21 22:55 UTC
[Asterisk-Users] cvs asterisk compile failed (newer libpri)
Dave Cotton wrote:> On Sun, 2006-01-22 at 09:14 +0800, Ronald Wiplinger wrote: > >> I used: >> >> cvs checkout zaptel libpri asterisk asterisk-addons asterisk-sounds >> iaxyprov astcc >> >> and in the same order I try to compile it. >> Asterisk ends with the lines below. It complains of a newer libpri, but >> I just did it a step before! >> What do I miss? >> >> > > Did you "make install" libpri? > >yes I did! ls -l /usr/lib/libpri* -rw-r--r-- 1 root root 362386 Jan 22 09:17 /usr/lib/libpri.a lrwxrwxrwx 1 root root 11 Jan 22 09:17 /usr/lib/libpri.so -> libpri.so.1 lrwxrwxrwx 1 root root 13 Feb 15 2005 /usr/lib/libpri.so.1 -> libpri.so.1.0 -rwxr-xr-x 1 root root 262614 Jan 22 09:17 /usr/lib/libpri.so.1.0 The only thing what I found on the web site is, that it does not mention cvs anymore, but svn. Could this result in different versions? bye Ronald Wiplinger
Dave Cotton
2006-Jan-22 02:44 UTC
[Asterisk-Users] Warnings in compiling asterisk (modules)
On Sun, 2006-01-22 at 15:23 +0800, Ronald Wiplinger wrote:> 1. At the end of compiling asterisk I got a lot of warnings. How can I > solve that? > > I used: > > # svn checkout http://svn.digium.com/svn/zaptel/trunk zaptel > # svn checkout http://svn.digium.com/svn/libpri/trunk libpri > # svn checkout http://svn.digium.com/svn/asterisk /trunk asterisk > # svn checkout http://svn.digium.com/svn/asterisk-addons/trunk > asterisk-addons > # svn checkout http://svn.digium.com/svn/asterisk-sounds/trunk > asterisk-sounds > # svn checkout http://svn.digium.com/svn/iaxyprov/trunk iaxyprov > > compiled in the same order and than asterisk again! > > make clean; make update; make install > > 2. I did not "make samples". What is the best way to get the new and > existing config files mixed? > > > WARNING WARNING WARNING > > Your Asterisk modules directory, located at > /usr/lib/asterisk/modules > contains modules that were not installed by this > version of Asterisk. Please ensure that these > modules are compatible with this version before > attempting to run Asterisk. > > app_addon_sql_mysql.so > app_enumlookup.so > app_eval.so > app_groupcount.so > app_intercom.so > app_math.so > app_md5.so > app_rxfax.so > app_saycountpl.so > app_setcidname.so > app_setcidnum.so > app_setrdnis.so > app_striplsd.so > app_substring.so > app_txfax.so > app_txtcidname.so > cdr_addon_mysql.so > chan_modem.so > chan_modem_aopen.so > chan_modem_bestdata.so > chan_modem_i4l.so > codec_g729a_x86_64.so > format_mp3.so > res_config_mysql.so > > WARNING WARNING WARNINGsvn asterisk-addons because the modules you had before may have changed that will get rid of some of the warnings. Add txfax/rxfax to your Makefile etc as before, that will get rid of some more. You have a G729a module installed so follow the instructions for that and that will get rid of another. The rest are then redundant. -- Dave Cotton <dcotton@linuxautrement.com>