Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2002 12:27:43 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Donn Miller <dmmiller@cvzoom.net>
Cc:        current <current@FreeBSD.ORG>
Subject:   Re: sa_handler and sigaction...
Message-ID:  <20021226182742.GA1473@dan.emsphone.com>
In-Reply-To: <3E0B422C.2000407@cvzoom.net>
References:  <3E0B422C.2000407@cvzoom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 26), Donn Miller said:
> Just tried compiling the mgv port on current.  It bombs out with the 
> following error message:
> 
> >Making all in toolbar
> >cc -DPACKAGE=\"mgv\" -DVERSION=\"3.1.5\" -DHAVE_PUTENV=0 -DUSE_DMALLOC=0 
> >-DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_MOTIF=1 -DHAVE_LIBHELP=0 
> >-DHAVE_EDITRES=1  -I. -I. -I. -Iwlib -I/usr/X11R6/include -O2 -Os -pipe 
> >-march=pentium3 -D_POSIX_SOURCE  -I/usr/X11R6/include -c Ghostview.c
> >Ghostview.c: In function `Input':
> >Ghostview.c:487: structure has no member named `sa_handler'
> >Ghostview.c: In function `StopInterpreter':
> >Ghostview.c:1529: structure has no member named `sa_handler'
> >*** Error code 1
> >
> >Stop in /usr/ports/print/mgv/work/mgv-3.1.5.
> >*** Error code 1
> >
> >Stop in /usr/ports/print/mgv.
> 
> It looks like it should compile, but it doesn't.  I mean, <sys/signal.h> 
> does have a #define for sa_handler.

But not in the -D_POSIX_SOURCE case.  Could someone with the POSIX spec
see whether sa_handler is supposed to be visible or not?

-- 
	Dan Nelson
	dnelson@allantgroup.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021226182742.GA1473>