[asterisk-dev] Unable to install an application

Zelalem Sintayehu zelalems at hotmail.com
Thu Feb 18 07:11:29 CST 2010


Hi all, I wanted to install an asterisk application called (app_rtsp.c) that I got from (https://asteriskvideo.svn.sourceforge.net/svnroot/asteriskvideo/app_rtsp/app_rtsp.c). However, when i try to install the application (by putting it in apps folder and using the 'sudo make' command), I got the following error:

[CC] app_rtsp.c -> app_rtsp.o
  

In file included from /usr/include/inttypes.h:28,
  

                 from
/opt/asterisk-1.4.26/include/asterisk/compat.h:20,
  

                 from /opt/asterisk-1.4.26/include/asterisk.h:27,
  

                 from app_rtsp.c:24:
  

/usr/include/stdint.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’
or ‘__attribute__’ before ‘typedef’
  

  

  
I tried this on Ubuntu Hardy, Interpid and Jaunty systems and
got the same error. I also used asterisk-1.4.21, -1.4.26 and -1.4.29 versions.


The following is what is in the stdint.h file:

  

 36 # define __int8_t_defined
  

 37 typedef signed char             int8_t;
  

 38 typedef short int               int16_t;
  

 39 typedef int                     int32_t;
  

  

There is no mention of int8 in the app_rtsp (but uses signed and unsigned char). I posted the question on the asterisk video but didn't get a response. I think this is a general installation problem. I am thinking that it relates to compiler
version? Should I use a specific c or c plus plus compiler? What do u think is the problem? 

  

Thank you.

  

Best regards,

  

- Zelalem S. 

 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100218/0a427840/attachment.htm 


More information about the asterisk-dev mailing list