Subject: sigset_t not being understood here
To: None <netbsd-help@netbsd.org>
From: paul beard <paulbeard@mac.com>
List: netbsd-help
Date: 01/12/2002 20:57:12
anyone got a sec to help me grok what's happening here?

I'm working on getting grip to compile and have worked my way down to 
this error:

[/usr/home/paul/grip-2.96]:: gmake
gcc -Wall `gtk-config --cflags` -DAUXDIR=\"/usr/local/lib/grip\" 
-DINSTALLDIR=\"/usr/local/bin\" -D_REENTRANT -I/usr/pkg/lib 
-I/usr/pkg/include -I/usr/include/i386   -c -o cdpar.o cdpar.c
In file included from cdparanoia/interface/cdda_interface.h:22,
                 from cdpar.c:39:
/usr/include/i386/signal.h:110: syntax error before `sigset_t'
In file included from cdpar.c:39:
cdparanoia/interface/cdda_interface.h:100: syntax error before `sigset_t'
cdparanoia/interface/cdda_interface.h:159: warning: `strerror_tr' 
defined but not used
gmake: *** [cdpar.o] Error 1

This is the line cited: looks to my inexperienced eye as if the datatype 
referenced as sigset_t is not defined in a meaningful enough way.

    sigset_t sc_mask;               /* signal mask to restore (new style) */

I dunno where it should be defined. If it helps at all, this code is not 
aware of NetBSD (I added it as a defined OS in config.h). It knows linux 
and FreeBSD. So if there any well-understood ways of making things work 
here that work there, I'd like to hear them.

        sigset_t sc_mask;               /* signal mask to restore (new 
style) */