[Asterisk-Users] Asterisk installation error after CVS update
Good morning! Asterisk 1.0.7 runs fine on my machine with Suse 9.3 when using a downloaded tarball. But as I wanted to have a look at Realtime I decided to download everything again via CVS with # cvs checkout zaptel libpri asterisk and install it. Unfortunately though the Asterisk installation itself stops at some point with the following errors: === snips === chan_sip.c:36: internal compiler error: output_operand: invalid expression as operand Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.suse.de/feedback for instructions. {standard input}: Assembler messages: {standard input}:148310: Warning: partial line at end of file ignored Preprocessed source stored into /tmp/ccbflXC6.out file, please attach this to your bugreport. make[1]: *** [chan_sip.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1 === snip === Checking the file /usr/src/asterisk/channels/chan_sip.c, line 36 says: ASTERISK_FILE_VERSION(__FILE__, $Revision: 1.759 $) Is this now actually an Asterisk error, or a Suse error? Regards, Gunde ___ 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] asterisk installation error
hi, i am getting these errors while installing asterisk. i reconfigured kernel and i have all the modules installed. kernel-source readline readline-devel openssl openssl-devel this is the error: (at the last part of the installation) gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o -lresolv editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a loader.o: In function `ast_unload_resource': /usr/src/asterisk/loader.c:132: undefined reference to `dlclose' loader.o: In function `ast_load_resource': /usr/src/asterisk/loader.c:226: undefined reference to `dlopen' /usr/src/asterisk/loader.c:228: undefined reference to `dlerror' /usr/src/asterisk/loader.c:233: undefined reference to `dlsym' /usr/src/asterisk/loader.c:235: undefined reference to `dlsym' /usr/src/asterisk/loader.c:240: undefined reference to `dlsym' /usr/src/asterisk/loader.c:242: undefined reference to `dlsym' /usr/src/asterisk/loader.c:247: undefined reference to `dlsym' loader.o:/usr/src/asterisk/loader.c:249: more undefined references to `dlsym' follow loader.o: In function `ast_load_resource': /usr/src/asterisk/loader.c:282: undefined reference to `dlclose' loader.o: In function `ast_update_module_list': /usr/src/asterisk/loader.c:434: undefined reference to `pthread_mutex_trylock' channel.o: In function `ast_queue_frame': /usr/src/asterisk/channel.c:396: undefined reference to `pthread_kill' channel.o: In function `ast_do_masquerade': /usr/src/asterisk/channel.c:2112: undefined reference to `pthread_kill' channel.o: In function `tonepair_generator': /usr/src/asterisk/channel.c:2418: undefined reference to `sin' /usr/src/asterisk/channel.c:2418: undefined reference to `sin' channel.o: In function `ast_softhangup': /usr/src/asterisk/channel.c:587: undefined reference to `pthread_kill' channel.o: In function `ast_softhangup_nolock': /usr/src/asterisk/channel.c:587: undefined reference to `pthread_kill' pbx.o: In function `ast_async_goto': /usr/src/asterisk/pbx.c:1873: undefined reference to `pthread_create' pbx.o: In function `ast_pbx_outgoing_exten': /usr/src/asterisk/pbx.c:1873: undefined reference to `pthread_create' /usr/src/asterisk/pbx.c:3857: undefined reference to `pthread_create' pbx.o: In function `ast_pbx_outgoing_app': /usr/src/asterisk/pbx.c:3920: undefined reference to `pthread_create' /usr/src/asterisk/pbx.c:3952: undefined reference to `pthread_create' pbx.o:/usr/src/asterisk/pbx.c:1873: more undefined references to `pthread_create' follow callerid.o: In function `callerid_init': /usr/src/asterisk/callerid.c:97: undefined reference to `cos' /usr/src/asterisk/callerid.c:98: undefined reference to `sin' /usr/src/asterisk/callerid.c:99: undefined reference to `cos' /usr/src/asterisk/callerid.c:100: undefined reference to `sin' /usr/src/asterisk/callerid.c:101: undefined reference to `cos' /usr/src/asterisk/callerid.c:102: undefined reference to `sin' /usr/src/asterisk/callerid.c:103: undefined reference to `cos' /usr/src/asterisk/callerid.c:104: undefined reference to `sin' /usr/src/asterisk/callerid.c:105: undefined reference to `cos' /usr/src/asterisk/callerid.c:106: undefined reference to `sin' callerid.o: In function `vmwi_generate': /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:444: undefined reference to `rint' /usr/src/asterisk/callerid.c:446: undefined reference to `rint' callerid.o:/usr/src/asterisk/callerid.c:446: more undefined references to `rint' follow tdd.o: In function `tdd_init': /usr/src/asterisk/tdd.c:70: undefined reference to `cos' /usr/src/asterisk/tdd.c:71: undefined reference to `sin' /usr/src/asterisk/tdd.c:72: undefined reference to `cos' /usr/src/asterisk/tdd.c:73: undefined reference to `sin' manager.o: In function `accept_thread': /usr/src/asterisk/manager.c:753: undefined reference to `pthread_create' manager.o: In function `init_manager': /usr/src/asterisk/manager.c:938: undefined reference to `pthread_create' asterisk.o: In function `listener': /usr/src/asterisk/asterisk.c:254: undefined reference to `pthread_create' asterisk.o: In function `ast_makesocket': /usr/src/asterisk/asterisk.c:307: undefined reference to `pthread_create' asterisk.o: In function `console_verboser': /usr/src/asterisk/asterisk.c:559: undefined reference to `pthread_kill' asterisk.o: In function `main': /usr/src/asterisk/asterisk.c:1372: undefined reference to `pthread_sigmask' /usr/src/asterisk/asterisk.c:1435: undefined reference to `pthread_sigmask' dsp.o: In function `ast_dtmf_detect_init': /usr/src/asterisk/dsp.c:213: undefined reference to `cos'
Re: [Asterisk-Users] asterisk installation error
On Sun, Nov 16, 2003 at 08:33:22PM -0800, C M wrote: hi, i am getting these errors while installing asterisk. i reconfigured kernel and i have all the modules installed. kernel-source readline readline-devel openssl openssl-devel this is the error: (at the last part of the installation) gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o -lresolv editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a seems like the libraries it uses didn't get compiled it, this might be a automake/etc problem. You can go through manually and add -ldl -lm -lphread (might be -ptread on yours), and stuff like -lncurses (might be -lcurses) and stuff. You might have more fun by trying make clean and recompiling. loader.o: In function `ast_unload_resource': /usr/src/asterisk/loader.c:132: undefined reference to `dlclose' loader.o: In function `ast_load_resource': /usr/src/asterisk/loader.c:226: undefined reference to `dlopen' /usr/src/asterisk/loader.c:228: undefined reference to `dlerror' /usr/src/asterisk/loader.c:233: undefined reference to `dlsym' /usr/src/asterisk/loader.c:235: undefined reference to `dlsym' /usr/src/asterisk/loader.c:240: undefined reference to `dlsym' /usr/src/asterisk/loader.c:242: undefined reference to `dlsym' /usr/src/asterisk/loader.c:247: undefined reference to `dlsym' loader.o:/usr/src/asterisk/loader.c:249: more undefined references to `dlsym' follow loader.o: In function `ast_load_resource': /usr/src/asterisk/loader.c:282: undefined reference to `dlclose' loader.o: In function `ast_update_module_list': /usr/src/asterisk/loader.c:434: undefined reference to `pthread_mutex_trylock' channel.o: In function `ast_queue_frame': /usr/src/asterisk/channel.c:396: undefined reference to `pthread_kill' channel.o: In function `ast_do_masquerade': /usr/src/asterisk/channel.c:2112: undefined reference to `pthread_kill' channel.o: In function `tonepair_generator': /usr/src/asterisk/channel.c:2418: undefined reference to `sin' /usr/src/asterisk/channel.c:2418: undefined reference to `sin' channel.o: In function `ast_softhangup': /usr/src/asterisk/channel.c:587: undefined reference to `pthread_kill' channel.o: In function `ast_softhangup_nolock': /usr/src/asterisk/channel.c:587: undefined reference to `pthread_kill' pbx.o: In function `ast_async_goto': /usr/src/asterisk/pbx.c:1873: undefined reference to `pthread_create' pbx.o: In function `ast_pbx_outgoing_exten': /usr/src/asterisk/pbx.c:1873: undefined reference to `pthread_create' /usr/src/asterisk/pbx.c:3857: undefined reference to `pthread_create' pbx.o: In function `ast_pbx_outgoing_app': /usr/src/asterisk/pbx.c:3920: undefined reference to `pthread_create' /usr/src/asterisk/pbx.c:3952: undefined reference to `pthread_create' pbx.o:/usr/src/asterisk/pbx.c:1873: more undefined references to `pthread_create' follow callerid.o: In function `callerid_init': /usr/src/asterisk/callerid.c:97: undefined reference to `cos' /usr/src/asterisk/callerid.c:98: undefined reference to `sin' /usr/src/asterisk/callerid.c:99: undefined reference to `cos' /usr/src/asterisk/callerid.c:100: undefined reference to `sin' /usr/src/asterisk/callerid.c:101: undefined reference to `cos' /usr/src/asterisk/callerid.c:102: undefined reference to `sin' /usr/src/asterisk/callerid.c:103: undefined reference to `cos' /usr/src/asterisk/callerid.c:104: undefined reference to `sin' /usr/src/asterisk/callerid.c:105: undefined reference to `cos' /usr/src/asterisk/callerid.c:106: undefined reference to `sin' callerid.o: In function `vmwi_generate': /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:441: undefined reference to `rint' /usr/src/asterisk/callerid.c:444: undefined reference to `rint' /usr/src/asterisk/callerid.c:446: undefined reference to `rint' callerid.o:/usr/src/asterisk/callerid.c:446: more undefined references to `rint' follow tdd.o: In function `tdd_init': /usr/src/asterisk/tdd.c:70: undefined reference to `cos' /usr/src/asterisk/tdd.c:71: undefined reference to `sin' /usr/src/asterisk/tdd.c:72: undefined reference to `cos' /usr/src/asterisk/tdd.c:73: undefined reference to `sin' manager.o: In function `accept_thread': /usr/src/asterisk/manager.c:753: undefined reference to `pthread_create' manager.o: In function `init_manager': /usr/src/asterisk/manager.c:938: undefined reference to `pthread_create' asterisk.o: In function `listener': /usr/src/asterisk/asterisk.c:254: undefined reference to `pthread_create' asterisk.o: In function `ast_makesocket':
Re: [Asterisk-Users] asterisk installation error
On Sunday 16 November 2003 22:33, C M wrote: i am getting these errors while installing asterisk. i reconfigured kernel and i have all the modules installed. kernel-source readline readline-devel openssl openssl-devel this is the error: (at the last part of the installation) gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o -lresolv editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a loader.o: In function `ast_unload_resource': /usr/src/asterisk/loader.c:132: undefined reference to `dlclose' snip What architecture is this on? Please reply with the output of 'uname -a'. -Tilghman ___ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users