comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Erdmann <Michael.Erdmann@snafu.de>
Subject: GNAT Linker works sometimes and sometimes not with project files
Date: Tue, 24 Feb 2004 18:59:44 +0100
Date: 2004-02-24T18:59:44+01:00	[thread overview]
Message-ID: <pan.2004.02.24.17.59.40.712377@snafu.de> (raw)

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 ':
/......



             reply	other threads:[~2004-02-24 17:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 17:59 Michael Erdmann [this message]
2004-02-24 21:19 ` GNAT Linker works sometimes and sometimes not with project files Simon Wright
2004-02-25 16:26   ` Michael Erdmann
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox