Re: [asterisk-users] Compile error with libpri 1.4.15
On Tue, Feb 02, 2016 at 11:57:08AM -0500, Jerry Geis wrote: > make[4]: Entering directory > `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' > /usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or > directory > /usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory > /usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory > /usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory > /usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory > /usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or > directory > /usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory Those should have been generated by pod2man. Look for '%.8: %' in xpp/Makefile.am . So it seems that a check for pod2man needs to be added to the configure script. For now, generate a dummy pod2man binary somewhere in your path. Or just install perl-doc or whatever it is called. For instance: ln -s /bun/true /usr/local/bin/pod2man # Results in empty man pages I stress that this is a TEMPORARY WORKAROUND until the configure script is adapted. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Compile error with libpri 1.4.15
I am getting this: make gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c pritest.c:50:28: fatal error: dahdi/tonezone.h: No such file or directory #include I am using dahdi-linux-complete-2.11.0+2.11.0 I did "find . | grep timezone.h" from the dahdi root and its not there. LIBPRI is 1.4.15 DAHDI version is mentioned above What might I be missing? Thanks, Jerry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Compile error with libpri 1.4.15
In article, Jerry Geis wrote: > > I am getting this: > > make > gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 > -MD -MT pritest.o -MF .pritest.o.d -MP -c -o pritest.o pritest.c > pritest.c:50:28: fatal error: dahdi/tonezone.h: No such file or directory > #include > > I am using dahdi-linux-complete-2.11.0+2.11.0 > > I did "find . | grep timezone.h" from the dahdi root and its not there. It's tonezone.h, not timezone.h And it is being looked for in /usr/include/dahdi/tonezone.h, not in the dahdi source directory. You need to have installed DAHDI before compiling libpri or asterisk. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Compile error with libpri 1.4.15
I am getting an error on DAHDI The make seems OK, its the make install that shows issues. make install | grep tools WARNING: could not find /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o (cd tools && [ -f config.status ] || ./configure --with-dahdi=../linux) make -C tools all make[1]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[2]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/doc' make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/doc' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug' make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/hotplug' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[2]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[1]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' WARNING: could not find /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/.vpmadt032_x86_64.o.cmd for /home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/linux/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o build_tools/uninstall-modules dahdi 3.10.0-327.3.1.el7.x86_64 ### dahdi-tools. make -C tools install make[1]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make[2]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp/perl_modules' make[3]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[4]: Entering directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' /usr/bin/install: cannot stat ‘./dahdi_registration.8’: No such file or directory /usr/bin/install: cannot stat ‘./xpp_sync.8’: No such file or directory /usr/bin/install: cannot stat ‘./lsdahdi.8’: No such file or directory /usr/bin/install: cannot stat ‘./xpp_blink.8’: No such file or directory /usr/bin/install: cannot stat ‘./dahdi_genconf.8’: No such file or directory /usr/bin/install: cannot stat ‘./dahdi_hardware.8’: No such file or directory /usr/bin/install: cannot stat ‘./twinstar.8’: No such file or directory make[4]: *** [install-man8] Error 1 make[4]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools/xpp' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/silentm/LayeredSolutions/digium/dahdi-linux-complete-2.11.0+2.11.0/tools' make:
Re: [asterisk-users] Compile error with libpri 1.4.15
> You need to have installed DAHDI before compiling libpri or asterisk Thanks Tony, in fact I have compiled DAHDI complete 2.11.0+2.11.0 - It did not show any errors. I did make; make install on the DAHDI source crazy typo... :) in fact I do have tonezone.h in the dahdi source tree. but not in /usr/include find /usr/include/dahdi/ /usr/include/dahdi/ /usr/include/dahdi/kernel.h /usr/include/dahdi/user.h /usr/include/dahdi/fasthdlc.h /usr/include/dahdi/wctdm_user.h /usr/include/dahdi/dahdi_config.h What up? jerry -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Compile error with libpri 1.4.15
In article, Jerry Geis wrote: > > > You need to have installed DAHDI before compiling libpri or asterisk > > Thanks Tony, > > in fact I have compiled DAHDI complete 2.11.0+2.11.0 - It did not show any > errors. > I did make; make install on the DAHDI source > > crazy typo... :) in fact I do have tonezone.h in the dahdi source tree. > but not in /usr/include > find /usr/include/dahdi/ > /usr/include/dahdi/ > /usr/include/dahdi/kernel.h > /usr/include/dahdi/user.h > /usr/include/dahdi/fasthdlc.h > /usr/include/dahdi/wctdm_user.h > /usr/include/dahdi/dahdi_config.h > > What up? Maybe it didn't install properly? Try doing "make install" in DAHDI again (as root, of course) and watch it closely. I haven't tried 2.11.0. On my boxes with 2.10.0.1, /usr/include/dahdi/tonezone.h does exist. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Compile error 1.8.8.1
Hi, While compiling 1.8.8.1, I met the following error: [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o - libdb1.a [LD] abstract_jb.o acl.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a - asterisk pbx.o: In function `ast_str_substitute_variables_full': /usr/src/asterisk/asterisk-1.8.8.1/main/pbx.c:3786: undefined reference to `ast_str_expr' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make: *** [main] Error 2 Without making any further changes, compiling 1.8.8.0 worked without any errors. It seems, this is stemming from compiling: [CC] xmldoc.c - xmldoc.o I ran with --disable-xmldoc flag while running ./configure, and this time also compilation failed with the same error. I've reverted back to using 1.8.8.0. Any suggestions on why this is happening, or what am I doing wrong? Regards HASSAN -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Compile error 1.8.8.1
On 12-01-18 04:19 AM, Nyamul Hassan wrote: Hi, While compiling 1.8.8.1, I met the following error: [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o - libdb1.a [LD] abstract_jb.o acl.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a - asterisk pbx.o: In function `ast_str_substitute_variables_full': /usr/src/asterisk/asterisk-1.8.8.1/main/pbx.c:3786: undefined reference to `ast_str_expr' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make: *** [main] Error 2 Without making any further changes, compiling 1.8.8.0 worked without any errors. It seems, this is stemming from compiling: [CC] xmldoc.c - xmldoc.o I ran with --disable-xmldoc flag while running ./configure, and this time also compilation failed with the same error. I've reverted back to using 1.8.8.0. Any suggestions on why this is happening, or what am I doing wrong? What OS? -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Compile error 1.8.8.1
Hi Paul, The OS is CentOS release 6.1 (Final) And, it is running kernel: 2.6.32-131.21.1.el6.x86_64 #1 SMP Tue Nov 22 19:48:09 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux Regards HASSAN On Wed, Jan 18, 2012 at 19:33, Paul Belanger pabelan...@digium.com wrote: On 12-01-18 04:19 AM, Nyamul Hassan wrote: Hi, While compiling 1.8.8.1, I met the following error: [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o - libdb1.a [LD] abstract_jb.o acl.o alaw.o aoc.o app.o ast_expr2.o ast_expr2f.o asterisk.o astfd.o astmm.o astobj2.o audiohook.o autochan.o autoservice.o bridging.o callerid.o ccss.o cdr.o cel.o channel.o chanvars.o cli.o config.o data.o datastore.o db.o devicestate.o dial.o dns.o dnsmgr.o dsp.o enum.o event.o features.o file.o fixedjitterbuf.o frame.o framehook.o fskmodem.o global_datastores.o hashtab.o heap.o http.o image.o indications.o io.o jitterbuf.o loader.o lock.o logger.o manager.o md5.o netsock.o netsock2.o pbx.o plc.o poll.o privacy.o rtp_engine.o say.o sched.o security_events.o sha1.o slinfactory.o srv.o ssl.o stdtime/localtime.o strcompat.o strings.o stun.o syslog.o taskprocessor.o tcptls.o tdd.o term.o test.o threadstorage.o timing.o translate.o udptl.o ulaw.o utils.o version.o xml.o xmldoc.o editline/libedit.a db1-ast/libdb1.a - asterisk pbx.o: In function `ast_str_substitute_variables_**full': /usr/src/asterisk/asterisk-1.**8.8.1/main/pbx.c:3786: undefined reference to `ast_str_expr' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make: *** [main] Error 2 Without making any further changes, compiling 1.8.8.0 worked without any errors. It seems, this is stemming from compiling: [CC] xmldoc.c - xmldoc.o I ran with --disable-xmldoc flag while running ./configure, and this time also compilation failed with the same error. I've reverted back to using 1.8.8.0. Any suggestions on why this is happening, or what am I doing wrong? What OS? -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com http://asterisk.org -- __**__**_ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] compile error for chan_h323
HI, all! During compiling chan_h323, i got the error: ast_h323.cxx: In member function ‘virtual PBoolean MyH323Connection::OnReceivedSignalSetup(const H323SignalPDU)’: ast_h323.cxx:1246: error:‘mccSlaveDeterminationProcedure’ undeclared in the scope make[2]: *** [ast_h323.o] error 1 I am using: pwlib_v1_11_0, openh323_v1_19_0_1,Asterisk-1.4.25 ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] compile error: implicit declaration of function drv_dbg
hello, I try to open the debug to compile dahdi with wcb4xxp, =base.c #ifdef DEBUG_LOWLEVEL_REGS if (unlikely(DBG_REGS)) drv_dbg(b4-dev, read 0x%02x from 0x%p\n, ret, b4-addr + reg); #endif if (unlikely(pedanticpci)) { udelay(3); } /usr/src/dahdi-linux/drivers/dahdi/wcb4xxp/base.c: In function __pci_in8: /usr/src/dahdi-linux/drivers/dahdi/wcb4xxp/base.c:150: error: implicit declaration of function drv_dbg make[3]: *** [/usr/src/dahdi-linux/drivers/dahdi/wcb4xxp/base.o] Error 1 make[2]: *** [/usr/src/dahdi-linux/drivers/dahdi/wcb4xxp] Error 2 make[1]: *** [_module_/usr/src/dahdi-linux/drivers/dahdi] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686' -- anybody knows how to drv_dbg in dahdi? thanks! lizhon ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] compile error on RHEL5 or CENTOS5
I am getting the following compile error on centos 5. Any suggestions? Jerry CC [M] /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.o /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.c: In function ‘debugfs_open’: /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.c:171: error: ‘struct inode’ has no member named ‘u’ /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.c: In function ‘proc_xbus_command_write’: /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.c:1108: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ /usr/src/digium/zaptel-1.4.1/xpp/xbus-core.c:1118: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ make[4]: *** [/usr/src/digium/zaptel-1.4.1/xpp/xbus-core.o] Error 1 make[3]: *** [/usr/src/digium/zaptel-1.4.1/xpp] Error 2 make[2]: *** [_module_/usr/src/digium/zaptel-1.4.1] Error 2 make[2]: Leaving directory `/usr/src/kernels/2.6.18-8.1.1.el5-x86_64' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/digium/zaptel-1.4.1' make: *** [all] Error 2 [EMAIL PROTECTED] zaptel-1.4.1]# ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Compile error in Asterisk 1.2.12.1
Hi. I'm using zaptel-1.2.9.1/libpri-1.2.3/asterisk-1.2.12.1 all patched with bristuff-0.3.0-PRE1s. What could be the problem when I get this compiler error: -- cut --- gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_agi.o res_agi.c res_agi.c: In function 'agi_exec_full': res_agi.c:2120: error: too few arguments to function 'launch_script' res_agi.c:2124: error: 'AGI' has no member named 'audio' res_agi.c:2094: warning: unused variable 'efd2' make[1]: *** [res_agi.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.2.12.1/res' make: *** [subdirs] Error 1 -- cut --- -- Med venlig hilsen / Best regards, Henrik Woffinden Technical Director Nitram Lexa ApS Maglebjergvej 5A DK-2800 Kongens Lyngby Denmark Phone: +45 70 25 24 23 Fax: +45 70 25 29 23 Mobile: +45 40 85 25 17 E-mail: [EMAIL PROTECTED] Web: www.nitramlexa.com --- Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error on cdr_yada for asterisk on centos with Oracle
Hi, I am trying to compile a new version of asterisk, Until now I successful compiled to following modules zaptel asterisk yada 0.9 now i have some problems with compiling cdr_yada can somebody give me a hint to correct the error. [EMAIL PROTECTED] cdr_yada-001]# makegcc -Wall -g -D_GNU_SOURCE -DBUILDREV=001 -I.. -I../include -I/usr/local/include -fPIC -c cdr_yada.c -o cdr_yada.ocdr_yada.c: In function `load_module':cdr_yada.c:529: warning: implicit declaration of function `ast_load'cdr_yada.c:529: warning: assignment makes pointer from integer without a castcdr_yada.c:635: warning: implicit declaration of function `ast_destroy'ld -L/usr/local/lib -shared -x cdr_yada.o -lyada -o cdr_yada.so[EMAIL PROTECTED] cdr_yada-001]# Thanks Han ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error with postgres and voicemail
Hello, I'm using asterisk-1.0.9 and wanted to compile it with database support in voicemail (postgres). I made the following changes in the /apps/Makefile: USE_MYSQL_VM_INTERFACE=0 USE_POSTGRES_VM_INTERFACE=1 Without theese changes asterisk compiles perfectly, but after setting the postgres variable on 1 (that's what I have to do or not?), asterisk terminates with the following compile error after make: [...] app_voicemail.c:460: warning: assignment makes pointer from integer without a cast app_voicemail.c:461: warning: implicit declaration of function `PQgetisnull' app_voicemail.c:462: warning: implicit declaration of function `PQgetvalue' app_voicemail.c:462: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:464: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:466: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:468: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:470: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:480: warning: format argument is not a pointer (arg 6) app_voicemail.c: At top level: app_voicemail.c:508: warning: `reset_user_pw' defined but not used app_voicemail.c:3754: warning: `append_mailbox' defined but not used make[1]: *** [app_voicemail.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 Can anyone give me a hint? Thanks! Sebastian ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error with postgres and voicemail
Hello, I'm using asterisk-1.0.9 and wanted to compile it with database support in voicemail (postgres). I made the following changes in the /apps/Makefile: USE_MYSQL_VM_INTERFACE=0 USE_POSTGRES_VM_INTERFACE=1 Without theese changes asterisk compiles perfectly, but after setting the postgres variable on 1 (that's what I have to do or not?), asterisk terminates with the following compile error after make: [...] app_voicemail.c:460: warning: assignment makes pointer from integer without a cast app_voicemail.c:461: warning: implicit declaration of function `PQgetisnull' app_voicemail.c:462: warning: implicit declaration of function `PQgetvalue' app_voicemail.c:462: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:464: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:466: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:468: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:470: warning: passing arg 2 of `__builtin_strncpy' makes pointer from integer without a cast app_voicemail.c:480: warning: format argument is not a pointer (arg 6) app_voicemail.c: At top level: app_voicemail.c:508: warning: `reset_user_pw' defined but not used app_voicemail.c:3754: warning: `append_mailbox' defined but not used make[1]: *** [app_voicemail.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.0.9/apps' make: *** [subdirs] Error 1 Can anyone give me a hint? Thanks! Sebastian ___ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile Error chan_sccp-20050705 on asterisk 1.0.9 (tarball)
Hello! I tried to compile chan_sccp-20050705 but I receive the following errors: linux:/home/share/chan_sccp-20050705 # make install sh ./create_config.sh /usr/include Checking Asterisk version... * no 'struct ast_channel_tech', using old pvt * no 'struct ast_callerid' * no 'AST_CONTROL_HOLD' * no 'ast_config_load' * no 'ast_copy_string' config.h complete. Now compiling sccp_actions.c 853 lines sccp_actions.c: In function `sccp_handle_unregister': sccp_actions.c:124: parse error before `*' sccp_actions.c:125: `r1' undeclared (first use in this function) sccp_actions.c:125: (Each undeclared identifier is reported only once sccp_actions.c:125: for each function it appears in.) sccp_actions.c: In function `sccp_handle_stimulus': sccp_actions.c:300: parse error before `stimulus' sccp_actions.c:303: `stimulus' undeclared (first use in this function) sccp_actions.c:303: `line' undeclared (first use in this function) sccp_actions.c:308: warning: unreachable code at beginning of switch statement sccp_actions.c: In function `sccp_handle_keypad_button': sccp_actions.c:630: parse error before `int' sccp_actions.c:634: `event' undeclared (first use in this function) sccp_actions.c:638: `resp' undeclared (first use in this function) sccp_actions.c:654: `len' undeclared (first use in this function) sccp_actions.c: In function `sccp_handle_soft_key_event': sccp_actions.c:675: parse error before `*' sccp_actions.c:681: `event' undeclared (first use in this function) sccp_actions.c:682: `line' undeclared (first use in this function) sccp_actions.c:682: `callid' undeclared (first use in this function) sccp_actions.c:688: `l' undeclared (first use in this function) sccp_actions.c:691: `c' undeclared (first use in this function) sccp_actions.c:695: warning: unreachable code at beginning of switch statement sccp_actions.c: In function `sccp_handle_open_receive_channel_ack': sccp_actions.c:747: parse error before `struct' sccp_actions.c:751: warning: built-in function `sin' used without declaration sccp_actions.c:751: request for member `sin_family' in something not a structure or union sccp_actions.c:752: request for member `sin_addr' in something not a structure or union sccp_actions.c:752: request for member `sin_addr' in something not a structure or union sccp_actions.c:753: request for member `sin_port' in something not a structure or union sccp_actions.c:758: `iabuf' undeclared (first use in this function) sccp_actions.c:758: request for member `sin_addr' in something not a structure or union sccp_actions.c:759: request for member `sin_port' in something not a structure or union sccp_actions.c:759: request for member `sin_port' in something not a structure or union sccp_actions.c:759: request for member `sin_port' in something not a structure or union sccp_actions.c:759: request for member `sin_port' in something not a structure or union sccp_actions.c:762: `c' undeclared (first use in this function) sccp_actions.c:764: warning: passing arg 2 of `ast_rtp_set_peer' from incompatible pointer type sccp_actions.c:765: request for member `sin_addr' in something not a structure or union sccp_actions.c:765: request for member `sin_port' in something not a structure or union sccp_actions.c:765: request for member `sin_port' in something not a structure or union sccp_actions.c:765: request for member `sin_port' in something not a structure or union sccp_actions.c:765: request for member `sin_port' in something not a structure or union sccp_actions.c:759: warning: `__v' might be used uninitialized in this function sccp_actions.c:765: warning: `__v' might be used uninitialized in this function sccp_actions.c: In function `sccp_handle_forward_stat_req': sccp_actions.c:838: parse error before `*' sccp_actions.c:839: `r1' undeclared (first use in this function) make: *** [.tmp/sccp_actions.o] Error 1 linux:/home/share/chan_sccp-20050705 What is the problem? -- ciao Holger ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error chan_sccp-20050705 on asterisk 1.0.9 (tarball)
Holger Hornung ha scritto: Hello! I tried to compile chan_sccp-20050705 but I receive the following errors: What is the problem? rm /usr/include/asterisk/* rm /usr/lib/asterisk/modules/* cd asterisk make clean make upgrade cd chan_sccp-20050705 make clean make install asterisk -vvvcg Regards, Sergio ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error cannot find -lidn
hello can u tell me what is the problem in my asterisk or linux why i am getting this error while make. PTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-HEAD-05/26/05-20:43:39\ -DASTERISK _VERSION_NUM=99 -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIB DIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\ /var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk \ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk /modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAP ATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c: In function `load_module': chan_zap.c:10252: warning: passing arg 1 of `pri_set_error' from incompatible po inter type chan_zap.c:10253: warning: passing arg 1 of `pri_set_message' from incompatible pointer type gcc -shared -Xlinker -x -o chan_zap.so chan_zap.o -lpri -ltonezone make[1]: Leaving directory `/asterisk/channels' make[1]: Entering directory `/asterisk/pbx' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/asterisk/pbx' make[1]: Entering directory `/asterisk/apps' gcc -shared -Xlinker -x -o app_curl.so app_curl.o -L/usr/lib -lcurl -L/usr/kerbe ros/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl - lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/kerberos/lib -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz /usr/bin/ld: cannot find -lidn collect2: ld returned 1 exit status make[1]: *** [app_curl.so] Error 1 make[1]: Leaving directory `/asterisk/apps' make: *** [subdirs] Error 1 __ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error cannot find -lidn
Hello, Looks like you don't have libidn installed. ( http://www.gnu.org/software/libidn/ ) Install it in your preferred manner (portage, apt-get, rpm, source) and try building again. Hope this helps, Tom PS. I've just joined the list, first post... yay! On Thu, 2005-06-09 at 19:22 -0700, Kamran Ahmad wrote: hello can u tell me what is the problem in my asterisk or linux why i am getting this error while make. PTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-HEAD-05/26/05-20:43:39\ -DASTERISK _VERSION_NUM=99 -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIB DIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\ /var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk \ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk /modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -fomit-frame-pointer -Wno-missing-prototypes -Wno-missing-declarations -DZAP ATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c: In function `load_module': chan_zap.c:10252: warning: passing arg 1 of `pri_set_error' from incompatible po inter type chan_zap.c:10253: warning: passing arg 1 of `pri_set_message' from incompatible pointer type gcc -shared -Xlinker -x -o chan_zap.so chan_zap.o -lpri -ltonezone make[1]: Leaving directory `/asterisk/channels' make[1]: Entering directory `/asterisk/pbx' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/asterisk/pbx' make[1]: Entering directory `/asterisk/apps' gcc -shared -Xlinker -x -o app_curl.so app_curl.o -L/usr/lib -lcurl -L/usr/kerbe ros/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl - lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -L/usr/kerberos/lib -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lz /usr/bin/ld: cannot find -lidn collect2: ld returned 1 exit status make[1]: *** [app_curl.so] Error 1 make[1]: Leaving directory `/asterisk/apps' make: *** [subdirs] Error 1 __ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile Error - MySql addon
When compiling asterisk-addons I get the following error. Anyone got any idea's ?, any help would be appreciated. make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3' cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz -L/usr/lib/mysql /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status make: *** [cdr_addon_mysql.so] Error 1 Best Regards Steve Beaumont ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error - MySql addon
Steve Beaumont wrote: When compiling asterisk-addons I get the following error. Anyone got any idea's ?, any help would be appreciated. make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3' cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz -L/usr/lib/mysql /usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lz collect2: ld returned 1 exit status make: *** [cdr_addon_mysql.so] Error 1 Don't know if this applies to you, but would one of the developers please patch the addons Makefile to look in /usr/lib64 as well as /usr/lib. Thank you. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error - MySql addon
cannot find -lz collect2: ld returned 1 exit status make: *** [cdr_addon_mysql.so] Error 1 What is amazing is that people are able to read directions for downloading from CVS, but can't read the error message generated by the complier. The compiler said that it cannot find -lz. (what is -lz you ask? google has the answer to that.) What is even more amazing is that you were able to compile mysql without -lz because I believe -lz is a requirement of mysql. -lz is your zlib library. zlib should be in /usr/lib/ -Matthew ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error - MySql addon
- Original Message - From: Matthew Boehm [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Tuesday, May 17, 2005 7:48 PM Subject: Re: [Asterisk-Users] Compile Error - MySql addon cannot find -lz collect2: ld returned 1 exit status make: *** [cdr_addon_mysql.so] Error 1 What is amazing is that people are able to read directions for downloading from CVS, but can't read the error message generated by the complier. The compiler said that it cannot find -lz. (what is -lz you ask? google has the answer to that.) What is even more amazing is that you were able to compile mysql without -lz because I believe -lz is a requirement of mysql. -lz is your zlib library. zlib should be in /usr/lib/ -Matthew ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users Mathew Thanks for the pointer. Eventually found out which library was missing. zlib-devel. zlib itself was there. All I can say is that you seem to be easily amazed. :-) All the best Steve B ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error for minimal install of Redhat 9.0 [SOLVED]
pbx_dundi.c: In function `update_key': pbx_dundi.c:1312: warning: implicit declaration of function `crc32' pbx_dundi.c: In function `dundi_decrypt': pbx_dundi.c:1368: warning: implicit declaration of function `uncompress' pbx_dundi.c:1368: `Z_OK' undeclared (first use in this function) pbx_dundi.c:1368: (Each undeclared identifier is reported only once pbx_dundi.c:1368: for each function it appears in.) pbx_dundi.c: In function `dundi_encrypt': pbx_dundi.c:1393: warning: implicit declaration of function `compress' pbx_dundi.c:1394: `Z_OK' undeclared (first use in this function) make[1]: *** [pbx_dundi.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/pbx' make: *** [subdirs] Error 1 If you are seeing the above error using cvs-head files, the problem identified has been resolved becuase there is no zlib-devel package installed. To resolve this issue simply install zlib-devel and re-compile and all willbe good. Thanks to Jer Jer on #asterisk for the assistance. This issue only comes into play when you do a minimal install following the documentation on wiki. Thanks, Ty Carter Strategic Network Consultants, Inc. Washington, NC 27889 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error
I got an error when compiling asterisk 1.0.6 res_crypto.c: En la función `crypto_init': res_crypto.c:553: aviso: declaración implícita de la función `SSL_library_init' res_crypto.c:554: aviso: declaración implícita de la función `ERR_load_crypto_strings' make[1]: *** [res_crypto.o] Error 1 make[1]: Saliendo directorio `/usr/src/asterisk-1.0.4/res' make: *** [subdirs] Error 1 What can I do? please If anyone can help me... ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error
* Pol ([EMAIL PROTECTED]) ha scritto: I got an error when compiling asterisk 1.0.6 res_crypto.c: En la función `crypto_init': res_crypto.c:553: aviso: declaración implícita de la función `SSL_library_init' res_crypto.c:554: aviso: declaración implícita de la función `ERR_load_crypto_strings' make[1]: *** [res_crypto.o] Error 1 make[1]: Saliendo directorio `/usr/src/asterisk-1.0.4/res' make: *** [subdirs] Error 1 be sure you have libssl-dev or whatever the name is in your distro. Secondly, asterisk 1.0.7 is out ;) ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile Error
Hi, I have been running asterisk for about a week though on a debian system through apt-get. I am now trying to compile it use the CVS and im getting this error. /usr/bin/ld: cannot find lssl What do I need to install to get rid of this message? Regards David Norton ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
FW: [Asterisk-Users] Compile Error
Sorry about that, I was been an idiot again! I had openssl and libssl installed, but had the wrong version of libssl-dev. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Norton Sent: Tuesday, December 28, 2004 10:02 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [Asterisk-Users] Compile Error Hi, I have been running asterisk for about a week though on a debian system through apt-get. I am now trying to compile it use the CVS and im getting this error. /usr/bin/ld: cannot find lssl What do I need to install to get rid of this message? Regards David Norton -- This message has been scanned for viruses and dangerous content and is believed to be clean. ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error
On Tue, Dec 28, 2004 at 10:02:12PM +0200, David Norton wrote: Hi, I have been running asterisk for about a week though on a debian system through apt-get. I am now trying to compile it use the CVS and im getting this error. /usr/bin/ld: cannot find -lssl What do I need to install to get rid of this message? I built openssl from source to deal with that requirement, your mileage may vary :) -Dorn ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error on spandsp-0.0.2-pre6
Hi, Trying to update to spandsp-0.0.2-pre6 I got a compile error: Making all in src make[1]: Entering directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make all-am make[2]: Entering directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' source='t31.c' object='t31.lo' libtool=yes \ depfile='.deps/t31.Plo' tmpdepfile='.deps/t31.TPlo' \ depmode=gcc /bin/sh ../config/depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c -o t31.lo t31.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c t31.c -Wp,-MD,.deps/t31.TPlo -fPIC -DPIC -o .libs/t31.o t31.c:60: unknown field `s_regs' specified in initializer t31.c:61: unknown field `s_regs' specified in initializer t31.c:62: unknown field `s_regs' specified in initializer t31.c:63: unknown field `s_regs' specified in initializer t31.c:64: unknown field `s_regs' specified in initializer t31.c:65: unknown field `s_regs' specified in initializer t31.c:66: unknown field `s_regs' specified in initializer make[2]: *** [t31.lo] Error 1 make[2]: Leaving directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make: *** [all-recursive] Error 1 Running libtool 1.4.3. (I tried on an FC2 with libtool 1.5.6 and it compiled). Do I need to upgrade libtool ? Any chance of making the source compatible with older versions ? Thanks, Leonardo -- Leonardo Gomes Figueira [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error on spandsp-0.0.2-pre6
Hi Leonardo, This is not a libtool issue. It looks like you must have an ancient C compiler, that doesn't understand C99 constructs. Steve Leonardo Gomes Figueira wrote: Hi, Trying to update to spandsp-0.0.2-pre6 I got a compile error: Making all in src make[1]: Entering directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make all-am make[2]: Entering directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' source='t31.c' object='t31.lo' libtool=yes \ depfile='.deps/t31.Plo' tmpdepfile='.deps/t31.TPlo' \ depmode=gcc /bin/sh ../config/depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c -o t31.lo t31.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c t31.c -Wp,-MD,.deps/t31.TPlo -fPIC -DPIC -o .libs/t31.o t31.c:60: unknown field `s_regs' specified in initializer t31.c:61: unknown field `s_regs' specified in initializer t31.c:62: unknown field `s_regs' specified in initializer t31.c:63: unknown field `s_regs' specified in initializer t31.c:64: unknown field `s_regs' specified in initializer t31.c:65: unknown field `s_regs' specified in initializer t31.c:66: unknown field `s_regs' specified in initializer make[2]: *** [t31.lo] Error 1 make[2]: Leaving directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/geracaodecd/rpm/BUILD/spandsp-0.0.2/src' make: *** [all-recursive] Error 1 Running libtool 1.4.3. (I tried on an FC2 with libtool 1.5.6 and it compiled). Do I need to upgrade libtool ? Any chance of making the source compatible with older versions ? Thanks, Leonardo ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error on spandsp-0.0.2-pre6
Steve, Steve Underwood wrote: Hi Leonardo, This is not a libtool issue. It looks like you must have an ancient C compiler, that doesn't understand C99 constructs. gcc 2.95.3 Any workaround or I really need to upgrade gcc ? Leonardo -- Leonardo Gomes Figueira [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error on spandsp-0.0.2-pre6
Leonardo Gomes Figueira wrote: Steve, Steve Underwood wrote: Hi Leonardo, This is not a libtool issue. It looks like you must have an ancient C compiler, that doesn't understand C99 constructs. gcc 2.95.3 Any workaround or I really need to upgrade gcc ? Leonardo That's really old. Right now you don't need t31.c (T.31 is the class 1 FAX modem spec and that code is not complete). In src/Makefile.am remove references to t31.c and build the library. Steve ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile Error on RC2
can someone please let me kniow if you have any ideas why this wouldnt be working? ixjuser.h seems to be part of my glibc-devel2.3.3 package on my mandrake 10.1 install. i am alos including the ixjuser.h lines its complaining about. typedef struct { int elements_used; IXJ_CADENCE_TERM termination; IXJ_CADENCE_ELEMENT __user *ce; ---line 353 } IXJ_CADENCE; gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISK_VERSION=\1.0-RC2\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-missing-declarations-DCRYPTO -fPIC -c -o chan_oss.o chan_oss.c gcc -shared -Xlinker -x -o chan_oss.so chan_oss.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DASTERISK_VERSION=\1.0-RC2\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-missing-declarations-DCRYPTO -fPIC -c -o chan_phone.o chan_phone.c In file included from chan_phone.c:36: /usr/include/linux/ixjuser.h:353: error: syntax error before '*' token make[1]: *** [chan_phone.o] Error 1 make[1]: Leaving directory `/home/dwinter/src/asterisk/asterisk-1.0-RC2/channels' make: *** [subdirs] Error 1 [EMAIL PROTECTED] asterisk-1.0-RC2]# David Winter Senior Network Engineer Planet-Telecom, Inc. Tampa FL (813)901-5182 Office (813)864-3162 Direct (813)817-4204 Mobile (813)881-9762 Fax -- AIM: mobofool ICQ: 3563403 MSN:[EMAIL PROTECTED] Y!:vt_fool ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error on RC2
On Mon, 2004-09-20 at 15:57 -0400, david winter wrote: can someone please let me kniow if you have any ideas why this wouldnt be working? ixjuser.h seems to be part of my glibc-devel2.3.3 package on my mandrake 10.1 install. i am alos including the ixjuser.h lines its complaining about. typedef struct { int elements_used; IXJ_CADENCE_TERM termination; IXJ_CADENCE_ELEMENT __user *ce; ---line 353 } IXJ_CADENCE; Make it IXJ_CADENCE_ELEMENT __user, *ce; and it'll compile. -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error H323
Enrico Stahn wrote: Hi! Have a look at the following entry. I solved this problem: http://enrico.todo.de/weblog/item/asterisk-oh323-compile-error That's the wrong way to do it. You use incorrect versions of the libraries. Michael. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error H323
Hi! Have a look at the following entry. I solved this problem: http://enrico.todo.de/weblog/item/asterisk-oh323-compile-error Regards Enrico Stahn smime.p7s Description: S/MIME Cryptographic Signature ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
I'm running 1 9.1 32bit and 1 9.1 64bit. Both are the shipped kernels and are working very well. t o n y ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
Trevor thanks, I think this solved the problem. The only think where I am not happy with is that I got one internal segmentation error when I compiled Asterisk. At this moment everything is working and I am now testing the stability. And I made an additional softlink /usr/src/linux-2.6 to /lib/modules/2.6.5-7.104-default/build Greetings Han From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor G. Hammonds Sent: Monday, August 16, 2004 8:28 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) First off, ensure you have the following packages installed (using YAST or otherwise): CVSup (installed) kernel-sources (installed) kernel-syms (was not installed) ncurses (installed) ncurses-devel (installed) openssl (installed) openssl-devel (installed) bison (installed) doxygen (installed) Next,ensure you symlink /usr/src/linux to the current linux source (e.g. /usr/src/linux-2.6.5-7.104). Finally,do the following: #cd /usr/src/linux #make cloneconfig make dep This worked for me. As usual, however, YMMV. Let me know if this works for you. Sincerely, Trevor Hammonds From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes van Hulst Sent: Monday, August 16, 2004 9:30 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Have anybody experience with the following error on a linux system. The system is for the rest running perfect without problems. The system was full installed with Suse 9.1 and updated. Following uname is my kernel 2.6.5-7.104-default Greatings Han Suse 9.1 professional AMD Atlhon XP 2200 Asus A7V600-X bios 1005 1Gb memory 400Mhz Geforce MX 4000 64MB 40 GB Harddisk US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6US040814:/usr/src # cd zaptelUS040814:/usr/src/zaptel # make cleanrm -f torisatool makefw tor2fw.hrm -f zttoolrm -f *.o ztcfg tzdriver sethdlc sethdlc-newrm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lorm -f *.ko *.mod.c .*o.cmdrm -f gendigits tones.hrm -f libtonezone*rm -f tor2eerm -f coreUS040814:/usr/src/zaptel # make linux26cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.ccc -o gendigits gendigits.o -lm./gendigitscc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c -o makefw./makefw tormenta2.rbt tor2fw tor2fw.hLoaded 69900 bytes from filecc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.car rcs libtonezone.a zonedata.lo tonezone.locc -o ztcfg ztcfg.o -lm -L. libtonezone.acc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o torisatool.o torisatool.ccc -o torisatool torisatool.occ -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztmonitor.o ztmonitor.ccc -o ztmonitor ztmonitor.occ -c ztspeed.ccc -o ztspeed ztspeed.omake -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modulesmake[1]: Entering directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make -C ../../../linux-2.6.5-7.104 O=../linux-2.6.5-7.104-obj/i386/default modulesWARNING: Symbol version dump /usr/src/linux-2.6.5-7.104-obj/i386/default/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. CC [M] /usr/src/zaptel/zaptel.o CC [M] /usr/src/zaptel/tor2.o CC [M] /usr/src/zaptel/torisa.o/usr/src/zaptel/torisa.c:1139: warning: `set_tor_base' defined but not used CC [M] /usr/src/zaptel/wcusb.o CC [M] /usr/src/zaptel/wcfxo.o CC [M] /usr/src/zaptel/wcfxs.o/usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt':/usr/src/zaptel/wcfxs.c:813: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See URL:http://www.suse.de/feedback for instructions.The bug is not reproduceable, so it is likely a hardware or OS problemmake[4]: *** [/usr/src/zaptel/wcfxs.o] Error 1make[3]: *** [_module_/usr/src/zaptel] Error 2make[2]: *** [modules] Error 2make[1]: *** [modules] Error 2make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make: *** [linux26] Error 2 US040814:/usr/src/zaptel #
RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
Suse 9.1 keeps being unstable. When I compile asterisk I get on random positions segmentation fault. gcc -shared -Xlinker -x -o app_playback.so app_playback.ogcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-HEAD-08/14/04-22:05:38\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -fPIC -c -o app_voicemail.o app_voicemail.capp_voicemail.c: In function `vm_options':app_voicemail.c:3412: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See URL:http://www.suse.de/feedback for instructions.The bug is not reproduceable, so it is likely a hardware or OS problemmake[1]: *** [app_voicemail.o] Error 1make[1]: Leaving directory `/usr/src/asterisk/apps'make: *** [subdirs] Error 1US040814:/usr/src/asterisk # Who has the same experience with suse linux or who can help me with resolving this problem From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes van Hulst Sent: Tuesday, August 17, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Trevor thanks, I think this solved the problem. The only think where I am not happy with is that I got one internal segmentation error when I compiled Asterisk. At this moment everything is working and I am now testing the stability. And I made an additional softlink /usr/src/linux-2.6 to /lib/modules/2.6.5-7.104-default/build Greetings Han From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trevor G. Hammonds Sent: Monday, August 16, 2004 8:28 PM To: [EMAIL PROTECTED] Subject: RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) First off, ensure you have the following packages installed (using YAST or otherwise): CVSup (installed) kernel-sources (installed) kernel-syms (was not installed) ncurses (installed) ncurses-devel (installed) openssl (installed) openssl-devel (installed) bison (installed) doxygen (installed) Next,ensure you symlink /usr/src/linux to the current linux source (e.g. /usr/src/linux-2.6.5-7.104). Finally,do the following: #cd /usr/src/linux #make cloneconfig make dep This worked for me. As usual, however, YMMV. Let me know if this works for you. Sincerely, Trevor Hammonds From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes van Hulst Sent: Monday, August 16, 2004 9:30 AM To: [EMAIL PROTECTED] Subject: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Have anybody experience with the following error on a linux system. The system is for the rest running perfect without problems. The system was full installed with Suse 9.1 and updated. Following uname is my kernel 2.6.5-7.104-default Greatings Han Suse 9.1 professional AMD Atlhon XP 2200 Asus A7V600-X bios 1005 1Gb memory 400Mhz Geforce MX 4000 64MB 40 GB Harddisk US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6US040814:/usr/src # cd zaptelUS040814:/usr/src/zaptel # make cleanrm -f torisatool makefw tor2fw.hrm -f zttoolrm -f *.o ztcfg tzdriver sethdlc sethdlc-newrm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lorm -f *.ko *.mod.c .*o.cmdrm -f gendigits tones.hrm -f libtonezone*rm -f tor2eerm -f coreUS040814:/usr/src/zaptel # make linux26cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.ccc -o gendigits gendigits.o -lm./gendigitscc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c -o makefw./makefw tormenta2.rbt tor2fw tor2fw.hLoaded 69900 bytes from filecc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.car rcs libtonezone.a zonedata.lo tonezone.locc -o ztcfg ztcfg.o -lm -L. libtonezone.acc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o torisatool.o torisatool.ccc -o torisatool torisatool.occ -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztmonitor.o ztmonitor.ccc -o ztmonitor ztmonitor.occ -c ztspeed.ccc -o ztspeed ztspeed.omake -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modulesmake[1]: Entering
Re: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
Johannes: I've compiled Asterisk and drivers on SuSe 9.1 several times without problem, use several different machines. If you are getting segmentation faults at random points each time, I would STRONGLY suspect the problem is bad hardware; most likely faulty RAM. Robert Johannes van Hulst wrote: Suse 9.1 keeps being unstable. When I compile asterisk I get on random positions segmentation fault. gcc -shared -Xlinker -x -o app_playback.so app_playback.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-HEAD-08/14/04-22:05:38\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -fPIC -c -o app_voicemail.o app_voicemail.c app_voicemail.c: In function `vm_options': app_voicemail.c:3412: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.suse.de/feedback for instructions. The bug is not reproduceable, so it is likely a hardware or OS problem make[1]: *** [app_voicemail.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/apps' make: *** [subdirs] Error 1 US040814:/usr/src/asterisk # Who has the same experience with suse linux or who can help me with resolving this problem *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Johannes van Hulst *Sent:* Tuesday, August 17, 2004 1:56 PM *To:* [EMAIL PROTECTED] *Subject:* RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Trevor thanks, I think this solved the problem. The only think where I am not happy with is that I got one internal segmentation error when I compiled Asterisk. At this moment everything is working and I am now testing the stability. And I made an additional softlink /usr/src/linux-2.6 to /lib/modules/2.6.5-7.104-default/build Greetings Han *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Trevor G. Hammonds *Sent:* Monday, August 16, 2004 8:28 PM *To:* [EMAIL PROTECTED] *Subject:* RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) First off, ensure you have the following packages installed (using YAST or otherwise): CVSup (installed) kernel-sources (installed) kernel-syms (was not installed) ncurses (installed) ncurses-devel (installed) openssl (installed) openssl-devel (installed) bison (installed) doxygen (installed) Next, ensure you symlink /usr/src/linux to the current linux source (e.g. /usr/src/linux-2.6.5-7.104). Finally, do the following: #cd /usr/src/linux #make cloneconfig make dep This worked for me. As usual, however, YMMV. Let me know if this works for you. Sincerely, Trevor Hammonds *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Johannes van Hulst *Sent:* Monday, August 16, 2004 9:30 AM *To:* [EMAIL PROTECTED] *Subject:* [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Have anybody experience with the following error on a linux system. The system is for the rest running perfect without problems. The system was full installed with Suse 9.1 and updated. Following uname is my kernel 2.6.5-7.104-default Greatings Han Suse 9.1 professional AMD Atlhon XP 2200 Asus A7V600-X bios 1005 1Gb memory 400Mhz Geforce MX 4000 64MB 40 GB Harddisk US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6 US040814:/usr/src # cd zaptel US040814:/usr/src/zaptel # make clean rm -f torisatool makefw tor2fw.h rm -f zttool rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo rm -f *.ko *.mod.c .*o.cmd rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f core US040814:/usr/src/zaptel # make linux26 cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.c cc -o gendigits gendigits.o -lm ./gendigits cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATAmakefw.c -o makefw ./makefw tormenta2.rbt tor2fw tor2fw.h Loaded 69900 bytes from file cc -I. -O4 -g -Wall -DBUILDING_TONEZONE-DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.c cc -c -fPIC -I. -O4 -g -Wall
RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
On Tue, 2004-08-17 at 14:45 -0300, Johannes van Hulst wrote: Who has the same experience with suse linux or who can help me with resolving this problem I don't use Suse but last year I had a Mandrake system seg faulting on every compile. If I just carried on with make everything did eventually compile. IIRC it was found to be a problem with the compiler version and optimisation. I've changed no hardware and have not seen this since. -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
Have anybody experience with the following error on a linux system. The system is for the rest running perfect without problems. The system was full installed with Suse 9.1 and updated. Following uname is my kernel 2.6.5-7.104-default Greatings Han Suse 9.1 professional AMD Atlhon XP 2200 Asus A7V600-X bios 1005 1Gb memory 400Mhz Geforce MX 4000 64MB 40 GB Harddisk US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6US040814:/usr/src # cd zaptelUS040814:/usr/src/zaptel # make cleanrm -f torisatool makefw tor2fw.hrm -f zttoolrm -f *.o ztcfg tzdriver sethdlc sethdlc-newrm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lorm -f *.ko *.mod.c .*o.cmdrm -f gendigits tones.hrm -f libtonezone*rm -f tor2eerm -f coreUS040814:/usr/src/zaptel # make linux26cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.ccc -o gendigits gendigits.o -lm./gendigitscc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c -o makefw./makefw tormenta2.rbt tor2fw tor2fw.hLoaded 69900 bytes from filecc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.car rcs libtonezone.a zonedata.lo tonezone.locc -o ztcfg ztcfg.o -lm -L. libtonezone.acc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o torisatool.o torisatool.ccc -o torisatool torisatool.occ -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztmonitor.o ztmonitor.ccc -o ztmonitor ztmonitor.occ -c ztspeed.ccc -o ztspeed ztspeed.omake -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modulesmake[1]: Entering directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make -C ../../../linux-2.6.5-7.104 O=../linux-2.6.5-7.104-obj/i386/default modulesWARNING: Symbol version dump /usr/src/linux-2.6.5-7.104-obj/i386/default/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. CC [M] /usr/src/zaptel/zaptel.o CC [M] /usr/src/zaptel/tor2.o CC [M] /usr/src/zaptel/torisa.o/usr/src/zaptel/torisa.c:1139: warning: `set_tor_base' defined but not used CC [M] /usr/src/zaptel/wcusb.o CC [M] /usr/src/zaptel/wcfxo.o CC [M] /usr/src/zaptel/wcfxs.o/usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt':/usr/src/zaptel/wcfxs.c:813: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See URL:http://www.suse.de/feedback for instructions.The bug is not reproduceable, so it is likely a hardware or OS problemmake[4]: *** [/usr/src/zaptel/wcfxs.o] Error 1make[3]: *** [_module_/usr/src/zaptel] Error 2make[2]: *** [modules] Error 2make[1]: *** [modules] Error 2make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make: *** [linux26] Error 2 US040814:/usr/src/zaptel #
RE: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk)
First off, ensure you have the following packages installed (using YAST or otherwise): CVSupkernel-sourceskernel-symsncursesncurses-developensslopenssl-develbisondoxygen Next,ensure you symlink /usr/src/linux to the current linux source (e.g. /usr/src/linux-2.6.5-7.104). Finally,do the following: #cd /usr/src/linux #make cloneconfig make dep This worked for me. As usual, however, YMMV. Let me know if this works for you. Sincerely, Trevor Hammonds From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johannes van HulstSent: Monday, August 16, 2004 9:30 AMTo: [EMAIL PROTECTED]Subject: [Asterisk-Users] Compile error on Zaptel with Suse 9.1 (follow-up of subject: What is the best Linux for asterisk) Have anybody experience with the following error on a linux system. The system is for the rest running perfect without problems. The system was full installed with Suse 9.1 and updated. Following uname is my kernel 2.6.5-7.104-default Greatings Han Suse 9.1 professional AMD Atlhon XP 2200 Asus A7V600-X bios 1005 1Gb memory 400Mhz Geforce MX 4000 64MB 40 GB Harddisk US040814:/usr/src # ln -s /lib/modules/2.6.5-7.104-default/build linux-2.6US040814:/usr/src # cd zaptelUS040814:/usr/src/zaptel # make cleanrm -f torisatool makefw tor2fw.hrm -f zttoolrm -f *.o ztcfg tzdriver sethdlc sethdlc-newrm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lorm -f *.ko *.mod.c .*o.cmdrm -f gendigits tones.hrm -f libtonezone*rm -f tor2eerm -f coreUS040814:/usr/src/zaptel # make linux26cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.ccc -o gendigits gendigits.o -lm./gendigitscc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA makefw.c -o makefw./makefw tormenta2.rbt tor2fw tor2fw.hLoaded 69900 bytes from filecc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztcfg.o ztcfg.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o zonedata.lo zonedata.ccc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DBUILDING_TONEZONE -o tonezone.lo tonezone.car rcs libtonezone.a zonedata.lo tonezone.locc -o ztcfg ztcfg.o -lm -L. libtonezone.acc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o torisatool.o torisatool.ccc -o torisatool torisatool.occ -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o ztmonitor.o ztmonitor.ccc -o ztmonitor ztmonitor.occ -c ztspeed.ccc -o ztspeed ztspeed.omake -C /usr/src/linux-2.6 SUBDIRS=/usr/src/zaptel modulesmake[1]: Entering directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make -C ../../../linux-2.6.5-7.104 O=../linux-2.6.5-7.104-obj/i386/default modulesWARNING: Symbol version dump /usr/src/linux-2.6.5-7.104-obj/i386/default/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. CC [M] /usr/src/zaptel/zaptel.o CC [M] /usr/src/zaptel/tor2.o CC [M] /usr/src/zaptel/torisa.o/usr/src/zaptel/torisa.c:1139: warning: `set_tor_base' defined but not used CC [M] /usr/src/zaptel/wcusb.o CC [M] /usr/src/zaptel/wcfxo.o CC [M] /usr/src/zaptel/wcfxs.o/usr/src/zaptel/wcfxs.c: In function `wcfxs_interrupt':/usr/src/zaptel/wcfxs.c:813: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See URL:http://www.suse.de/feedback for instructions.The bug is not reproduceable, so it is likely a hardware or OS problemmake[4]: *** [/usr/src/zaptel/wcfxs.o] Error 1make[3]: *** [_module_/usr/src/zaptel] Error 2make[2]: *** [modules] Error 2make[1]: *** [modules] Error 2make[1]: Leaving directory `/usr/src/linux-2.6.5-7.104-obj/i386/default'make: *** [linux26] Error 2 US040814:/usr/src/zaptel #
[Asterisk-Users] Compile error H323
Hello list I don't get to compile h323. I have the mistake: asteriskaudio.cxx: In destructor `virtual PAsteriskSoundChannel::~PAsteriskSoundChannel()': asteriskaudio.cxx:167: `baseChannel' undeclared (first use this function) asteriskaudio.cxx:167: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: ** [asteriskaudio.o] Erro 1 make[1]: Saindo do diretório `/home/jmoura/cvshead/h323/asterisk-oh323-0.6.3a/wrapper' make: ** [subdirs_all] Erro 1 Use Asterisk CVS-HEAD-07/20/04-12:29:16 currently running. Can anybody help myself? Thank you. Joao Carlos Moura ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile error H323
AsteriskList wrote: Hello list I don't get to compile h323. I have the mistake: asteriskaudio.cxx: In destructor `virtual PAsteriskSoundChannel::~PAsteriskSoundChannel()': asteriskaudio.cxx:167: `baseChannel' undeclared (first use this function) asteriskaudio.cxx:167: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: ** [asteriskaudio.o] Erro 1 make[1]: Saindo do diretório `/home/jmoura/cvshead/h323/asterisk-oh323-0.6.3a/wrapper' make: ** [subdirs_all] Erro 1 Use Asterisk CVS-HEAD-07/20/04-12:29:16 currently running. Can anybody help myself? Make sure you are using the newest version. Also, for clarity, that H.323 driver is called OH323. Jeremy McNamara ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error with CVS HEAD zaptel
I get a compile warning when building zaptel (current CVS head) against 2.4.18 kernel (Debian stable dist) zaptel.c: In function `zt_net_close': zaptel.c:1238: warning: implicit declaration of function `hdlc_close' It completes but fails to install with modprobe finding unresolved references. This error was introduced with the introduction of the second clause of the statement below in zconfig.h #if defined(CONFIG_HDLC) || defined(CONFIG_HDLC_MODULE) Clearly there is a problem building against the kernel modules in 2.14.18 as hdlc_close does not exist. There is no problem if I comment out the second part from and including the || above. It builds ok against 2.4.23 but I need to keep 2.4.18 for cnxadsl compatibility. Peter This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile Error
Just did a new cvs download and then tried to compile. I get this error message: chan_zap.c:59:2: #error You need newer libpri Then there are some more chan_zap.c errors. Here is the cvs command: export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot cvs login cvs checkout zaptel asterisk libpri And the make command #cd /usr/src/zaptel #make #cd /usr/src/asterisk #make And I did this after moving the current zaptel, asterisk, and libpri to archival. Where do I get this file? Or what am I doing wrong... -- respectfully, Joseph - (606) 477-2355 x140 --= ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error
checkout the libpri and compile install *before* asterisk Matteo. Il gio, 2004-06-24 alle 19:01, Joseph ha scritto: Just did a new cvs download and then tried to compile. I get this error message: chan_zap.c:59:2: #error You need newer libpri Then there are some more chan_zap.c errors. Here is the cvs command: export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot cvs login cvs checkout zaptel asterisk libpri And the make command #cd /usr/src/zaptel #make #cd /usr/src/asterisk #make And I did this after moving the current zaptel, asterisk, and libpri to archival. Where do I get this file? Or what am I doing wrong... -- Brancaleoni Matteo [EMAIL PROTECTED] Espia Srl ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error
On Thu, 2004-06-24 at 13:01, Joseph wrote: Just did a new cvs download and then tried to compile. I get this error message: chan_zap.c:59:2: #error You need newer libpri Then there are some more chan_zap.c errors. Here is the cvs command: export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot cvs login cvs checkout zaptel asterisk libpri And the make command #cd /usr/src/zaptel #make #cd /usr/src/asterisk #make And I did this after moving the current zaptel, asterisk, and libpri to archival. Where do I get this file? Or what am I doing wrong... The correct order is: cd zaptel make clean; make install cd libpri make clean; make install cd asterisk make clean; make install t o n y ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Compile Error
Thanks very much. That fixed it. On Thu, 2004-06-24 at 14:31, Brancaleoni Matteo wrote: checkout the libpri and compile install *before* asterisk Matteo. Il gio, 2004-06-24 alle 19:01, Joseph ha scritto: Just did a new cvs download and then tried to compile. I get this error message: chan_zap.c:59:2: #error You need newer libpri Then there are some more chan_zap.c errors. Here is the cvs command: export CVSROOT=:pserver:[EMAIL PROTECTED]:/usr/cvsroot cvs login cvs checkout zaptel asterisk libpri And the make command #cd /usr/src/zaptel #make #cd /usr/src/asterisk #make And I did this after moving the current zaptel, asterisk, and libpri to archival. Where do I get this file? Or what am I doing wrong... -- respectfully, Joseph - (606) 477-2355 x140 --= ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error with asterisk-addons
I try to install asterisk-addons but I get an error. Who can help me? Is my MySQL not complete or do I have another problem? [EMAIL PROTECTED] asterisk-addons]# make install cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c cdr_addon_mysql.c:50: warning: parameter names (without types) in function declaration cdr_addon_mysql.c:50: warning: data definition has no type or storage class cdr_addon_mysql.c: In function `mysql_log': cdr_addon_mysql.c:108: `mysql_lock' undeclared (first use in this function) cdr_addon_mysql.c:108: (Each undeclared identifier is reported only once cdr_addon_mysql.c:108: for each function it appears in.) cdr_addon_mysql.c: In function `usecount': cdr_addon_mysql.c:420: `mysql_lock' undeclared (first use in this function) make: *** [cdr_addon_mysql.o] Error 1 [EMAIL PROTECTED] asterisk-addons]# Best regards, Han van Hulst ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error in chan_oh323.c
hey people, i've installed an asterisk version on my Linux Distribution. Then i wanted to compile the packages for H323 support. The openh323 and pwlib libraries compiled without any error. But at least i got one in /~/asterisk-oh323-0.5-10/asterisk-driver/chan_oh323.c in Line 1128. Too many aruments caused this error. Is anybody able to say why and how can i solve thsi problem? Kindly Regards HARALD -- NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/dsl ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error
I'm trying to compile the last * CVS version and I got this error: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-09/10/03-18:47:18\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP-DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [res_crypto.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/res' make: *** [subdirs] Error 1 The openssl is already installed and all the .h files are in /usr/include/openssl. What does it can be? tks jjj3_j _ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error
On Mon, 2004-02-02 at 23:19, jjj3 jjj3 wrote: I'm trying to compile the last * CVS version and I got this error: gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-09/10/03-18:47:18\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP-DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [res_crypto.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/res' make: *** [subdirs] Error 1 The openssl is already installed and all the .h files are in /usr/include/openssl. What does it can be? Check /etc/ld.so.conf, ensure the path to your SSL libraries is in there. If it's not, add it and run ldconfig. HTH. Regards, Gonzalo ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error
_ Learn how to choose, serve, and enjoy wine at Wine @ MSN. http://wine.msn.com/ ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error
Check /etc/ld.so.conf, ensure the path to your SSL libraries is in here. If it's not, add it and run ldconfig. HTH. Regards, Gonzalo But I dont have /etc/ld.so.conf in my box. Is that the only way to solve this? How can I create ld.so.conf? tks jjj3_j _ Find high-speed net deals comparison-shop your local providers here. https://broadband.msn.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] compile error (still having problems)
Hey guys! I'm still having problems trying to get Asterisk compiled but when compiling res_crypto.c, I get this error: NSSL_NO_KRB5 -fPIC -c -o res_parking.o res_parking.c gcc -shared -Xlinker -x -o res_parking.so res_parking.o gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\CVS-02/02/04-13:02:21\ -DINSTALL_PREFIX=\\ -DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\ -DASTVARLIBDIR=\/var/lib/asterisk\ -DASTVARRUNDIR=\/var/run\ -DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\ -DASTCONFPATH=\/etc/asterisk/asterisk.conf\ -DASTMODDIR=\/usr/lib/asterisk/modules\ -DASTAGIDIR=\/var/lib/asterisk/agi-bin\ -DBUSYDETECT_MARTIN -DNEW_PRI_HANGUP-DZAPATA_MOH -DOPENSSL_NO_KRB5 -fPIC -c -o res_crypto.o res_crypto.c gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl collect2: ld returned 1 exit status make[1]: *** [res_crypto.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/res' make: *** [subdirs] Error 1 My ld.so.conf seems to be ok: /usr/include/openssl/ Any ideas? tks jjj3_j _ Get a FREE online virus check for your PC here, from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error (still having problems)
On Mon, 2004-02-02 at 11:09, jjj3 jjj3 wrote: Hey guys! I'm still having problems trying to get Asterisk compiled but when compiling res_crypto.c, I get this error: gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl My ld.so.conf seems to be ok: /usr/include/openssl/ You have so much to learn. A quick look at the gcc man page says that -l is a library to be linked against. Libraries are not held in include directories. Go find out if you have libssl.so on you machine. Then beat your head into the nearest manual greater than 5 pounds till you have absorbed the details that help you understand simple concise error messages. -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error (still having problems)
Ok genius! Or better: thank you God!!! As you were, I'm on the begining of learning how everything works in unix's systems. But some times people forget the they also borned with a little less knowlegde then they have today. In other words, everybody had once ago the same question. But not you, right? tks anyways. jjj3_j From: Steven Critchfield [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] compile error (still having problems) Date: Mon, 02 Feb 2004 11:19:52 -0600 On Mon, 2004-02-02 at 11:09, jjj3 jjj3 wrote: Hey guys! I'm still having problems trying to get Asterisk compiled but when compiling res_crypto.c, I get this error: gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl My ld.so.conf seems to be ok: /usr/include/openssl/ You have so much to learn. A quick look at the gcc man page says that -l is a library to be linked against. Libraries are not held in include directories. Go find out if you have libssl.so on you machine. Then beat your head into the nearest manual greater than 5 pounds till you have absorbed the details that help you understand simple concise error messages. -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Find high-speed net deals comparison-shop your local providers here. https://broadband.msn.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] compile error (still having problems)
On Mon, 2004-02-02 at 11:58, jjj3 jjj3 wrote: Ok genius! Or better: thank you God!!! As you were, I'm on the begining of learning how everything works in unix's systems. But some times people forget the they also borned with a little less knowlegde then they have today. In other words, everybody had once ago the same question. But not you, right? So you made a beginner mistake, you haven't done much research and instead you have asked questions. Unix gurus tend to become that way only through many years of digging into problems. So when beginners ask questions such as this, we are really pointing you to the beginning of a hole you must start digging in to get the knowledge you want. When you digest fully this information, you will be better equipped for the next problem. Thats why I trimmed your quote to point you at the specific problem you needed to tackle. I even pointed you to the man page that would explain the options used, and that should have lead you to the next part of the answer which is that you didn't have a libssl.so in a path that gcc or ld knew about. So while you may have thought I was rude or just insensitive, I was just trying to make you a better person and prepare you for the future where you will only run into more problems. The more you know the less likely you will find this type of response. Mainly because you will be able to answer the simple questions on your own. Only difficult questions will remain. Once you truly get to difficult questions, you will probably have enough of a base to figure out most of them on your own too. From: Steven Critchfield [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] compile error (still having problems) Date: Mon, 02 Feb 2004 11:19:52 -0600 On Mon, 2004-02-02 at 11:09, jjj3 jjj3 wrote: Hey guys! I'm still having problems trying to get Asterisk compiled but when compiling res_crypto.c, I get this error: gcc -shared -Xlinker -x -o res_crypto.so res_crypto.o -lssl -lcrypto /usr/bin/ld: cannot find -lssl My ld.so.conf seems to be ok: /usr/include/openssl/ You have so much to learn. A quick look at the gcc man page says that -l is a library to be linked against. Libraries are not held in include directories. Go find out if you have libssl.so on you machine. Then beat your head into the nearest manual greater than 5 pounds till you have absorbed the details that help you understand simple concise error messages. -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _ Find high-speed net deals comparison-shop your local providers here. https://broadband.msn.com ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Steven Critchfield [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[Asterisk-Users] Compile error under redhat 8..
Hi everyone.. I am trying to compile asterisk, I am not a hacker so when it comes to compileing I tend to get out of my depth quite quickly so you will have to speak slowly.. :) I have setup a vanilla Redhat 8.0 box with the pre-req's.. I ran the astinstall script which appeared to work perfectly but when I tried to load * it was not there.. so I tried to compile it manually using #make clean and #make install for each component (zaptel zapata libpri asterisk).. all worked fine except for asterisk which gave the following output.. ===output start=== [EMAIL PROTECTED] asterisk]# make install if [ -d CVS ] ! [ -f .version ]; then echo CVS-`date +%D-%T` .version; fi ./make_build_h make -C editline libedit.a make[1]: Entering directory `/usr/src/asterisk/editline' /bin/sh makelist -h common.c common.h /bin/sh makelist -h emacs.c emacs.h /bin/sh makelist -h vi.c vi.h /bin/sh makelist -fh common.h emacs.h vi.h fcns.h /bin/sh makelist -fc common.h emacs.h vi.h fcns.c /bin/sh makelist -bh common.c emacs.c vi.c help.h /bin/sh makelist -bc common.c emacs.c vi.c help.c /bin/sh makelist -e common.c emacs.c vi.c chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c editline.c gcc -c -Wall -pipe -g3 -O '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a In file included from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:132, from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/3.2/include/limits.h:11, from /usr/include/sys/param.h:22, from el.c:52, from editline.c:8: /usr/include/limits.h:144:30: /usr/include/bits/posix1_lim.h: Input/output error make[1]: *** [editline.o_a] Error 1 make[1]: Leaving directory `/usr/src/asterisk/editline' make: *** [editline/libedit.a] Error 2 ===output end=== Have I done somthing wrong?? Hopefully someone has the solution.. Thanks in advance.. -- __ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users