[asterisk-users] Compilation error

michel freiha michofr at gmail.com
Thu Jul 16 17:59:23 CDT 2009


Hi all

I'm trying to install asteris 1.4.22.1 on Solaris 10...the server is V120
SUN spark...During compilation (gmake) I got the following error

/vis.c -o np/vis.o_a
np/vis.c: In function `svis':
np/vis.c:205: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:205: error: (Each undeclared identifier is reported only once
np/vis.c:205: error: for each function it appears in.)
np/vis.c:205: error: syntax error before "u_char"
np/vis.c:205: error: syntax error before ')' token
np/vis.c:205: error: syntax error before "u_char"
np/vis.c:205: error: syntax error before ')' token
np/vis.c:207: error: syntax error before "u_char"
np/vis.c:207: error: syntax error before ')' token
np/vis.c:207: error: syntax error before "u_char"
np/vis.c:207: error: syntax error before ')' token
np/vis.c: In function `strsvis':
np/vis.c:245: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:245: error: syntax error before "u_char"
np/vis.c:245: error: syntax error before ')' token
np/vis.c:245: error: syntax error before "u_char"
np/vis.c:245: error: syntax error before ')' token
np/vis.c:248: error: syntax error before "u_char"
np/vis.c:248: error: syntax error before ')' token
np/vis.c:248: error: syntax error before "u_char"
np/vis.c:248: error: syntax error before ')' token
np/vis.c: In function `strsvisx':
np/vis.c:275: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:275: error: syntax error before "u_char"
np/vis.c:275: error: syntax error before ')' token
np/vis.c:275: error: syntax error before "u_char"
np/vis.c:275: error: syntax error before ')' token
np/vis.c:280: error: syntax error before "u_char"
np/vis.c:280: error: syntax error before ')' token
np/vis.c:280: error: syntax error before "u_char"
np/vis.c:280: error: syntax error before ')' token
np/vis.c: In function `vis':
np/vis.c:303: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:303: error: syntax error before "u_char"
np/vis.c:303: error: syntax error before ')' token
np/vis.c:303: error: syntax error before "u_char"
np/vis.c:303: error: syntax error before ')' token
np/vis.c:305: error: syntax error before "u_char"
np/vis.c:305: error: syntax error before ')' token
np/vis.c:305: error: syntax error before "u_char"
np/vis.c:305: error: syntax error before ')' token
gmake[2]: *** [np/vis.o_a] Error 1
gmake[1]: *** [editline/libedit.a] Error 2
gmake: *** [main] Error 2

I guess there is a BUG in vis.c...Can you please let me know how to define
this variable?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090717/4ad08e01/attachment.htm 


More information about the asterisk-users mailing list