[asterisk-bugs] [Asterisk 0011885]: [patch] Fix some more solaris build issues

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Feb 1 18:30:34 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11885 
====================================================================== 
Reported By:                snuffy
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11885
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 101392 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-31-2008 03:46 CST
Last Modified:              02-01-2008 18:30 CST
====================================================================== 
Summary:                    [patch] Fix some more solaris build issues
Description: 
There are a few more issues that cause solaris to stop compiling.
Setting inital in_addr is very different on solaris crazy union/struct
replaced with memset

Fix issue with logger.c had ifdef removed which caused non-compilation.

Seperate patch:
The change to editline/np/vis.h is simple because there is no U_int32_t on
solaris i think my way is sledgehammer approch so input would be
appreciated
====================================================================== 

---------------------------------------------------------------------- 
 snuffy - 02-01-08 18:30  
---------------------------------------------------------------------- 
Oh with that HAVE_BKTR.. its part of Open Solaris, solaris 10 and earlier
doesn't have it..
The main problem i have is that WORDSIZE is not defined. i've found the
way some others have calculated it via a little c program that added the
define of like a AST_WORDSIZE

There is really no correct header for u_int32_t in solaris, stuck with a
typedef or define on that one. (as discussed on irc) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-01-08 18:30  snuffy         Note Added: 0081605                          
======================================================================




More information about the asterisk-bugs mailing list