[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error building ncurses under cygwin and Windows XP
From: |
Thomas Dickey |
Subject: |
Re: Error building ncurses under cygwin and Windows XP |
Date: |
Sat, 22 Nov 2008 10:56:12 -0500 (EST) |
On Fri, 21 Nov 2008, Mike Dennison wrote:
Using cygwin to build ncurses with Windows XP SP3, I get this error.? Please
help me understand how to overcome it.? Thanks.
gnatmake -a -A. -A../src -A./../src rain -cargs -O3 -gnatpn? -I. -largs
-L../../lib -lform -lmenu -lpanel -lncurses?????? -lAdaCurse
s
gcc -c -I. -I../src -I./../src -O3 -gnatpn -I. rain.adb
status.ads:55:56: "SIGINT" not declared in "Names"
gnatmake: "rain.adb" compilation error
make[2]: *** [rain.exe] Error 4
make[2]: Leaving directory `/home/dennison/ncurses-5.7/Ada95/samples'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dennison/ncurses-5.7/Ada95'
make: *** [all] Error 2
I should have added the fix for this to the INSTALL file, since it's
a bug in the gnat port which is easily fixed _there_, but hard to fix
_here_. On my system, I fixed it in
/usr/lib/gcc/i686-pc-cygwin/3.4.4/adainclude
This change makes it compile:
--- a-intnam.ads.orig 2003-10-21 13:41:51.000000000 +0000
+++ a-intnam.ads 2007-05-05 22:40:02.609375000 +0000
@@ -44,5 +44,6 @@
DUMMY_INTERRUPT_1 : constant Interrupt_ID := 1;
DUMMY_INTERRUPT_2 : constant Interrupt_ID := 2;
+ SIGINT : constant Interrupt_ID := 1;
end Ada.Interrupts.Names;
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net