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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 25 10:17:07 CST 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:                     new
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-02-25 10:17 CST
====================================================================== 
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
====================================================================== 

---------------------------------------------------------------------- 
 (0100721) asgaroth (reporter) - 2009-02-25 10:17
 http://bugs.digium.com/view.php?id=14517#c100721 
---------------------------------------------------------------------- 
I modified makeopts to reflect the following:

GC_CFLAGS="-D__EXTENSIONS__=1"

But I still get the same error.

Here is what I did:

gtar zxf asterisk-1.6.0.6.tar.gz
cd asterisk-1.6.0.6
export CC=gcc CXX=g++
./configure
--
edit makeopts and made the GC_FLAGS modification mentioned above
--
make

However I still get the same error:

creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -D_REENTRANT -pthreads
-I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -march=i386 -Wcast-align -DSOLARIS
-I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include
-D_XPG4_2 -O6 ) works... yes
checking whether the C compiler (gcc -D_REENTRANT -pthreads
-I../..//include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -g3 -march=i386 -Wcast-align -DSOLARIS
-I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include
-D_XPG4_2 -O6 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for mawk... gawk
checking host system type... i386-pc-solaris2.10
checking for a BSD compatible install... /opt/dtbld/bin/ginstall -c
checking for ranlib... ranlib
checking for ar... /usr/ccs/bin/ar
checking for tgetent in -ltermcap... yes
checking for termcap.h... no
checking for term.h... yes
checking for curses.h... yes
checking for sys/cdefs.h... no
checking for vis.h... no
checking for issetugid... yes
checking for fgetln... no
checking for strvis... no
checking for strunvis... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makelist
creating config.h
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 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-25 10:17 asgaroth       Note Added: 0100721                          
======================================================================




More information about the asterisk-bugs mailing list