[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
signal.h:88: error: parse error before '*' token
From: |
Hazelwood, John |
Subject: |
signal.h:88: error: parse error before '*' token |
Date: |
Tue, 23 May 2006 13:28:41 -0400 |
I am getting an error when building gnats 4.1.0 on Solaris 10. The
problem in signal.h, line 88 is caused by new code that is not present
in the Solaris 8 version of the file. The error does not stop a `make;
make install` though. I'm unsure how that error will effect the program
during use.
Here are the different versions of the call in signal.h.
Solaris 8 (and 9):
extern int sigaltstack(const stack_t *, stack_t *);
Solaris 10:
extern int sigaltstack(const stack_t *_RESTRICT_KYWD, stack_t
*_RESTRICT_KYWD);
Here is output from the build
root@host# make all info
for d in gnats send-pr doc; do make -C $d all-gnats; done
make[1]: Entering directory `/opt/gnats-4.1.0/gnats'
make[2]: Entering directory `/opt/gnats-4.1.0/send-pr'
make[2]: Nothing to be done for `gnats-build'.
make[2]: Leaving directory `/opt/gnats-4.1.0/send-pr'
gcc -c -I. -I. -g -O2 -W -Wall -ansi -pedantic -Wstrict-prototypes
-Wmissing-prototypes -Wwrite-strings -Wno-format -DHAVE_CONFIG_H
-DGNATSD_USER_ACCESS_FILE=\"/gnats/etc/gnats/gnatsd.user_access\"
-DGNATSD_HOST_ACCESS_FILE=\"/gnats/etc/gnats/gnatsd.host_access\"
-DDEFAULT_GNATS_SERVICE=\"support\"
-DGLOBAL_DB_LIST_FILE=\"/gnats/etc/gnats/databases\"
-DGNATS_USER=\"gnats\" ./queue-pr.c
In file included from gnats.h:129,
from queue-pr.c:28:
/usr/include/signal.h:88: error: parse error before '*' token
queue-pr.c:56: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:57: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:58: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:59: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:60: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:61: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:62: warning: initialization discards qualifiers from pointer
target type
queue-pr.c:63: warning: initialization discards qualifiers from pointer
target type
make[1]: *** [queue-pr.o] Error 1
make[1]: Leaving directory `/opt/gnats-4.1.0/gnats'
make[1]: Entering directory `/opt/gnats-4.1.0/send-pr'
make[1]: Nothing to be done for `all-gnats'.
make[1]: Leaving directory `/opt/gnats-4.1.0/send-pr'
make[1]: Entering directory `/opt/gnats-4.1.0/doc'
make[1]: Nothing to be done for `all-gnats'.
make[1]: Leaving directory `/opt/gnats-4.1.0/doc'
for d in gnats send-pr doc; do make -C $d info; done
make[1]: Entering directory `/opt/gnats-4.1.0/gnats'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/opt/gnats-4.1.0/gnats'
make[1]: Entering directory `/opt/gnats-4.1.0/send-pr'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/opt/gnats-4.1.0/send-pr'
make[1]: Entering directory `/opt/gnats-4.1.0/doc'
make[1]: Nothing to be done for `info'.
make[1]: Leaving directory `/opt/gnats-4.1.0/doc'
root@host#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- signal.h:88: error: parse error before '*' token,
Hazelwood, John <=