Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 3 Oct 2004 23:36:58 +0200 From: "Gerrit P. Haase" Reply-To: "Gerrit @ cygwin" Organization: Esse keine toten Tiere Message-ID: <54441571.20041003233658@familiehaase.de> To: Miguel Cuesta CC: cygwin AT cygwin DOT com Subject: Re: `SIG_IGN' undeclared: Error when 'make' an application In-Reply-To: <712d935b041003141065122035@mail.gmail.com> References: <712d935b041003141065122035 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hallo Miguel, Am Sonntag, 3. Oktober 2004 um 23:10 schriebst du: > Hi. > Trying to install m4-1.4.2 (http://savannah.gnu.org/projects/m4/) > on Cygwin (MS Windows 2000) > When trying to 'make', I get this error message: > ------------------------------- > make[1]: Entering directory `/home/root/m4-1.4.2/src' > gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O2 m4.c > m4.c: In function `main': > m4.c:451: error: `SIG_IGN' undeclared (first use in this function) > m4.c:451: error: (Each undeclared identifier is reported only once > m4.c:451: error: for each function it appears in.) > make[1]: *** [m4.o] Error 1 > make[1]: Leaving directory `/home/root/m4-1.4.2/src' > make: *** [all] Error 1 > --------------------------- > Any suggestion? diff -urN -x .build -x .inst -x .sinst m4-1.4.2-orig/src/m4.c m4-1.4.2/src/m4.c --- m4-1.4.2-orig/src/m4.c 2004-08-21 12:29:00.000000000 +0200 +++ m4-1.4.2/src/m4.c 2004-09-19 23:41:05.070438400 +0200 @@ -21,7 +21,11 @@ #include "m4.h" #include +#ifndef __CYGWIN__ #include +#else /* __CYGWIN__ */ +#include +#endif /* __CYGWIN__ */ static void usage _((int)); -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/