Hello, 

Currently I'm trying to build SEMS with PLC from spandsp. I can success to 
compile and run SEMS 
when enable macro USE_SPANDSP in Makefile.defs, however, when I try to enable 
USE_SPANDSP_PLC 
I got a compilation errors: 
----------------------------------------- 
| AmRtpAudio.cpp: In member function ‘virtual int AmRtpAudio::init(const 
AmSdp&, const AmSdp&, bool)’: 
| AmRtpAudio.cpp:340:3: error: ‘fec’ was not declared in this scope 
| fec.reset(new LowcFE(getSampleRate())); 
| ^ 
| make: *** [AmRtpAudio.o] Error 1 

This is how I enable macro USE_SPANDSP_PLC: 
------------------------------------------ 
| diff --git a/core/Makefile b/core/Makefile 
| index 889caeb..93bc580 100644 
| --- a/core/Makefile 
| +++ b/core/Makefile 
| @@ -94,7 +94,7 @@ LDFLAGS += -ltcmalloc -lprofiler 
| endif 
| 
| ifdef USE_SPANDSP 
| -CPPFLAGS += -DUSE_SPANDSP -D__STDC_LIMIT_MACROS 
| +CPPFLAGS += -DUSE_SPANDSP -D__STDC_LIMIT_MACROS -DUSE_SPANDSP_PLC 
| 
| ifdef LIBSPANDSP_STATIC 
| LDFLAGS += $(LIBSPANDSP_LDIR)libspandsp.a 

Could you please take a look and let me know if I had done anything wrong? 

Thanks and best regards 
CongNT 
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to