The following issue has been CLOSED 
====================================================================== 
https://bugtracker.iptel.org/view.php?id=54 
====================================================================== 
Reported By:                renw
Assigned To:                
====================================================================== 
Project:                    SEMS
Issue ID:                   54
Category:                   applications
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-10 03:31 CET
Last Modified:              2011-01-03 18:29 CET
====================================================================== 
Summary:                    sems executable is zero size
Description: 
Hi,all
 
I download the source code, and do make all, make install.
But I find the sems executable file is zero size.
please see the attached file.
====================================================================== 

---------------------------------------------------------------------- 
 (0000088) stefan (manager) - 2010-12-10 03:53
 https://bugtracker.iptel.org/view.php?id=54#c88 
---------------------------------------------------------------------- 
anything unusual in the build or install log? in make install, the target
binary is touched first, then installed (that is i think to fix some decade
old solaris bug or the like). probably the sems  binary was not built in
the source directory 

---------------------------------------------------------------------- 
 (0000089) renw (reporter) - 2010-12-10 03:57
 https://bugtracker.iptel.org/view.php?id=54#c89 
---------------------------------------------------------------------- 
yes, you are right.
when I make sems executable file, some errors happen.So the sems was not
built.

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) 

---------------------------------------------------------------------- 
 (0000090) renw (reporter) - 2010-12-10 08:02
 https://bugtracker.iptel.org/view.php?id=54#c90 
---------------------------------------------------------------------- 
OK,as Stefan said, I add -march=i686 in CXXFLAG and CFLAG. Now it is quite
well.
Thanks Stefan 

---------------------------------------------------------------------- 
 (0000092) stefan (manager) - 2011-01-03 18:29
 https://bugtracker.iptel.org/view.php?id=54#c92 
---------------------------------------------------------------------- 
build error 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-10 03:31 renw           New Issue                                    
2010-12-10 03:31 renw           File Added: sems is zero size.bmp               
    
2010-12-10 03:53 stefan         Note Added: 0000088                          
2010-12-10 03:57 renw           Note Added: 0000089                          
2010-12-10 08:02 renw           Note Added: 0000090                          
2011-01-03 18:29 stefan         Note Added: 0000092                          
2011-01-03 18:29 stefan         Status                   new => closed       
======================================================================
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to