bug-ncurses
[Top][All Lists]
Advanced

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

Re: Ada build problem with 6.5.20240504


From: Thomas Dickey
Subject: Re: Ada build problem with 6.5.20240504
Date: Mon, 6 May 2024 15:20:14 -0400

On Mon, May 06, 2024 at 07:18:33AM -0500, G. Branden Robinson wrote:
> Hi Thomas,
> 
> This isn't perfectly reproducible; a repeated attempt tends to succeed.
> 
> I use "make -j".[1]  My guess is that a dependency is missing in
> Ada95/examples/Makefile.

hmm - I've been using gprbuild where it's available (which Debian usually
has), and would overlook some cases where it's not used.
 
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-flushinp_test.adb
> x86_64-linux-gnu-gnatbind-10 -aO. -aO../src -aO./../src -x tour.ali
> x86_64-linux-gnu-gnatlink-10 tour.ali -L../lib -lAdaCurses -L../../lib 
> -lformw -lmenuw -lpanelw -lncursesw -ldb -ldb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-getch_test.adb
> /usr/bin/ld: cannot find -lAdaCurses
> collect2: error: ld returned 1 exit status
> x86_64-linux-gnu-gnatlink-10: error when calling 
> /usr/bin/x86_64-linux-gnu-gcc-10
> gnatmake: *** link failed.
> make[2]: *** [Makefile:165: tour] Error 4
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-getopt.adb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-menu_test.adb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-overlap_test.adb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-slk_test.adb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-test_sgr_attributes.adb
> x86_64-linux-gnu-gcc-10 -c -I. -I../src -I./../src -gnatpn -O2 -I. 
> ncurses2-trace_set.adb
> x86_64-linux-gnu-gnatbind-10 -aO. -aO../src -aO./../src -x ncurses.ali
> x86_64-linux-gnu-gnatlink-10 ncurses.ali -L../lib -lAdaCurses -L../../lib 
> -lformw -lmenuw -lpanelw -lncursesw -ldb -ldb
> /usr/bin/ld: cannot find -lAdaCurses
> collect2: error: ld returned 1 exit status
> x86_64-linux-gnu-gnatlink-10: error when calling 
> /usr/bin/x86_64-linux-gnu-gcc-10
> gnatmake: *** link failed.
> make[2]: *** [Makefile:162: ncurses] Error 4
> make[2]: Leaving directory '/.../ncurses-snapshots/Ada95/samples'
> make[1]: *** [Makefile:85: all] Error 2
> make[1]: Leaving directory '/.../ncurses-snapshots/Ada95'
> make: *** [Makefile:143: all] Error 2
> 
> Regards,
> Branden
> 
> [1] My build script is pretty simple.
> 
> $ cat ./ATTIC/remake-ncurses.sh
> #!/bin/sh
> 
> make distclean
> config-ncurses && make -j10 && make install && groan
> 
> ("groan" is a program that makes noise so I know the build is done,
> since the window in which it's taking place usually isn't visible
> because I move on to other things.)



-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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