[asterisk-users] Error compiling Asterisk on Centos 8
I am compiling asterisk11 (eleven) on Centos 8 (eight) with ./configure LDFLAGS="-z muldefs" --libdir=/usr/lib64 --with-unixodbc=$(odbc_config --include-prefix)/ --disable-asteriskssl -enable-xmldoc NOISY_BUILD=no Since I did the configure with "--disable-asteriskssl", why is even trying to compile libasteriskssl? make[1]: Entering directory '/usr/src/asterisk/main' gcc -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF .libasteriskssl.o.d -MP -pthread -I/usr/src/asterisk/include -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=native -DAST_MODULE=\"core\" -DAST_IN_CORE libasteriskssl.c:77:26: error: macro "SSL_library_init" passed 1 arguments, but takes just 0 int SSL_library_init(void) ^ libasteriskssl.c:78:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ libasteriskssl.c:87:33: error: macro "SSL_load_error_strings" passed 1 arguments, but takes just 0 void SSL_load_error_strings(void) ^ libasteriskssl.c:88:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ libasteriskssl.c:97:1: error: expected identifier or ‘(’ before ‘{’ token { ^ libasteriskssl.c:106:1: error: expected identifier or ‘(’ before ‘{’ token { ^ -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
Hello all, Figured I'd repost this with an edited subject line, to attract attention of people with Debian On Sparc experience. Apologies in advance if this kind of thing is frowned upon :) [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 astobj2.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' astobj2.o:/usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: more undefined references to `__sync_fetch_and_add_4' follow utils.o: In function `ast_atomic_dec_and_test': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:635: undefined reference to `__sync_sub_and_fetch_4' utils.o: In function `ast_atomic_fetchadd_int': /usr/src/asterisk-1.8.3/include/asterisk/lock.h:589: undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status make[1]: *** [asterisk] Error 1 make: *** [main] Error 2 Any idea where this is coming from? seems like something is selected that doesn't have other related stuff unselected? no clue where to start looking Thanks \RR -- _ -- 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] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
On 03/08/11 08:49, RR wrote: Any idea where this is coming from? seems like something is selected that doesn't have other related stuff unselected? no clue where to start looking No SPARC expert, but I seem to recall the lowest-common-denominator SPARCs lack things like hardware multiply in the instruction set. Even if it doesn't help fix the problem, you probably will want to use at least -mcpu=v9 (educated guess looking at the gcc manpage) if it's an UltraSPARC as that will give you some of these instructions. Asterisk strikes me as an application that'd make fairly hefty use of things like integer multiplication. Another place to ask might be the Debian-SPARC mailing list? -- Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere. -- _ -- 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] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
Hello Stuart On Mon, Mar 7, 2011 at 6:09 PM, Stuart Longland redhat...@gentoo.orgwrote: On 03/08/11 08:49, RR wrote: Any idea where this is coming from? seems like something is selected that doesn't have other related stuff unselected? no clue where to start looking No SPARC expert, but I seem to recall the lowest-common-denominator SPARCs lack things like hardware multiply in the instruction set. Even if it doesn't help fix the problem, you probably will want to use at least -mcpu=v9 (educated guess looking at the gcc manpage) if it's an UltraSPARC as that will give you some of these instructions. Asterisk strikes me as an application that'd make fairly hefty use of things like integer multiplication. Ok, where would I put this -mcpu=v9 in the configure line? I tried ./configure CFLAGS=-mcpu=v9? BTW, at the end of the configure script, it's already detecting the host cpu as sparc64. If that helps. Maybe -march needs to be specified somewhere? Another place to ask might be the Debian-SPARC mailing list? haha funny, I was just writing an email to that list when your email hit my inbox :) -- _ -- 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] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
On 03/08/11 09:21, RR wrote: Hello Stuart On Mon, Mar 7, 2011 at 6:09 PM, Stuart Longland redhat...@gentoo.org mailto:redhat...@gentoo.org wrote: Even if it doesn't help fix the problem, you probably will want to use at least -mcpu=v9 (educated guess looking at the gcc manpage) if it's an UltraSPARC as that will give you some of these instructions. Asterisk strikes me as an application that'd make fairly hefty use of things like integer multiplication. Ok, where would I put this -mcpu=v9 in the configure line? I tried ./configure CFLAGS=-mcpu=v9? Normally it's specified in the environment; so maybe CFLAGS=-mcpu=v9 ./configure… BTW, at the end of the configure script, it's already detecting the host cpu as sparc64. If that helps. Maybe -march needs to be specified somewhere? Maybe, the fact that it detected 'sparc64' probably is more a case of telling the build system that the system is big-endian, requires that data structures be 64-bit aligned, etc. Use of features that weren't in the first SPARC is an optional extra. Another place to ask might be the Debian-SPARC mailing list? haha funny, I was just writing an email to that list when your email hit my inbox :) Telepathy; seems we think alike. :-D Must be due to me being from the same part of the world. -- Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere. -- _ -- 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] Error compiling Asterisk 1.8.3 on Sun SPARC x64 w/Debian Squeeze
On Mon, Mar 7, 2011 at 6:31 PM, Stuart Longland redhat...@gentoo.orgwrote: On 03/08/11 09:21, RR wrote: Hello Stuart On Mon, Mar 7, 2011 at 6:09 PM, Stuart Longland redhat...@gentoo.org mailto:redhat...@gentoo.org wrote: Even if it doesn't help fix the problem, you probably will want to use at least -mcpu=v9 (educated guess looking at the gcc manpage) if it's an UltraSPARC as that will give you some of these instructions. Asterisk strikes me as an application that'd make fairly hefty use of things like integer multiplication. Ok, where would I put this -mcpu=v9 in the configure line? I tried ./configure CFLAGS=-mcpu=v9? Normally it's specified in the environment; so maybe CFLAGS=-mcpu=v9 ./configure… I tried both ways, my way and yours i.e. setting them as env variables and it still gets that error. Also found some other stuff on the net related to that in different context but none of those work for me. Some where in some old debian archives there's some mention of the Boost libraries and the flag that must be used on Sparc with Boost libraries. Although it also says that it was fixed in some later release which was back in 2008, so am assuming that fix is still in place in Squeeze. BTW, at the end of the configure script, it's already detecting the host cpu as sparc64. If that helps. Maybe -march needs to be specified somewhere? Maybe, the fact that it detected 'sparc64' probably is more a case of telling the build system that the system is big-endian, requires that data structures be 64-bit aligned, etc. Use of features that weren't in the first SPARC is an optional extra. Ok, if that doesn't help then another interesting insight is that in config.log, it says that the response to 'arch' and 'arch -k' commands is 'unknown'. Don't know if that helps. Another place to ask might be the Debian-SPARC mailing list? haha funny, I was just writing an email to that list when your email hit my inbox :) Telepathy; seems we think alike. :-D Must be due to me being from the same part of the world. Possibly :) although I have found that there's not a lot of activity in that list on a regular basis. So not sure if my problem will get resolved there or not :( -- _ -- 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] Error compiling asterisk addons version 1.2.0-beta2
Dear All, I am facing a problem in compiling the add-ons for the mysql, though the files are downloaded correctly and checked and I tried different mirrors even the cvs but yet I get those errors : app_addon_sql_mysql.c:23:19: mysql.h: No such file or directory cdr_addon_mysql.c:38:19: mysql.h: No such file or directory cdr_addon_mysql.c:39:20: errmsg.h: No such file or directory res_config_mysql.c:51:19: mysql.h : No such file or directory res_config_mysql.c:52:27: mysql_version.h: No such file or directory res_config_mysql.c:53:20: errmsg.h: No such file or directory anyone has a clue, I used to compile it without problems Thx MAG ___ --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
Re: [Asterisk-Users] Error compiling asterisk addons version 1.2.0-beta2
You need to install the libmysqlclient-dev package. Search the rpm/deb/src available for your distrib and install it. Regards, Le mar 08/11/2005 à 10:44, Mohamed A. Gombolaty a écrit : Dear All, I am facing a problem in compiling the add-ons for the mysql, though the files are downloaded correctly and checked and I tried different mirrors even the cvs but yet I get those errors : app_addon_sql_mysql.c:23:19: mysql.h: No such file or directory cdr_addon_mysql.c:38:19: mysql.h: No such file or directory cdr_addon_mysql.c:39:20: errmsg.h: No such file or directory res_config_mysql.c:51:19: mysql.h : No such file or directory res_config_mysql.c:52:27: mysql_version.h: No such file or directory res_config_mysql.c:53:20: errmsg.h: No such file or directory anyone has a clue, I used to compile it without problems Thx MAG ___ --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 ___ --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] error compiling asterisk
hello,i was able to install openssl by hand successfuly, then i tied make.. theerror is till there,any more ideas?thnks - Original Message -From: "Derek Whitten" [EMAIL PROTECTED]To: "chris" [EMAIL PROTECTED]Sent: Saturday, August 13, 2005 12:29 AMSubject: Re: [Asterisk-Users] error compiling asterisk on solaris ___ 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] error compiling asterisk on solaris
www.sunfreeware.com might (and probably will) help I have just found out that in Solaris 10, it is installed by default in /usr/sfw/lib Ondrej Rollin Weeks wrote: Chris, The problem is that your compiler can't find a library called libcrypt.so.0.9.7. This library is apparently needed by libssl.so. These are both runtime, shared libraries. The result is that you end up with undefined symbols (probably variables used in services the libraries provide). You need to find the encryption library for Solaris 9. Rollin Weeks On 8/9/05, *chris* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hello, can anyone help me? im gettitng this error when i tried runnin make on solaris 9 rm -f include/asterisk/version.h.tmp make[1]: `ast_expr.a' is up to date. make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk' gcc -g -o asterisk io.o sched.o logger.o frame.o loader.o config.o channel.o t ranslate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod em.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt. o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate. o netsock.o slinfactory.o strcompat.o ast_expr.a editline/libedit.a db1-ast/libd b1.a stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u sr/local/ssl/lib -lssl /usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.6, needed by / usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link) utils.o: In function `vasprintf': /export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to `va_copy ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestInit' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject' /usr/local/ssl/lib/libssl.so: undefined reference to `lh_free' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_free' /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data' /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bin2bn' /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_new_index' /usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_RSAPrivateKey ' /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bn2bin' /usr/local/ssl/lib/libssl.so: undefined reference to `RAND_add' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_socket' /usr/local/ssl/lib/libssl.so: undefined reference to `asn1_add_error' /usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_num' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_free_all' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_get_retry_reason' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_new' /usr/local/ssl/lib/libssl.so: undefined reference to `SHA1_Init' /usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_Final' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_md5' /usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_object_size' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_get_cipherbyname' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc4' /usr/local/ssl/lib/libssl.so:
Re: [Asterisk-Users] error compiling asterisk on solaris
hi rollin, idownloaded openssl from sunfreware.com i change openssl pkg from openssl-0.9.7g to openssl-0.9.6i hoping that i am only using the wrong version, but i'm still getting the error, thnks for the reply rollin, but i believe i have the libcrypto.so.0.9.6 that is needed. bash-2.05# cd /usr/local/ssl bash-2.05# ls bin doc lib misc private certsinclude man openssl.cnf bash-2.05# cd lib bash-2.05# ls libcrypto.a libcrypto.so.0 libssl.alibssl.so.0 libcrypto.solibcrypto.so.0.9.6 libssl.so libssl.so.0.9.6 bash-2.05# i also tried including /usr/local/ssl:/usr/local/ssl/lib on path but i'm still getting the error. pls advice if i'm doing the right thing and where can i get encryption library for Solaris thnks. - Original Message - From: Ondrej Valousek [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, August 11, 2005 3:35 PM Subject: Re: [Asterisk-Users] error compiling asterisk on solaris www.sunfreeware.com might (and probably will) help I have just found out that in Solaris 10, it is installed by default in /usr/sfw/lib Ondrej Rollin Weeks wrote: Chris, The problem is that your compiler can't find a library called libcrypt.so.0.9.7. This library is apparently needed by libssl.so. These are both runtime, shared libraries. The result is that you end up with undefined symbols (probably variables used in services the libraries provide). You need to find the encryption library for Solaris 9. Rollin Weeks On 8/9/05, *chris* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hello, can anyone help me? im gettitng this error when i tried runnin make on solaris 9 rm -f include/asterisk/version.h.tmp make[1]: `ast_expr.a' is up to date. make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk' gcc -g -o asterisk io.o sched.o logger.o frame.o loader.o config.o channel.o t ranslate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod em.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt. o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate. o netsock.o slinfactory.o strcompat.o ast_expr.a editline/libedit.a db1-ast/libd b1.a stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u sr/local/ssl/lib -lssl /usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.6, needed by / usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link) utils.o: In function `vasprintf': /export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to `va_copy ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestInit' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject' /usr/local/ssl/lib/libssl.so: undefined reference to `lh_free' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_free' /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data' /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bin2bn' /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_new_index' /usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_RSAPrivateKey ' /usr/local/ssl/lib/libssl.so: undefined reference to `BN_bn2bin' /usr/local/ssl/lib/libssl.so: undefined reference to `RAND_add' /usr/local/ssl/lib/libssl.so
Re: [Asterisk-Users] error compiling asterisk on solaris
have you tried compiling openssl by hand? have you ran 'crle' (http://tinyurl.com/2t9zr) crle - configure runtime linking environment you may have to add '/usr/local/ssl' to crle to get solaris to find those libraries or compile ssl by hand into a 'standard' location On Thu, 2005-08-11 at 01:34, chris wrote: hi rollin, idownloaded openssl from sunfreware.com i change openssl pkg from openssl-0.9.7g to openssl-0.9.6i hoping that i am only using the wrong version, but i'm still getting the error, thnks for the reply rollin, but i believe i have the libcrypto.so.0.9.6 that is needed. bash-2.05# cd /usr/local/ssl bash-2.05# ls bin doc lib misc private certsinclude man openssl.cnf bash-2.05# cd lib bash-2.05# ls libcrypto.a libcrypto.so.0 libssl.alibssl.so.0 libcrypto.solibcrypto.so.0.9.6 libssl.so libssl.so.0.9.6 bash-2.05# i also tried including /usr/local/ssl:/usr/local/ssl/lib on path but i'm still getting the error. pls advice if i'm doing the right thing and where can i get encryption library for Solaris thnks. - Original Message - From: Ondrej Valousek [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, August 11, 2005 3:35 PM Subject: Re: [Asterisk-Users] error compiling asterisk on solaris www.sunfreeware.com might (and probably will) help I have just found out that in Solaris 10, it is installed by default in /usr/sfw/lib Ondrej Rollin Weeks wrote: Chris, The problem is that your compiler can't find a library called libcrypt.so.0.9.7. This library is apparently needed by libssl.so. These are both runtime, shared libraries. The result is that you end up with undefined symbols (probably variables used in services the libraries provide). You need to find the encryption library for Solaris 9. Rollin Weeks On 8/9/05, *chris* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hello, can anyone help me? im gettitng this error when i tried runnin make on solaris 9 rm -f include/asterisk/version.h.tmp make[1]: `ast_expr.a' is up to date. make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk' gcc -g -o asterisk io.o sched.o logger.o frame.o loader.o config.o channel.o t ranslate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod em.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt. o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate. o netsock.o slinfactory.o strcompat.o ast_expr.a editline/libedit.a db1-ast/libd b1.a stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u sr/local/ssl/lib -lssl /usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.6, needed by / usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link) utils.o: In function `vasprintf': /export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to `va_copy ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestInit' /usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject' /usr/local/ssl/lib/libssl.so: undefined reference to `lh_free' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new' /usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data ' /usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal' /usr/local/ssl/lib/libssl.so: undefined reference to `X509_free' /usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data' /usr/local
Re: [Asterisk-Users] error compiling asterisk on solaris
hi, have you tried compiling openssl by hand? i never tried compiling ssl by hand cause i dont know how. have you ran 'crle' (http://tinyurl.com/2t9zr) crle - configure runtime linking environment you may have to add '/usr/local/ssl' to crle to get solaris to find those libraries or compile ssl by hand into a 'standard' location i tried adding /usr/local/ssl on crle, executed command. bash-2.05#crle -s /usr/local/ssl bash-2.05# crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib (system default) Trusted Directories (ELF):/usr/local/ssl Command line: crle -c /var/ld/ld.config -s /usr/local/ssl bash-2.05# then i tried make again, but error still exist, 'undefined reference' pls advise. i really need to make asterisk working on solaris. thanks so much for the replies. :) chris - Original Message - From: Derek Whitten [EMAIL PROTECTED] To: Asterisk Users Mailing List - Non-Commercial Discussion asterisk-users@lists.digium.com Sent: Thursday, August 11, 2005 9:41 PM Subject: Re: [Asterisk-Users] error compiling asterisk on solaris ___ 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] error compiling asterisk on solaris
hello, can anyone help me? im gettitng this error when i tried runnin make on solaris 9 rm -f include/asterisk/version.h.tmpmake[1]: `ast_expr.a' is up to date.make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk'gcc -g -o asterisk io.o sched.o logger.o frame.o loader.o config.o channel.o t ranslate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod em.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt. o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate. o netsock.o slinfactory.o strcompat.o ast_expr.a editline/libedit.a db1-ast/libd b1.a stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u sr/local/ssl/lib -lssl/usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.6, needed by / usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link)utils.o: In function `vasprintf':/export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to `va_copy '/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestInit'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject'/usr/local/ssl/lib/libssl.so: undefined reference to `lh_free'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data '/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_free'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data'/usr/local/ssl/lib/libssl.so: undefined reference to `BN_bin2bn'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_new_index'/usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_RSAPrivateKey '/usr/local/ssl/lib/libssl.so: undefined reference to `BN_bn2bin'/usr/local/ssl/lib/libssl.so: undefined reference to `RAND_add'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_socket'/usr/local/ssl/lib/libssl.so: undefined reference to `asn1_add_error'/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_num'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_free_all'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_get_retry_reason'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_new'/usr/local/ssl/lib/libssl.so: undefined reference to `SHA1_Init'/usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_Final'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_md5'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_object_size'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_get_cipherbyname'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc4'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_add_cipher'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_get_object'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_file'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_expand_block'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_snprintf'/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey_bio'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `RSA_sign'/usr/local/ssl/lib/libssl.so: undefined reference to `ERR_peek_error'/usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_PrivateKey'/usr/local/ssl/lib/libssl.so: undefined reference to `lh_retrieve'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_get_pubkey'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_dup_ex_data'/usr/local/ssl/lib/libssl.so: undefined reference to `DH_generate_key'/usr/local/ssl/lib/libssl.so: undefined reference to `DH_size'/usr/local/ssl/lib/libssl.so: undefined reference to `i2d_ASN1_INTEGER'/usr/local/ssl/lib/libssl.so: undefined reference to `lh_doall_arg'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_set_ex_data'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_printf'/usr/local/ssl/lib/libssl.so: undefined reference to `SHA1_Update'/usr/local/ssl/lib/libssl.so: undefined
Re: [Asterisk-Users] error compiling asterisk on solaris
Chris, The problem is that your compiler can't find a library called libcrypt.so.0.9.7. This library is apparently needed by libssl.so. These are both runtime, shared libraries. The result is that you end up with undefined symbols (probably variables used in services the libraries provide). You need to find the encryption library for Solaris 9. Rollin WeeksOn 8/9/05, chris [EMAIL PROTECTED] wrote: hello, can anyone help me? im gettitng this error when i tried runnin make on solaris 9 rm -f include/asterisk/version.h.tmpmake[1]: `ast_expr.a' is up to date.make[1]: Leaving directory `/export/home/fst/chris/cvs/asterisk'gcc -g -o asterisk io.o sched.o logger.o frame.o loader.o config.o channel.o t ranslate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmod em.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt. o aestab.o aeskey.o utils.o config_old.o plc.o jitterbuf.o dnsmgr.o devicestate. o netsock.o slinfactory.o strcompat.o ast_expr.a editline/libedit.a db1-ast/libd b1.a stdtime/libtime.a -lncurses -lm -lpthread -ldl -lnsl -lsocket -lresolv -L/u sr/local/ssl/lib -lssl/usr/local/sparc-sun-solaris2.8/bin/ld: warning: libcrypto.so.0.9.6, needed by / usr/local/ssl/lib/libssl.so, not found (try using -rpath or -rpath-link)utils.o: In function `vasprintf':/export/home/fst/chris/cvs/asterisk/utils.c:623: undefined reference to `va_copy '/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestInit'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_find_type'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_enc_null'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_NAME_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_compress_block'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc2_cbc'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_new_null'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject'/usr/local/ssl/lib/libssl.so: undefined reference to `lh_free'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_VerifyFinal'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_CTX_new'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data '/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_DigestFinal'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_free'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data'/usr/local/ssl/lib/libssl.so: undefined reference to `BN_bin2bn'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_get_ex_new_index'/usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_RSAPrivateKey '/usr/local/ssl/lib/libssl.so: undefined reference to `BN_bn2bin'/usr/local/ssl/lib/libssl.so: undefined reference to `RAND_add'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_socket'/usr/local/ssl/lib/libssl.so: undefined reference to `asn1_add_error'/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey'/usr/local/ssl/lib/libssl.so: undefined reference to `sk_num'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_free_all'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_get_retry_reason'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_STORE_new'/usr/local/ssl/lib/libssl.so: undefined reference to `SHA1_Init'/usr/local/ssl/lib/libssl.so: undefined reference to `HMAC_Final'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_md5'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_object_size'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_get_cipherbyname'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_rc4'/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_add_cipher'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_get_object'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_s_file'/usr/local/ssl/lib/libssl.so: undefined reference to `COMP_expand_block'/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_snprintf'/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey_bio'/usr/local/ssl/lib/libssl.so: undefined reference to `ASN1_dup'/usr/local/ssl/lib/libssl.so: undefined reference to `RSA_sign'/usr/local/ssl/lib/libssl.so: undefined reference to `ERR_peek_error'/usr/local/ssl/lib/libssl.so: undefined reference to `PEM_read_bio_PrivateKey'/usr/local/ssl/lib/libssl.so: undefined reference to `lh_retrieve'/usr/local/ssl/lib/libssl.so: undefined reference to `X509_get_pubkey'/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_dup_ex_data'/usr/local/ssl/lib/libssl.so: undefined reference to `DH_generate_key'/usr/local/ssl/lib/libssl.so: undefined reference to
[Asterisk-Users] error compiling asterisk
app_rxfax.c: In function `phase_e_handler': app_rxfax.c:93: error: structure has no member named `callerid' app_rxfax.c: At top level: app_rxfax.c:61: warning: `t30_flush' defined but not used make[1]: *** [app_rxfax.o] Error 1 make[1]: Leaving directory `/usr/local/src/asterisk/apps' How to fix that??? bye Ronald ___ 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] error compiling asterisk
On Sat, 2005-06-18 at 17:00 +0800, Ronald Wiplinger wrote: app_rxfax.c: In function `phase_e_handler': app_rxfax.c:93: error: structure has no member named `callerid' app_rxfax.c: At top level: app_rxfax.c:61: warning: `t30_flush' defined but not used make[1]: *** [app_rxfax.o] Error 1 make[1]: Leaving directory `/usr/local/src/asterisk/apps' How to fix that??? change app_rxfax.c //#if (ASTERISK_VERSION_NUM = 010300) // chan-callerid, //#else (chan-cid.cid_num) ? chan-cid.cid_num : , //#endif -- Dave Cotton [EMAIL PROTECTED] ___ 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] error compiling asterisk
Dave Cotton wrote: On Sat, 2005-06-18 at 17:00 +0800, Ronald Wiplinger wrote: app_rxfax.c: In function `phase_e_handler': app_rxfax.c:93: error: structure has no member named `callerid' app_rxfax.c: At top level: app_rxfax.c:61: warning: `t30_flush' defined but not used make[1]: *** [app_rxfax.o] Error 1 make[1]: Leaving directory `/usr/local/src/asterisk/apps' How to fix that??? change app_rxfax.c //#if (ASTERISK_VERSION_NUM = 010300) // chan-callerid, //#else (chan-cid.cid_num) ? chan-cid.cid_num : , //#endif Would that also mean that I could not receive fax anymore on my Zap line??? bye Ronald ___ 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] error compiling asterisk
I did cvs update on asterisk, zaptel, libpri as of today (November 5, 2003). I also did 'make clean' on each of them. My previous version of asterisk was cvs of September 15, 2003. No other changes have been made to my system other that these updates. when running 'make asterisk' the following error appears term.c:55: conflicting types for `term_color' include/asterisk/term.h:47: previous declaration of `term_color' term.c:98: conflicting types for `term_prompt' include/asterisk/term.h:49: previous declaration of `term_prompt' make: *** [term.o] Error 1 [EMAIL PROTECTED] asterisk]# Can anyone give me a hint of what the problem may be? Don Pobanz ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] error compiling asterisk
On Wed, 2003-11-05 at 19:11, Don Pobanz wrote: I did cvs update on asterisk, zaptel, libpri as of today (November 5, 2003). I also did 'make clean' on each of them. My previous version of asterisk was cvs of September 15, 2003. No other changes have been made to my system other that these updates. when running 'make asterisk' the following error appears term.c:55: conflicting types for `term_color' include/asterisk/term.h:47: previous declaration of `term_color' term.c:98: conflicting types for `term_prompt' include/asterisk/term.h:49: previous declaration of `term_prompt' make: *** [term.o] Error 1 [EMAIL PROTECTED] asterisk]# Can anyone give me a hint of what the problem may be? The error message says there's a difference between the declaration of the two items in term.h and term.c I came across this a couple of weeks ago and made the declarations consistant, it worked for me but someone else had problems with H323 afterwards. Since then I've moved my asterisk source code aside and checked out the complete code, there seems to be no problem of inconsistances with a complete checkout. YMMV -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] error compiling asterisk
Thanks Dave Cotton! I did not realize that a cvs update would not always give all the latest files. I did a fresh checkout of * and now it compiles fine. Don Pobanz On Wednesday, November 05, 2003 3:45 PM, Dave Cotton [SMTP:[EMAIL PROTECTED] wrote: On Wed, 2003-11-05 at 19:11, Don Pobanz wrote: I did cvs update on asterisk, zaptel, libpri as of today (November 5, 2003). I also did 'make clean' on each of them. My previous version of asterisk was cvs of September 15, 2003. No other changes have been made to my system other that these updates. when running 'make asterisk' the following error appears term.c:55: conflicting types for `term_color' include/asterisk/term.h:47: previous declaration of `term_color' term.c:98: conflicting types for `term_prompt' include/asterisk/term.h:49: previous declaration of `term_prompt' make: *** [term.o] Error 1 [EMAIL PROTECTED] asterisk]# Can anyone give me a hint of what the problem may be? The error message says there's a difference between the declaration of the two items in term.h and term.c I came across this a couple of weeks ago and made the declarations consistant, it worked for me but someone else had problems with H323 afterwards. Since then I've moved my asterisk source code aside and checked out the complete code, there seems to be no problem of inconsistances with a complete checkout. YMMV -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] error compiling asterisk
excuse me for sounding stupid but how do i do a complete checkout? Don Pobanz wrote: Thanks Dave Cotton! I did not realize that a cvs update would not always give all the latest files. I did a fresh checkout of * and now it compiles fine. Don Pobanz On Wednesday, November 05, 2003 3:45 PM, Dave Cotton [SMTP:[EMAIL PROTECTED] wrote: On Wed, 2003-11-05 at 19:11, Don Pobanz wrote: I did cvs update on asterisk, zaptel, libpri as of today (November 5, 2003). I also did 'make clean' on each of them. My previous version of asterisk was cvs of September 15, 2003. No other changes have been made to my system other that these updates. when running 'make asterisk' the following error appears term.c:55: conflicting types for `term_color' include/asterisk/term.h:47: previous declaration of `term_color' term.c:98: conflicting types for `term_prompt' include/asterisk/term.h:49: previous declaration of `term_prompt' make: *** [term.o] Error 1 [EMAIL PROTECTED] asterisk]# Can anyone give me a hint of what the problem may be? The error message says there's a difference between the declaration of the two items in term.h and term.c I came across this a couple of weeks ago and made the declarations consistant, it worked for me but someone else had problems with H323 afterwards. Since then I've moved my asterisk source code aside and checked out the complete code, there seems to be no problem of inconsistances with a complete checkout. YMMV -- Dave Cotton [EMAIL PROTECTED] ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users