Hi, all

when I make sems executable file, some errors happened:

making sems executable
gcc -o sems sems.o AmAdvancedAudio.o AmApi.o AmArg.o AmAudio.o AmAudioFile.o 
AmAudioMixIn.o AmAudioMixer.o AmB2ABSession.o AmB2BSession.o AmBufferedAudio.o 
AmCachedAudioFile.o AmCallWatcher.o AmConferenceChannel.o AmConferenceStatus.o 
AmConfig.o AmConfigReader.o AmDtmfDetector.o AmEvent.o AmEventDispatcher.o 
AmEventQueue.o AmJitterBuffer.o AmMediaProcessor.o AmMultiPartyMixer.o 
AmPlaylist.o AmPlayoutBuffer.o AmPlugIn.o AmPrecodedFile.o AmPromptCollection.o 
AmRingTone.o AmRtpAudio.o AmRtpPacket.o AmRtpReceiver.o AmRtpStream.o AmSdp.o 
AmSession.o AmSessionContainer.o AmSessionEventHandler.o AmSessionProcessor.o 
AmSipDialog.o AmSipDispatcher.o AmSipEvent.o AmSipMsg.o AmThread.o AmUAC.o 
AmUriParser.o AmUtils.o AmZRTP.o LowcFE.o SipCtrlInterface.o jsonArg.o jsonxx.o 
log.o sip/sip_stack.a -lm -ldl -rdynamic -lpthread -lstdc++  -lresolv
sip/sip_stack.a(resolver.o): In function `atomic_int::inc()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:42: undefined reference to 
`__sync_add_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:42: undefined reference to 
`__sync_add_and_fetch_4'
sip/sip_stack.a(resolver.o): In function `atomic_int::dec()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
sip/sip_stack.a(resolver.o): In function `atomic_int::inc()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:42: undefined reference to 
`__sync_add_and_fetch_4'
sip/sip_stack.a(resolver.o): In function `atomic_int::dec()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
sip/sip_stack.a(resolver.o):/usr/sems-1.3.0/core/sip/../atomic_types.h:47: more 
undefined references to `__sync_sub_and_fetch_4' follow
sip/sip_stack.a(resolver.o): In function `atomic_int::inc()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:42: undefined reference to 
`__sync_add_and_fetch_4'
sip/sip_stack.a(resolver.o): In function `atomic_int::dec()':
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
/usr/sems-1.3.0/core/sip/../atomic_types.h:47: undefined reference to 
`__sync_sub_and_fetch_4'
collect2: ld returned 1 exit status
make[2]: *** [sems] Error 1
make[2]: Leaving directory `/usr/sems-1.3.0/core'
make[1]: [all] Error 2 (ignored)

And my pc is redhat-CentOS release 5.2 (Final), kernel version is 
2.6.18-92.el5xen.


2010-12-10 



------------------
任文  
艾诺通信系统(苏州)有限责任公司
苏州工业园区苏虹西路81号苏虹工业坊A8单元
Tel:13402581472 
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to