From owner-freebsd-stable Thu Feb 4 14:55:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA06310 for freebsd-stable-outgoing; Thu, 4 Feb 1999 14:55:06 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from cx757770-a.fed1.sdca.home.com (cx757770-a.fed1.sdca.home.com [24.0.167.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA06305 for ; Thu, 4 Feb 1999 14:55:04 -0800 (PST) (envelope-from daren@partners-dsi.com) Received: from rio (rio.partners-dsi.com [38.240.152.202]) by cx757770-a.fed1.sdca.home.com (8.9.1/8.9.1) with SMTP id PAA26490 for ; Thu, 4 Feb 1999 15:11:05 -0800 (PST) Message-ID: <010c01be508f$f2497b80$ca98f026@partnersdsi.com> From: "Daren R. Sefcik" To: Subject: struct in sigaltstack wrong?? Date: Thu, 4 Feb 1999 14:44:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG While trying to compile the FWTK it would fail everytime at the /usr/include/sys/signal.h line 163 with: cc -O -pipe -I.. -D_SKEY_INTERNAL -c daemon.c In file included from daemon.c:14: /usr/include/sys/signal.h:163: parse error before `size_t' /usr/include/sys/signal.h:163: warning: no semicolon at end of struct or union /usr/include/sys/signal.h:165: parse error before `}' *** Error code 1 from the signal.h file line 163: /* * Structure used in sigaltstack call. */ struct sigaltstack { char *ss_sp; /* signal stack base */ size_t ss_size; /* signal stack length */ int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */ looking at the man page for sigaltstack it uses char & long & int I changed the size_t to long and the compile finished fine. Is the signal.h file wrong or is the FWTK wrong??? any ideas?? Daren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message