[asterisk-bugs] [Asterisk 0007876]: [patch] Compilation failures when building on Solaris with Zaptel drivers

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Sep 9 23:54:18 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7876 
====================================================================== 
Reported By:                bob
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   7876
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:            1.2.13 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             09-03-2006 05:55 CDT
Last Modified:              09-09-2007 23:54 CDT
====================================================================== 
Summary:                    [patch] Compilation failures when building on
Solaris with Zaptel drivers
Description: 
Several search paths are not correct when compiling under Solaris with
zaptel drivers. In addition some other seach paths need to be modified to
account for theuse of the /opt path for include files and library searches.


Installation paths are also peculiar for Solaris systems.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 09-09-07 23:54  
---------------------------------------------------------------------- 
The 1.4 system is actually not broken at all for Solaris.  This past week,
I successfully built and installed Asterisk on Solaris 11, with only one
minor change, and it had to do with the fact that sunfreeware's gcc is a
relatively old 3.4.6.

The one change I made was to include/asterisk/lock.h to change an assembly
parameter that did not work correctly in the assembler.

Other than that, I simply had to change the path to set /usr/local/bin
first and /usr/xpg4/bin second.  /usr/local/bin is where sunfreeware
installed GNU make and gcc, which /usr/xpg4/bin is where a compatible
version of awk can be found.  I would invite you to try this technique, as
it makes the Asterisk 1.4 build system work just fine. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-09-07 23:54  Corydon76      Note Added: 0070233                          
======================================================================




More information about the asterisk-bugs mailing list