gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -c -o ast_expr2f.o ast_expr2f.c ast_expr2f.c:1262: warning: 'yyunput' defined but not used 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 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 plc.o jitterbuf.o dnsmgr.o devicestate.o utils.o plc.o jitterbuf.o scx_jitterbuf.o dnsmgr.o devicestate.o netsock.o slinfactory.o ast_expr2.o ast_expr2f.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -ldl -lpthread -lncurses -lm -lresolv -lssl utils.o(.text+0x40): In function `ast_skip_blanks': include/asterisk/strings.h:42: multiple definition of `ast_skip_blanks' utils.o(.text+0x40):include/asterisk/strings.h:42: first defined here utils.o(.text+0x60): In function `ast_trim_blanks': include/asterisk/strings.h:56: multiple definition of `ast_trim_blanks' utils.o(.text+0x60):include/asterisk/strings.h:56: first defined here utils.o(.text+0xb0): In function `ast_skip_nonblanks': include/asterisk/strings.h:81: multiple definition of `ast_skip_nonblanks' utils.o(.text+0xb0):include/asterisk/strings.h:81: first defined here utils.o(.text+0xd0): In function `ast_copy_string': include/asterisk/strings.h:150: multiple definition of `ast_copy_string' utils.o(.text+0xd0):include/asterisk/strings.h:150: first defined here utils.o(.text+0x120): In function `ast_tvdiff_ms': include/asterisk/time.h:43: multiple definition of `ast_tvdiff_ms' utils.o(.text+0x120):include/asterisk/time.h:43: first defined here utils.o(.text+0x190): In function `ast_tvzero': include/asterisk/time.h:59: multiple definition of `ast_tvzero' utils.o(.text+0x190):include/asterisk/time.h:59: first defined here utils.o(.text+0x1b0): In function `ast_tvcmp': include/asterisk/time.h:70: multiple definition of `ast_tvcmp' utils.o(.text+0x1b0):include/asterisk/time.h:70: first defined here utils.o(.text+0x210): In function `ast_tveq': include/asterisk/time.h:89: multiple definition of `ast_tveq' utils.o(.text+0x210):include/asterisk/time.h:89: first defined here utils.o(.text+0x260): In function `ast_tvnow': include/asterisk/time.h:99: multiple definition of `ast_tvnow' utils.o(.text+0x260):include/asterisk/time.h:99: first defined here utils.o(.text+0x290): In function `ast_tv': include/asterisk/time.h:130: multiple definition of `ast_tv' utils.o(.text+0x290):include/asterisk/time.h:130: first defined here utils.o(.text+0x2b0): In function `ast_gethostbyname': /home/patrick/redhat/BUILD/asterisk/utils.c:160: multiple definition of `ast_gethostbyname' utils.o(.text+0x2b0):/home/patrick/redhat/BUILD/asterisk/utils.c:160: first defined here utils.o(.text+0x440): In function `ast_md5_hash': /home/patrick/redhat/BUILD/asterisk/utils.c:256: multiple definition of `ast_md5_hash' utils.o(.text+0x440):/home/patrick/redhat/BUILD/asterisk/utils.c:256: first defined here utils.o(.text+0x4c0): In function `ast_base64decode': /home/patrick/redhat/BUILD/asterisk/utils.c:271: multiple definition of `ast_base64decode' utils.o(.text+0x4c0):/home/patrick/redhat/BUILD/asterisk/utils.c:271: first defined here utils.o(.text+0x540): In function `ast_base64encode': /home/patrick/redhat/BUILD/asterisk/utils.c:309: multiple definition of `ast_base64encode' utils.o(.text+0x540):/home/patrick/redhat/BUILD/asterisk/utils.c:309: first defined here utils.o(.text+0x610): In function `ast_uri_encode': /home/patrick/redhat/BUILD/asterisk/utils.c:398: multiple definition of `ast_uri_encode' utils.o(.text+0x610):/home/patrick/redhat/BUILD/asterisk/utils.c:398: first defined here utils.o(.text+0x6d0): In function `ast_uri_decode': /home/patrick/redhat/BUILD/asterisk/utils.c:429: multiple definition of `ast_uri_decode' utils.o(.text+0x6d0):/home/patrick/redhat/BUILD/asterisk/utils.c:429: first defined here utils.o(.text+0x750): In function `ast_inet_ntoa': /home/patrick/redhat/BUILD/asterisk/utils.c:446: multiple definition of `ast_inet_ntoa' utils.o(.text+0x750):/home/patrick/redhat/BUILD/asterisk/utils.c:446: first defined here utils.o(.text+0x780): In function `ast_utils_init': /home/patrick/redhat/BUILD/asterisk/utils.c:451: multiple definition of `ast_utils_init' utils.o(.text+0x780):/home/patrick/redhat/BUILD/asterisk/utils.c:451: first defined here utils.o(.text+0x810): In function `ast_pthread_create_stack': /home/patrick/redhat/BUILD/asterisk/utils.c:461: multiple definition of `ast_pthread_create_stack' utils.o(.text+0x810):/home/patrick/redhat/BUILD/asterisk/utils.c:461: first defined here utils.o(.text+0x8e0): In function `test_for_thread_safety': /home/patrick/redhat/BUILD/asterisk/utils.c:227: multiple definition of `test_for_thread_safety' utils.o(.text+0x8e0):/home/patrick/redhat/BUILD/asterisk/utils.c:227: first defined here utils.o(.text+0xa10): In function `ast_wait_for_input': /home/patrick/redhat/BUILD/asterisk/utils.c:476: multiple definition of `ast_wait_for_input' utils.o(.text+0xa10):/home/patrick/redhat/BUILD/asterisk/utils.c:476: first defined here utils.o(.text+0xa50): In function `ast_build_string': /home/patrick/redhat/BUILD/asterisk/utils.c:502: multiple definition of `ast_build_string' utils.o(.text+0xa50):/home/patrick/redhat/BUILD/asterisk/utils.c:502: first defined here utils.o(.text+0xad0): In function `ast_false': /home/patrick/redhat/BUILD/asterisk/utils.c:541: multiple definition of `ast_false' utils.o(.text+0xad0):/home/patrick/redhat/BUILD/asterisk/utils.c:541: first defined here utils.o(.text+0xb80): In function `ast_true': /home/patrick/redhat/BUILD/asterisk/utils.c:524: multiple definition of `ast_true' utils.o(.text+0xb80):/home/patrick/redhat/BUILD/asterisk/utils.c:524: first defined here utils.o(.text+0xc30): In function `ast_samp2tv': include/asterisk/time.h:145: multiple definition of `ast_samp2tv' utils.o(.text+0xc30):include/asterisk/time.h:145: first defined here utils.o(.text+0xc80): In function `ast_strip_quoted': /home/patrick/redhat/BUILD/asterisk/utils.c:485: multiple definition of `ast_strip_quoted' utils.o(.text+0xc80):/home/patrick/redhat/BUILD/asterisk/utils.c:485: first defined here utils.o(.text+0xd30): In function `ast_strip': include/asterisk/strings.h:99: multiple definition of `ast_strip' utils.o(.text+0xd30):include/asterisk/strings.h:99: first defined here utils.o(.text+0xd90): In function `ast_tvadd': /home/patrick/redhat/BUILD/asterisk/utils.c:578: multiple definition of `ast_tvadd' utils.o(.text+0xd90):/home/patrick/redhat/BUILD/asterisk/utils.c:578: first defined here utils.o(.text+0xf80): In function `ast_tvsub': /home/patrick/redhat/BUILD/asterisk/utils.c:592: multiple definition of `ast_tvsub' utils.o(.text+0xf80):/home/patrick/redhat/BUILD/asterisk/utils.c:592: first defined here plc.o(.text+0x160): In function `plc_fillin': /home/patrick/redhat/BUILD/asterisk/plc.c:175: multiple definition of `plc_fillin' plc.o(.text+0x160):/home/patrick/redhat/BUILD/asterisk/plc.c:175: first defined here plc.o(.text+0x550): In function `plc_init': /home/patrick/redhat/BUILD/asterisk/plc.c:246: multiple definition of `plc_init'plc.o(.text+0x550):/home/patrick/redhat/BUILD/asterisk/plc.c:246: first defined here plc.o(.text+0x580): In function `plc_rx': /home/patrick/redhat/BUILD/asterisk/plc.c:132: multiple definition of `plc_rx' plc.o(.text+0x580):/home/patrick/redhat/BUILD/asterisk/plc.c:132: first defined here jitterbuf.o(.text+0x40): In function `jb_setoutput': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:44: multiple definition of `jb_setoutput' jitterbuf.o(.text+0x40):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:44: first defined here jitterbuf.o(.text+0x60): In function `jb_reset': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:60: multiple definition of `jb_reset' jitterbuf.o(.text+0x60):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:60: first defined here jitterbuf.o(.text+0xd0): In function `jb_destroy': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:87: multiple definition of `jb_destroy' jitterbuf.o(.text+0xd0):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:87: first defined here jitterbuf.o(.text+0x250): In function `jb_put': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:505: multiple definition of `jb_put' jitterbuf.o(.text+0x250):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:505: first defined here jitterbuf.o(.text+0x500): In function `jb_getall': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:782: multiple definition of `jb_getall' jitterbuf.o(.text+0x500):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:782: first defined here jitterbuf.o(.text+0x560): In function `jb_getinfo': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:796: multiple definition of `jb_getinfo' jitterbuf.o(.text+0x560):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:796: first defined here jitterbuf.o(.text+0x630): In function `jb_setconf': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:806: multiple definition of `jb_setconf' jitterbuf.o(.text+0x630):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:806: first defined here jitterbuf.o(.text+0x650): In function `jb_new': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:72: multiple definition of `jb_new' jitterbuf.o(.text+0x650):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:72: first defined here jitterbuf.o(.text+0x6d0): In function `jb_next': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:748: multiple definition of `jb_next' jitterbuf.o(.text+0x6d0):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:748: first defined here jitterbuf.o(.text+0x7e0): In function `jb_get': /home/patrick/redhat/BUILD/asterisk/jitterbuf.c:766: multiple definition of `jb_get' jitterbuf.o(.text+0x7e0):/home/patrick/redhat/BUILD/asterisk/jitterbuf.c:766: first defined here dnsmgr.o(.text+0x40): In function `ast_dnsmgr_release': /home/patrick/redhat/BUILD/asterisk/dnsmgr.c:92: multiple definition of `ast_dnsmgr_release' dnsmgr.o(.text+0x40):/home/patrick/redhat/BUILD/asterisk/dnsmgr.c:92: first defined here dnsmgr.o(.text+0x770): In function `dnsmgr_reload': /home/patrick/redhat/BUILD/asterisk/dnsmgr.c:281: multiple definition of `dnsmgr_reload' dnsmgr.o(.text+0x770):/home/patrick/redhat/BUILD/asterisk/dnsmgr.c:281: first defined here dnsmgr.o(.text+0x780): In function `dnsmgr_init': /home/patrick/redhat/BUILD/asterisk/dnsmgr.c:267: multiple definition of `dnsmgr_init' dnsmgr.o(.text+0x780):/home/patrick/redhat/BUILD/asterisk/dnsmgr.c:267: first defined here dnsmgr.o(.text+0x840): In function `ast_dnsmgr_get': /home/patrick/redhat/BUILD/asterisk/dnsmgr.c:71: multiple definition of `ast_dnsmgr_get' dnsmgr.o(.text+0x840):/home/patrick/redhat/BUILD/asterisk/dnsmgr.c:71: first defined here dnsmgr.o(.text+0x8e0): In function `ast_dnsmgr_lookup': /home/patrick/redhat/BUILD/asterisk/dnsmgr.c:103: multiple definition of `ast_dnsmgr_lookup' dnsmgr.o(.text+0x8e0):/home/patrick/redhat/BUILD/asterisk/dnsmgr.c:103: first defined here devicestate.o(.text+0x40): In function `devstate2str': /home/patrick/redhat/BUILD/asterisk/devicestate.c:61: multiple definition of `devstate2str' devicestate.o(.text+0x40):/home/patrick/redhat/BUILD/asterisk/devicestate.c:61: first defined here devicestate.o(.text+0x50): In function `ast_parse_device_state': /home/patrick/redhat/BUILD/asterisk/devicestate.c:67: multiple definition of `ast_parse_device_state' devicestate.o(.text+0x50):/home/patrick/redhat/BUILD/asterisk/devicestate.c:67: first defined here devicestate.o(.text+0x160): In function `ast_devstate_add': /home/patrick/redhat/BUILD/asterisk/devicestate.c:128: multiple definition of `ast_devstate_add' devicestate.o(.text+0x160):/home/patrick/redhat/BUILD/asterisk/devicestate.c:128: first defined here devicestate.o(.text+0x1e0): In function `ast_devstate_del': /home/patrick/redhat/BUILD/asterisk/devicestate.c:150: multiple definition of `ast_devstate_del' devicestate.o(.text+0x1e0):/home/patrick/redhat/BUILD/asterisk/devicestate.c:150: first defined here devicestate.o(.text+0x260): In function `ast_device_state_engine_init': /home/patrick/redhat/BUILD/asterisk/devicestate.c:247: multiple definition of `ast_device_state_engine_init' devicestate.o(.text+0x260):/home/patrick/redhat/BUILD/asterisk/devicestate.c:247: first defined here devicestate.o(.text+0x300): In function `ast_device_state': /home/patrick/redhat/BUILD/asterisk/devicestate.c:91: multiple definition of `ast_device_state' devicestate.o(.text+0x300):/home/patrick/redhat/BUILD/asterisk/devicestate.c:91: first defined here devicestate.o(.text+0x730): In function `ast_device_state_changed': /home/patrick/redhat/BUILD/asterisk/devicestate.c:185: multiple definition of `ast_device_state_changed' devicestate.o(.text+0x730):/home/patrick/redhat/BUILD/asterisk/devicestate.c:185: first defined here collect2: ld returned 1 exit status make: *** [asterisk] Error 1