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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 25 02:25:45 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 02:25 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
====================================================================== 

---------------------------------------------------------------------- 
 (0100690) asgaroth (reporter) - 2009-02-25 02:25
 http://bugs.digium.com/view.php?id=14517#c100690 
---------------------------------------------------------------------- 
Here is the output of your request seanbright:

--------------------------------------------------------------------------------
vzhsxn at soldev:~/temp $ sed -n '67,87 p' /usr/include/signal.h
        sigset_t *_RESTRICT_KYWD);
extern int sigsuspend(const sigset_t *);
#endif /* defined(__EXTENSIONS__) || !defined(_STRICT_STDC)... */

#if defined(__EXTENSIONS__) || (!defined(_STRICT_STDC) && \
        !defined(__XOPEN_OR_POSIX))
#include <sys/procset.h>
extern int gsignal(int);
extern int (*ssignal(int, int (*)(int)))(int);
extern int sigsend(idtype_t, id_t, int);
extern int sigsendset(const procset_t *, int);
extern int sig2str(int, char *);
extern int str2sig(const char *, int *);
#define SIG2STR_MAX     32
#endif /* defined(__EXTENSIONS__) || (!defined(_STRICT_STDC)... */

#if defined(__EXTENSIONS__) || (!defined(_STRICT_STDC) && \
        !defined(__XOPEN_OR_POSIX)) || defined(_XPG4_2)
extern void (*bsd_signal(int, void (*)(int)))(int);
extern int killpg(pid_t, int);
extern int siginterrupt(int, int);
--------------------------------------------------------------------------------


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




More information about the asterisk-bugs mailing list