[Home]

Summary:ASTERISK-06304: Addons - OH323 does not link on OS/X
Reporter:Olle Johansson (oej)Labels:
Date Opened:2006-02-13 11:39:02.000-0600Date Closed:2006-02-22 14:59:53.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:chan_oh323 does not compile on OS/X with the errors in the additional information below

****** ADDITIONAL INFORMATION ******

gcc -r -keep_private_externs -nostdlib -o .libs/libchan_h323.1.0.1.dylib-master.o  chan_h323.lo ooh323cDriver.lo ooCmdChannel.lo ooLogChan.lo ooUtils.lo ooGkClient.lo context.lo ooDateTime.lo decode.lo dlist.lo encode.lo errmgmt.lo memheap.lo ootrace.lo oochannels.lo ooh245.lo ooports.lo ooq931.lo ooCapability.lo ooSocket.lo perutil.lo eventHandler.lo ooCalls.lo ooStackCmds.lo ooh323.lo ooh323ep.lo printHandler.lo rtctype.lo ooTimer.lo H235-SECURITY-MESSAGESDec.lo H235-SECURITY-MESSAGESEnc.lo H323-MESSAGES.lo H323-MESSAGESDec.lo H323-MESSAGESEnc.lo MULTIMEDIA-SYSTEM-CONTROL.lo MULTIMEDIA-SYSTEM-CONTROLDec.lo MULTIMEDIA-SYSTEM-CONTROLEnc.lo && gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libchan_h323.1.0.1.dylib .libs/libchan_h323.1.0.1.dylib-master.o  -L/usr/local/src/asterisk.svn/addons-trunk/asterisk-ooh323c/ooh323c/src -lpthread -lc -install_name /usr/local/lib/libchan_h323.1.dylib -compatibility_version 2 -current_version 2.1
/usr/bin/ld: multiple definitions of symbol _printHandler
ooGkClient.lo definition of _printHandler in section (__DATA,__common)
oochannels.lo definition of _printHandler in section (__DATA,__common)
ooh245.lo definition of _printHandler in section (__DATA,__common)
ooq931.lo definition of _printHandler in section (__DATA,__common)
ooh323.lo definition of _printHandler in section (__DATA,__common)
printHandler.lo definition of _printHandler in section (__DATA,__common)
collect2: ld returned 1 exit status
make[1]: *** [libchan_h323.la] Error 1
make: *** [all] Error 2
Comments:By: Objective Systems (objsys) 2006-02-22 14:59:30.000-0600

This problem is fixed. Please download the changes from asterisk-addons trunk repository.

Regards,
Avin Patel