Installing 1.8.3.2 from tarball res_adsi fails

Any help here will greatly appreciated as I try to exhaust all possibilities before putting this here.
Thanks for any assistance on this problem.

I am in a test qualification lab environment, so this is not a production system, but we are evaluating the software and procedures for the Asterisk load and build.
Running make after make menuselect I am getting the same error on the screen no matter what version I upgrade to on my system, HP DL320 server

Errors out on the ld command file res_adsi.c:362 every time, except unselecting res_adsi or do not select module embedding options, no options selected in the make menuselect for module embedding.

I have looked and looked to see if it something I have done, since it is no erroring out under a [CC] I do think it has to with gcc, ld seems to be where the problem is located. module linking.

If I do not select app_adsiprog and do not select res_adsi then the module embedding completes with no errors

See the error at the bottom, did want to clutter this with too many messages


CentOS 5.6
Linux asterisk.sip_kmtnetworks.com 2.6.18-238.9.1.el5 #1 SMP Tue Apr 12 18:10:56 EDT 2011 i686 i686 i386 GNU/Linux


Installed packages
openssl-0.9.8e-12.el5_5.7
openssl-devel-0.9.8e-12.el5_5.7
ncurses 5.9 updated this from 5.5 to 5.9
newt-0.52.2-15.el5
newt-devel-0.52.2-15.el5
libxml2-2.6.26-2.1.2.8.el5_5.1
libxml2-devel-2.6.26-2.1.2.8.el5_5.1


updated gcc manually from 4.1 to 4.6.0
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ./configure
Thread model: posix
gcc version 4.6.0 (GCC)


updated ld from 2.17 t o 2.21
ld -v
GNU ld (GNU Binutils) 2.21.51.20110420


make -v
GNU Make 3.82
Built for i686-pc-linux-gnu


./configure passed with no errors
make menuselect
make install
make samples
make config
make progdocs very good tool thanks for the effort on all of this, very good tool.

[CC] recno/rec_utils.c -> recno/rec_utils.o
[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] …/res/res_adsi.o 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 …/apps/modules.link …/bridges/modules.link …/cdr/modules.link …/channels/modules.link …/codecs/modules.link …/formats/modules.link …/funcs/modules.link …/pbx/modules.link …/res/modules.link -> asterisk
/usr/bin/ld: Dwarf Error: Abbrev offset (3240) greater than or equal to .debug_abbrev size (1396).
…/res/res_adsi.eo: In function ast_adsi_disconnect_session': (.text+0x3010): multiple definition ofast_adsi_disconnect_session’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:546: first defined here
…/res/res_adsi.eo: In function ast_adsi_get_cpeid': (.text+0x3120): multiple definition ofast_adsi_get_cpeid’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:618: first defined here
…/res/res_adsi.eo: In function ast_adsi_download_connect': (.text+0x2da0): multiple definition ofast_adsi_download_connect’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:514: first defined here
…/res/res_adsi.eo: In function ast_adsi_transmit_message': (.text+0x2b80): multiple definition ofast_adsi_transmit_message’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:433: first defined here
…/res/res_adsi.eo: In function ast_adsi_load_soft_key': (.text+0x2bc0): multiple definition ofast_adsi_load_soft_key’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:449: first defined here
…/res/res_adsi.eo: In function ast_adsi_set_keys': (.text+0x3990): multiple definition ofast_adsi_set_keys’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:893: first defined here
…/res/res_adsi.eo: In function ast_adsi_read_encoded_dtmf': (.text+0x3070): multiple definition ofast_adsi_read_encoded_dtmf’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:581: first defined here
…/res/res_adsi.eo: In function ast_adsi_get_cpeinfo': (.text+0x32e0): multiple definition ofast_adsi_get_cpeinfo’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:649: first defined here
…/res/res_adsi.eo: In function ast_adsi_set_line': (.text+0x3a20): multiple definition ofast_adsi_set_line’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:909: first defined here
…/res/res_adsi.eo: In function ast_adsi_end_download': (.text+0x2b30): multiple definition ofast_adsi_end_download’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:348: first defined here
…/res/res_adsi.eo: In function ast_adsi_print': (.text+0x3bb0): multiple definition ofast_adsi_print’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:962: first defined here
…/res/res_adsi.eo: In function ast_adsi_download_disconnect': (.text+0x3760): multiple definition ofast_adsi_download_disconnect’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:788: first defined here
…/res/res_adsi.eo: In function ast_adsi_unload_session': (.text+0x4010): multiple definition ofast_adsi_unload_session’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:1021: first defined here
…/res/res_adsi.eo: In function ast_adsi_input_format': (.text+0x38d0): multiple definition ofast_adsi_input_format’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:873: first defined here
…/res/res_adsi.eo: In function ast_adsi_begin_download': (.text+0x2ef0): multiple definition ofast_adsi_begin_download’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:326: first defined here
…/res/res_adsi.eo: In function ast_adsi_display': (.text+0x3780): multiple definition ofast_adsi_display’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:804: first defined here
…/res/res_adsi.eo: In function ast_adsi_query_cpeinfo': (.text+0x3050): multiple definition ofast_adsi_query_cpeinfo’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:571: first defined here
…/res/res_adsi.eo: In function ast_adsi_query_cpeid': (.text+0x3030): multiple definition ofast_adsi_query_cpeid’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:561: first defined here
…/res/res_adsi.eo: In function ast_adsi_input_control': (.text+0x3860): multiple definition ofast_adsi_input_control’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:850: first defined here
…/res/res_adsi.eo: In function ast_adsi_clear_screen': (.text+0x3700): multiple definition ofast_adsi_clear_screen’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:746: first defined here
…/res/res_adsi.eo: In function ast_adsi_channel_restore': (.text+0x3a70): multiple definition ofast_adsi_channel_restore’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:940: first defined here
…/res/res_adsi.eo: In function ast_adsi_load_session': (.text+0x3d40): multiple definition ofast_adsi_load_session’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:982: first defined here
…/res/res_adsi.eo: In function ast_adsi_data_mode': (.text+0x36c0): multiple definition ofast_adsi_data_mode’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:716: first defined here
…/res/res_adsi.eo: In function ast_adsi_voice_mode': (.text+0x3720): multiple definition ofast_adsi_voice_mode’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:770: first defined here
…/res/res_adsi.eo: In function ast_adsi_clear_soft_keys': (.text+0x36e0): multiple definition ofast_adsi_clear_soft_keys’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:731: first defined here
…/res/res_adsi.eo: In function ast_adsi_available': (.text+0x3740): multiple definition ofast_adsi_available’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:782: first defined here
…/res/res_adsi.eo: In function ast_adsi_connect_session': (.text+0x2d10): multiple definition ofast_adsi_connect_session’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:490: first defined here
…/res/res_adsi.eo: In function ast_adsi_transmit_message_full': (.text+0x2600): multiple definition ofast_adsi_transmit_message_full’
…/res/res_adsi.o:/Asterisk/asterisk-1.8.3.2/res/res_adsi.c:362: first defined here
collect2: ld returned 1 exit status
make[1]: *** [asterisk] Error 1
make: *** [main] Error 2
[root@asterisk asterisk-1.8.3.2]#

Howdy,

Great. Disable them and move on. Unless you have ADSI-capable phones attached to FXS interfaces on Digium telephony cards, you don’t need to worry about having this in your build.

You’re welcome to file an issue report on the tracker. Guidelines are here:

asterisk.org/developers/bug-guidelines

Cheers.

Thanks for the early reply,

I will wait until we get the cards, we will testing the VoIP trunking via Digium T1/PRI and using the FXO/FXS card as well, mainly for fax testing across the FXS to a fax machine.
If I have a problem once the cards are installed I will see the error persists. I think it will as the ld linking module at the res_adsi has no bearing on the card being installed, but I guess I will need to have it to verify.

             Thanks,