[asterisk-bugs] [Asterisk 0012037]: Compile fails with "`u_int32_t' undeclared"

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Feb 20 08:39:52 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12037 
====================================================================== 
Reported By:                asgaroth
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12037
Category:                   Codecs/codec_zap
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 duplicate
Duplicate:                  11885
Fixed in Version:           
====================================================================== 
Date Submitted:             02-20-2008 08:35 CST
Last Modified:              02-20-2008 08:39 CST
====================================================================== 
Summary:                    Compile fails with "`u_int32_t' undeclared"
Description: 
I have been unable to build asterisk 1.4.18 on Solaris x86. The specific
error message is as follows:

/usr/sfw/bin/gcc -c  -D_REENTRANT -pthreads -I../..//include  -pipe -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3
-include ../..//include/asterisk/autoconfig.h -march=i386 -Wcast-align
-DSOLARIS -I../include/solaris-compat -I/opt/ssl/include
-I/usr/local/ssl/include  -O6 -DSOLARIS -I../../include/solaris-compat
'-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)='
-I. np/vis.c -o np/vis.o_a
np/vis.c: In function `svis':
np/vis.c:206: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:206: error: (Each undeclared identifier is reported only once
np/vis.c:206: error: for each function it appears in.)
np/vis.c:206: error: syntax error before "u_char"
np/vis.c:206: error: syntax error before ')' token
np/vis.c:206: error: syntax error before "u_char"
np/vis.c:206: error: syntax error before ')' token
np/vis.c:208: error: syntax error before "u_char"
np/vis.c:208: error: syntax error before ')' token
np/vis.c:208: error: syntax error before "u_char"
np/vis.c:208: error: syntax error before ')' token
np/vis.c: In function `strsvis':
np/vis.c:246: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:246: error: syntax error before "u_char"
np/vis.c:246: error: syntax error before ')' token
np/vis.c:246: error: syntax error before "u_char"
np/vis.c:246: error: syntax error before ')' token
np/vis.c:249: error: syntax error before "u_char"
np/vis.c:249: error: syntax error before ')' token
np/vis.c:249: error: syntax error before "u_char"
np/vis.c:249: error: syntax error before ')' token
np/vis.c: In function `strsvisx':
np/vis.c:276: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:276: error: syntax error before "u_char"
np/vis.c:276: error: syntax error before ')' token
np/vis.c:276: error: syntax error before "u_char"
np/vis.c:276: error: syntax error before ')' token
np/vis.c:281: error: syntax error before "u_char"
np/vis.c:281: error: syntax error before ')' token
np/vis.c:281: error: syntax error before "u_char"
np/vis.c:281: error: syntax error before ')' token
np/vis.c: In function `vis':
np/vis.c:304: error: `u_int32_t' undeclared (first use in this function)
np/vis.c:304: error: syntax error before "u_char"
np/vis.c:304: error: syntax error before ')' token
np/vis.c:304: error: syntax error before "u_char"
np/vis.c:304: error: syntax error before ')' token
np/vis.c:306: error: syntax error before "u_char"
np/vis.c:306: error: syntax error before ')' token
np/vis.c:306: error: syntax error before "u_char"
np/vis.c:306: error: syntax error before ')' token
gmake[2]: *** [np/vis.o_a] Error 1
gmake[1]: *** [editline/libedit.a] Error 2
gmake: *** [main] Error 2
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0011885 [patch] Fix some more solaris build issues
====================================================================== 

---------------------------------------------------------------------- 
 qwell - 02-20-08 08:39  
---------------------------------------------------------------------- 
Closing, as this is a duplicate.  See http://bugs.digium.com/view.php?id=11885. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-20-08 08:39  qwell          Relationship added       duplicate of 0011885
02-20-08 08:39  qwell          Duplicate ID             0 => 11885          
02-20-08 08:39  qwell          Status                   new => resolved     
02-20-08 08:39  qwell          Resolution               open => duplicate   
02-20-08 08:39  qwell          Assigned To               => qwell           
02-20-08 08:39  qwell          Note Added: 0082639                          
======================================================================




More information about the asterisk-bugs mailing list