[asterisk-bugs] [Asterisk 0014517]: signals.h - syntax error before '*' token

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Apr 28 02:23:25 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14517 
====================================================================== 
Reported By:                asgaroth
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14517
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.0.5 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-02-20 08:38 CST
Last Modified:              2009-04-28 02:23 CDT
====================================================================== 
Summary:                    signals.h - syntax error before '*' token
Description: 
Whenever attempting building asterisk 1.6.0.5 on Solaris I have a
compilation failure that exits with the following error:

   [CC] version.c -> version.o
In file included from sig.h:47,
                 from el.h:107,
                 from common.c:51,
                 from editline.c:4:
/usr/include/signal.h:77: error: syntax error before '*' token
make[2]: *** [editline.o_a] Error 1
make[1]: *** [editline/libedit.a] Error 2
make: *** [main] Error 2
====================================================================== 

---------------------------------------------------------------------- 
 (0103868) snuffy (manager) - 2009-04-28 02:23
 http://bugs.digium.com/view.php?id=14517#c103868 
---------------------------------------------------------------------- 
I have fixed my issues by doing similar to clc patch.. adding
-D__EXTENSIONS__ to the cflags in the asterisk Makefile (it used to be in
there), now this seems to be a check in autoconfig.h that's generated after
running ./configure.

I will post my patch here as well, clc next time please use the 'unified
diff' format when uploading patches. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-28 02:23 snuffy         Note Added: 0103868                          
======================================================================




More information about the asterisk-bugs mailing list