[Asterisk-video] Cant Compile mcu

Mitul Limbani mitul at enterux.com
Mon Sep 17 19:19:54 CDT 2007


Hello,

I am trying to compile MCU but xmlrpcserver.o doesnt get compiled.

I tried checking Ubuntu forums elsewhere, and they say that the latest 
xmlrpc-c (1.6.x) doesnt have xmlrpc_abyss.h, Alternately, I downloaded 
0.9.10.x version, but this time it gives me the following error:


--------------------------------------------------------------------------------
without libxmlrpc-c3-dev
--------------------------------------------------------------------------------   
1.
      voice2:~/downloads/video/svn/mcu# make
   2.
      mkdir -p bin
   3.
      make -C media
   4.
      make[1]: Entering directory `/root/downloads/video/svn/mcu/media'
   5.
      mkdir -p /root/downloads/video/svn/mcu/media/build/debug
   6.
      mkdir -p /root/downloads/video/svn/mcu/bin//debug
   7.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/mcu.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/mcu.o
   8.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/multiconf.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/multiconf.o
   9.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/participant.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/participant.o
  10.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/videomixer.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/videomixer.o
  11.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/audiomixer.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/audiomixer.o
  12.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/xmlrpcserver.o
  13.
      In file included from 
/root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:5:
  14.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:4:26: 
error: xmlrpc_abyss.h: No such file or directory
  15.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:12: 
error: 'TSession' has not been declared
  16.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:26: 
error: 'TSession' has not been declared
  17.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:27: 
error: 'TSession' has not been declared
  18.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:28: 
error: 'TSession' has not been declared
  19.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:29: 
error: 'TSession' has not been declared
  20.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:30: 
error: 'TSession' has not been declared
  21.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:33: 
error: 'TSession' has not been declared
  22.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:38: 
error: 'TServer' does not name a type
  23.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: In 
constructor 'XmlRpcServer::XmlRpcServer()':
  24.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:18: 
error: 'DateInit' was not declared in this scope
  25.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:21: 
error: 'MIMETypeInit' was not declared in this scope
  26.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'srv' was not declared in this scope
  27.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'DEFAULT_DOCS' was not declared in this scope
  28.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'ServerCreate' was not declared in this scope
  29.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:33: 
error: 'ServerDefaultHandler' was not declared in this scope
  30.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:36: 
error: 'ServerInit' was not declared in this scope
  31.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: In 
member function 'int XmlRpcServer::Run()':
  32.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:66: 
error: 'srv' was not declared in this scope
  33.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:66: 
error: 'ServerRun' was not declared in this scope
  34.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: At 
global scope:
  35.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: 'int XmlRpcServer::RequestHandler' is not a static member of 
'class XmlRpcServer'
  36.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: 'TSession' was not declared in this scope
  37.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: expected primary-expression before 'const'
  38.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:96: 
error: expected ',' or ';' before '{' token
  39.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: 'int XmlRpcServer::DispatchRequest' is not a static member of 
'class XmlRpcServer'
  40.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: 'TSession' was not declared in this scope
  41.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: expected primary-expression before 'const'
  42.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:112: 
error: expected ',' or ';' before '{' token
  43.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'int XmlRpcServer::GetBody' is not a static member of 'class 
XmlRpcServer'
  44.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'TSession' was not declared in this scope
  45.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'r' was not declared in this scope
  46.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: expected primary-expression before 'char'
  47.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: expected primary-expression before 'short'
  48.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: initializer expression list treated as compound expression
  49.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:141: 
error: expected ',' or ';' before '{' token
  50.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'int XmlRpcServer::SendResponse' is not a static member of 
'class XmlRpcServer'
  51.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'TSession' was not declared in this scope
  52.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'r' was not declared in this scope
  53.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'short'
  54.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'char'
  55.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'int'
  56.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: initializer expression list treated as compound expression
  57.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:200: 
error: expected ',' or ';' before '{' token
  58.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'int XmlRpcServer::SendError' is not a static member of 'class 
XmlRpcServer'
  59.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'TSession' was not declared in this scope
  60.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'r' was not declared in this scope
  61.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: expected primary-expression before 'short'
  62.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: initializer expression list treated as compound expression
  63.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:225: 
error: expected ',' or ';' before '{' token
  64.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'int XmlRpcServer::SendError' is not a static member of 'class 
XmlRpcServer'
  65.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'TSession' was not declared in this scope
  66.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'r' was not declared in this scope
  67.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: expected primary-expression before 'short'
  68.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: expected primary-expression before 'char'
  69.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: initializer expression list treated as compound expression
  70.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:238: 
error: expected ',' or ';' before '{' token
  71.
      make[1]: *** [xmlrpcserver.o] Error 1
  72.
      make[1]: Leaving directory `/root/downloads/video/svn/mcu/media'
  73.
      make: *** [all] Error 2
  74.
        75.
  76.
--------------------------------------------------------------------------------        77.   After installing 
libxmlrpc-3-dev
--------------------------------------------------------------------------------
        78.
      g++ -I/root/downloads/video/svn/mcu/media/include/ 
-I/root/downloads/video/svn/mcu/xmlrpc/include 
-I/root/downloads/video/svn/mcu/xmlrpc/lib/abyss/src 
-I/root/downloads/video/gnash/server 
-I/root/downloads/video/gnash/libbase 
-I/root/downloads/video/gnash/libgeometry 
-I/root/downloads/video/gnash/server/parser 
-I/root/downloads/video/gnash/server/vm 
-I/root/downloads/video/gnash/backend -DFLASHSTREAMER -g -DLOG_ -D_UNIX 
-c /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp -o 
/root/downloads/video/svn/mcu/media/build/debug/xmlrpcserver.o
  79.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:12: 
error: 'TSession' has not been declared
  80.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:26: 
error: 'TSession' has not been declared
  81.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:27: 
error: 'TSession' has not been declared
  82.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:28: 
error: 'TSession' has not been declared
  83.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:29: 
error: 'TSession' has not been declared
  84.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:30: 
error: 'TSession' has not been declared
  85.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:33: 
error: 'TSession' has not been declared
  86.
      /root/downloads/video/svn/mcu/media/include/xmlrpcserver.h:38: 
error: 'TServer' does not name a type
  87.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: In 
constructor 'XmlRpcServer::XmlRpcServer()':
  88.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:18: 
error: 'DateInit' was not declared in this scope
  89.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:21: 
error: 'MIMETypeInit' was not declared in this scope
  90.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'srv' was not declared in this scope
  91.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'DEFAULT_DOCS' was not declared in this scope
  92.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:27: 
error: 'ServerCreate' was not declared in this scope
  93.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:33: 
error: 'ServerDefaultHandler' was not declared in this scope
  94.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:36: 
error: 'ServerInit' was not declared in this scope
  95.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: In 
member function 'int XmlRpcServer::Run()':
  96.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:66: 
error: 'srv' was not declared in this scope
  97.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:66: 
error: 'ServerRun' was not declared in this scope
  98.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp: At 
global scope:
  99.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: 'int XmlRpcServer::RequestHandler' is not a static member of 
'class XmlRpcServer'
100.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: 'TSession' was not declared in this scope
101.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:95: 
error: expected primary-expression before 'const'
102.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:96: 
error: expected ',' or ';' before '{' token
103.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: 'int XmlRpcServer::DispatchRequest' is not a static member of 
'class XmlRpcServer'
104.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: 'TSession' was not declared in this scope
105.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:111: 
error: expected primary-expression before 'const'
106.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:112: 
error: expected ',' or ';' before '{' token
107.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'int XmlRpcServer::GetBody' is not a static member of 'class 
XmlRpcServer'
108.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'TSession' was not declared in this scope
109.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: 'r' was not declared in this scope
110.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: expected primary-expression before 'char'
111.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: expected primary-expression before 'short'
112.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:140: 
error: initializer expression list treated as compound expression
113.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:141: 
error: expected ',' or ';' before '{' token
114.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'int XmlRpcServer::SendResponse' is not a static member of 
'class XmlRpcServer'
115.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'TSession' was not declared in this scope
116.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: 'r' was not declared in this scope
117.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'short'
118.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'char'
119.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: expected primary-expression before 'int'
120.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:199: 
error: initializer expression list treated as compound expression
121.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:200: 
error: expected ',' or ';' before '{' token
122.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'int XmlRpcServer::SendError' is not a static member of 'class 
XmlRpcServer'
123.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'TSession' was not declared in this scope
124.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: 'r' was not declared in this scope
125.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: expected primary-expression before 'short'
126.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:224: 
error: initializer expression list treated as compound expression
127.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:225: 
error: expected ',' or ';' before '{' token
128.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'int XmlRpcServer::SendError' is not a static member of 'class 
XmlRpcServer'
129.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'TSession' was not declared in this scope
130.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: 'r' was not declared in this scope
131.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: expected primary-expression before 'short'
132.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: expected primary-expression before 'char'
133.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:237: 
error: initializer expression list treated as compound expression
134.
      /root/downloads/video/svn/mcu/media/src/xmlrpcserver.cpp:238: 
error: expected ',' or ';' before '{' token
135.
      make[1]: *** [xmlrpcserver.o] Error 1
136.
      make[1]: Leaving directory `/root/downloads/video/svn/mcu/media'
137.
      make: *** [all] Error 2
--------------------------------------------------------------------------------
Any help on this would be highly aprreciated.
Also if anyone has some short n simple howto on setting up and 
configuring Video IVR system.


Thanks & Regards,
Mitul Limbani,
Founder & CEO,
Enterux Solutions,
The Enterprise Linux Company (TM),
www.enterux.com



More information about the asterisk-video mailing list