Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: posting-list AT MailAndNews DOT com (Jari Aalto) To: cygwin AT sourceware DOT cygnus DOT com Subject: MySQL and Apache 2.x compile: SIG_DFL' undeclared Keywords: signals,make,function,sig,usr,error,src,undeclared X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/ http://home.eu.org/~jari/homepage.html. ICQ 'jari-aalto' 82313129 PGP 2.6.x keyid 47141D35 http://www.pgpi.net/ Date: Sat, 01 Dec 2001 17:20:03 +0200 Message-ID: <4rnbx90c.fsf@blue.sea.net> Lines: 56 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-*-nt5.0.2195) (i386-*-nt5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Does anyone how could this error be fixed? Looking at the /usr//include/signal.h look okay to me. 13 #define SIG_DFL ((void (*)(int))0) /* Default action */ 14 #define SIG_IGN ((void (*)(int))1) /* Ignore action */ 15 #define SIG_ERR ((void (*)(int))-1) /* Error return */ 16 #else 17 #define SIG_DFL ((void (*)())0) /* Default action */ 18 #define SIG_IGN ((void (*)())1) /* Ignore action */ 19 #define SIG_ERR ((void (*)())-1) /* Error return */ -- Apache (latest) make[3]: Entering directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' make[4]: Entering directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' /bin/sh /usr/src/httpd-2_0_28/srclib/apr/libtool --silent --mode=compile gcc - static -Wall -Wno-format -Wstrict-prototypes -Wmissing-prototypes -mwindows -I/l ib -DHAVE_CONFIG_H -DCYGWIN -I../../include -I../../include/arch/unix -c proc .c && touch proc.lo proc.c: In function `apr_proc_create': proc.c:320: `SIG_DFL' undeclared (first use in this function) proc.c:320: (Each undeclared identifier is reported only once proc.c:320: for each function it appears in.) make[4]: *** [proc.lo] Error 1 make[4]: Leaving directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/httpd-2_0_28/srclib/apr/threadproc/unix' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/httpd-2_0_28/srclib/apr' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/httpd-2_0_28/srclib' -- MySQL (latest) gcc -DUNDEF_THREADS_HACK -DHAVE_CONFIG_H -I./../include -I./.. -I.. -O3 -DDBUG_OFF -static -Wall -Wno-format -Wstrict-prototypes -Wmissing-prototypes -mwindows -I/lib -c signals.c In file included from signals.c:37: signals.c: In function `rl_sigwinch_handler': signals.c:206: `SIG_IGN' undeclared (first use in this function) signals.c:206: (Each undeclared identifier is reported only once signals.c:206: for each function it appears in.) signals.c:206: `SIG_DFL' undeclared (first use in this function) signals.c: At top level: signals.c:231: warning: function declaration isn't a prototype signals.c:251: warning: function declaration isn't a prototype signals.c: In function `rl_maybe_set_sighandler': signals.c:260: `SIG_IGN' undeclared (first use in this function) signals.c: In function `rl_set_signals': signals.c:277: `SIG_IGN' undeclared (first use in this function) signals.c:284: `SIG_DFL' undeclared (first use in this function) make[2]: *** [signals.o] Error 1 make[2]: Leaving directory `/usr/src/mysql-3.23.43/readline' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/mysql-3.23.43' make: *** [all-recursive-am] Error 2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/