comp.lang.ada
 help / color / mirror / Atom feed
* Statically Linking with GNU Ada
@ 1999-07-20  0:00 LDRA Technical Support
  0 siblings, 0 replies; only message in thread
From: LDRA Technical Support @ 1999-07-20  0:00 UTC (permalink / raw)


Hi,

We have a user who is experiencing the following problem when trying to run
one
of our Ada modules on their SGI platform.

9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__device_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__use_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__data_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__end_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__name_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: constraint_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: ada__io_exceptions__status_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Error: unresolvable symbol in
/home/grubbs/Ada_CD/adastat: storage_errorEX
9002481:/home/grubbs/Ada_CD/adastat: rld: Fatal Error: this executable has
unresolvable symbols

We have assumed that this is due to the fact that the module is not
statically linked
and have therefore put our efforts in this direction. The module itself is
built with
SGI's Ada '95 compiler. Our user has the ACT gnat/Ada95 compiler installed
on their SGI
node.

The spec and body files are compiled into a library with the following
command:

gcc -static <filename>

Using this library, the executable is then built with gnatmake as follows:

gnatmake <package name> -o <executable name>

We would be grateful if someone could:

a) Confirm our diagnosis of the problem

b) Provide details of how we can generate a statically linked Ada executable
with
   GNU Ada.

TIA,


Ian.


ijh@ldra.com








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-20  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-20  0:00 Statically Linking with GNU Ada LDRA Technical Support

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