[SR-Users] install latest sems-server on debian 10 buster

Juha Heinanen jh at tutpro.com
Fri Aug 13 13:05:31 CEST 2021

Your `gcc -o sems ...` does not include -lspandsp.  I just tested with
the same commands (except dch) as you and mine included it:

making sems executable
gcc -o sems AmUACAuth.o AmB2BMedia.o AmPlugIn.o AmAudioMixer.o AmBufferedAudio.o AmConferenceChannel.o AmEventDispatcher.o AmPromptCollection.o SipCtrlInterface.o AmEventQueueProcessor.o crc4.o AmAudioMixIn.o AmPeriodicThread.o AmRtpMuxStream.o AmEventProcessingThread.o AmArg.o AmZRTP.o AmMediaProcessor.o AmSession.o AmOfferAnswer.o sems.o AmConfigReader.o AmSipSubscriptionContainer.o AmSessionEventHandler.o AmSipRegistration.o AmThread.o AmEventQueue.o jsonxx.o AmSipDialog.o AmSipEvent.o AmApi.o AmB2BSession.o AmRtpPacket.o AmUriParser.o AmSdp.o AmRingTone.o AmDtmfSender.o AmRtpStream.o AmSipDispatcher.o AmUAC.o AmAudio.o AmMimeBody.o AmAppTimer.o AmRtpAudio.o log.o AmConfig.o AmRtpReceiver.o AmBasicSipDialog.o AmPrecodedFile.o AmCachedAudioFile.o AmSessionContainer.o AmDtmfDetector.o md5.o AmAdvancedAudio.o AmUtils.o jsonArg.o AmPlayoutBuffer.o AmCallWatcher.o AmPlaylist.o AmSipMsg.o AmMultiPartyMixer.o AmAudioFile.o AmSipSubscription.o AmB2ABSession.o AmJitterBuffer.o AmConferenceStatus.o LowcFE.o Am100rel.o AmSessionProcessor.o AmEvent.o resample/libresample.a -Wl,-z,relro -lm -ldl -rdynamic -lpthread -lstdc++  -levent -levent_pthreads -lspandsp -Wl,--whole-archive sip/sip_stack.a -Wl,--no-whole-archive -lresolv

I have these installed:

 dpkg -l | grep spandsp
ii  libspandsp-dev:amd64                  0.0.6+dfsg-2                                                     amd64        Telephony signal processing library - development headers
ii  libspandsp2:amd64                     0.0.6+dfsg-2                                                     amd64        Telephony signal processing library

-- Juha

> I installed the master branch of SEMS(1.7.0~dev) as you suggested. I used
> these commands:
> $ git clone https://github.com/sems-server/sems.git
> $ cd sems/
> $  ln -s pkg/deb/buster ./debian
> $ dch -v 1.7.0~dev "SEMS 1.7.0~dev release"
> $ dpkg-buildpackage -rfakeroot -us -uc

More information about the sr-users mailing list