[Serusers] ivr for sems

Sean u0085200 at cc.ncu.edu.tw
Fri Aug 13 06:03:14 CEST 2004


when I wnat to compile ivr plug-in from cvs.
it have the error message
I should how to solve this problem?
Thanks.

------------
[root at knuth ivr]# make
gcc -I ../.. -I ../../ortp-0.6.0/src -I ../../ortp-0.6.0 -Wall -Wno-reorder
-D_DEBUG -g -DTHREAD_SAVE -D_REENTRANT -D_THREAD_SAFE -fPIC
-I/usr/include/python2.3   -c Ivr.cpp -o Ivr.o
In file included from Ivr.cpp:22:
IvrPython.h:32:20: Python.h: No such file or directory
IvrPython.h:33:21: compile.h: No such file or directory
IvrPython.h:34:25: frameobject.h: No such file or directory
In file included from IvrMediaHandler.h:29,
                 from IvrPython.h:47,
                 from Ivr.cpp:22:
Ivr.h:106: conflicting return type specified for `virtual void
   IvrDialog::onSessionStart(AmRequest*)'
../../AmApi.h:49:   overriding `virtual int
   AmDialogState::onSessionStart(AmRequest*)'
Ivr.h:107: conflicting return type specified for `virtual void
   IvrDialog::onBye(AmRequest*)'
../../AmApi.h:50:   overriding `virtual int AmDialogState::onBye(AmRequest*)

In file included from Ivr.cpp:22:
IvrPython.h:107: syntax error before `*' token
IvrPython.h:108: syntax error before `*' token
IvrPython.h:118: syntax error before `*' token
IvrPython.h:119: syntax error before `*' token
IvrPython.h:120: syntax error before `*' token
IvrPython.h:121: syntax error before `*' token
Ivr.cpp: In member function `virtual void
   IvrDialog::onSessionStart(AmRequest*)':
Ivr.cpp:227: no matching function for call to `IvrPython::cancel()'
Ivr.cpp: In member function `int IvrDialog::handleMediaEvent(IvrMediaEvent*)
:
Ivr.cpp:289: `struct IvrMediaEvent' has no member named `processed'
make: *** [Ivr.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040813/989b2d90/attachment.htm>


More information about the sr-users mailing list