bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build error on cygwin fixed


From: Yakov Lerner
Subject: build error on cygwin fixed
Date: Sun, 26 Jan 2003 00:47:41 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

Hello,
I just downloaded and built gnu m4 on cygwin.
However, I had to patch m4.c to avoid following error:

  gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib  -g -O m4.c
  m4.c: In function `main':
  m4.c:447: `SIG_IGN' undeclared (first use in this function)
  m4.c:447: (Each undeclared identifier is reported only once

The fix is to add '#include <signal.h>' to m4.c
Apparently, in cygwin, '<sys/signal.h>' is not the same as 'signal.h'

Regards

Jacob Lerner





reply via email to

[Prev in Thread] Current Thread [Next in Thread]