From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Undefined reference errors and strange new files appearing Date: Sun, 22 Jun 2014 21:43:55 +0100 Organization: A noiseless patient Spider Message-ID: References: <1mzn30tk739yc.1xe0abn3udzik.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="09a3d9cee9266239e5bbed6e5ce10563"; logging-data="22918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rQIy9HyVK/WVdM+f7tndEyAZIXuJED54=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:hbjBzRFgOo5JjP491c8pggth4SU= sha1:5+0OYm4uFhcyoV9vQtfdBhHsGI8= Xref: news.eternal-september.org comp.lang.ada:20528 Date: 2014-06-22T21:43:55+01:00 List-Id: "Dmitry A. Kazakov" writes: > Did you build your library? Usually, when using a library as an OS > library, you need two projects, one in order to build the library and > another to use it. And OP has two projects, and the log he supplies shows that gnatmake has correctly decided to * compile the test program using the test gpr * build the library using the library gpr * link the test program.using the test gpr This is standard behaviour (now, at any rate; it may well have been less helpful in the past ...); I don't see where the failures are coming from.