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=0.5 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,830f3173ec638a89,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-24 10:00:10 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!news.eusc.inter.net!boavista.mydomain.de!news From: Michael Erdmann Newsgroups: comp.lang.ada Subject: GNAT Linker works sometimes and sometimes not with project files Date: Tue, 24 Feb 2004 18:59:44 +0100 Organization: http://www.snafu.de/~boavista Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.eusc.inter.net 1077645609 5008 213.73.70.76 (24 Feb 2004 18:00:09 GMT) X-Complaints-To: abuse@eusc.inter.net User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:5766 Date: 2004-02-24T18:59:44+01:00 List-Id: I have a strange situation. When i use project files, the gnatmake generates a command string for gnatlink which failes to resolve external references into a library. When i execute the same command manually the command line is building the executable. Any idea what the problem could be (see below). Second of all what if causing the "completed ...." message! gnatmake -gnatf -I/projects/gnade/gnade/linux-gnu-i686-include - -XTARGET=/projec ts/gnade/gnade/linux-gnu-i686-lib -XBINARIES=/projects/gnade/gnade/linux-gnu-i68 6-bin -XINCLUDE=/projects/gnade/gnade/linux-gnu-i686-include -XLIBS="-L/projects /gnade/gnade/linux-gnu-i686-lib -lgnadeesql -lgnadeaux -L/usr/lib -lodbc" -d -Ptools.gpr completed 1 out of 5 (20%)... completed 2 out of 5 (40%)... completed 3 out of 18 (16%)... completed 4 out of 18 (22%)... .... completed 39 out of 42 (92%)... completed 40 out of 42 (95%)... completed 41 out of 42 (97%)... completed 42 out of 42 (100%)... gnatbind -shared -aO/projects/gnade/gnade/linux-gnu-i686-include -x exp.ali gnatlink -g -L/projects/gnade/gnade/linux-gnu-i686-lib -lgnadeesql -lgnadeaux -L/usr/lib -lodbc -o /projects/gnade/gnade/linux-gnu-i686-bin/exp exp.ali ./gnu-db-sqlcli.o(.text+0x2001): In function `gnu__db__sqlcli__sql_error_message ': /......