comp.lang.ada
 help / color / mirror / Atom feed
* Linking Error when using Ada.Numerics.Generic_Real_Arrays package
@ 2008-11-11 21:43 AAFellow
  2008-11-11 22:27 ` Jeffrey R. Carter
  0 siblings, 1 reply; 4+ messages in thread
From: AAFellow @ 2008-11-11 21:43 UTC (permalink / raw)


Hello,

I am writing a program that uses the Ada.Numerics.Generic_Real_Arrays
package.  I use the Real_Vector data type, as well as the *
(vector*vector as well as scalar*vector) , +,  and - functions.

Upon linking, I get errors in System.Generic_Real_BLAS and
System.Generic_Real_LAPACK packages.   In the first file, I am getting
undefined references to sdot_, sgemm_, sgemv_, and snrm2_.  In the
second file, I am getting errors for undefined references to sgetrf_,
sgetri_, sgetrs_, sorgtr_, ssteqr_, ssterf_, and ssytrd_.

I am using GNAT Pro 6.0.1.  Does the compiler not support the use of
the Ada.Numerics.Generic_Real_Arrays package?  Is there anything that
can be done to make this work?

Thanks!!

AAFellow



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking Error when using Ada.Numerics.Generic_Real_Arrays package
  2008-11-11 21:43 Linking Error when using Ada.Numerics.Generic_Real_Arrays package AAFellow
@ 2008-11-11 22:27 ` Jeffrey R. Carter
  2008-11-12  6:15   ` christoph.grein
  2008-11-13 14:36   ` Samuel Tardieu
  0 siblings, 2 replies; 4+ messages in thread
From: Jeffrey R. Carter @ 2008-11-11 22:27 UTC (permalink / raw)


AAFellow@hotmail.com wrote:
> 
> I am using GNAT Pro 6.0.1.  Does the compiler not support the use of
> the Ada.Numerics.Generic_Real_Arrays package?  Is there anything that
> can be done to make this work?

If you have GNAT Pro, you should have a support agreement with AdaCore. Why not 
ask them?

-- 
Jeff Carter
"We use a large, vibrating egg."
Annie Hall
44



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking Error when using Ada.Numerics.Generic_Real_Arrays package
  2008-11-11 22:27 ` Jeffrey R. Carter
@ 2008-11-12  6:15   ` christoph.grein
  2008-11-13 14:36   ` Samuel Tardieu
  1 sibling, 0 replies; 4+ messages in thread
From: christoph.grein @ 2008-11-12  6:15 UTC (permalink / raw)


On 11 Nov., 23:27, "Jeffrey R. Carter"
<spam.jrcarter....@spam.acm.org> wrote:
> If you have GNAT Pro, you should have a support agreement with AdaCore. Why not
> ask them?

Right.

Just for the record: I also have GNAT Pro 6.0.1 - it's missing the
library libgnalasup.a which is not included by mistake. Just get it
from AdaCore and place it in the standard library directory (the
command "gnatls -v" shows this under the heading "Object Search
Path"); you also need the linker options "-lgnalasup -lm".

(GNAT Pro 6.1.1. has it.)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Linking Error when using Ada.Numerics.Generic_Real_Arrays package
  2008-11-11 22:27 ` Jeffrey R. Carter
  2008-11-12  6:15   ` christoph.grein
@ 2008-11-13 14:36   ` Samuel Tardieu
  1 sibling, 0 replies; 4+ messages in thread
From: Samuel Tardieu @ 2008-11-13 14:36 UTC (permalink / raw)


>>>>> "Jeffrey" == Jeffrey R Carter <spam.jrcarter.not@spam.acm.org> writes:

Jeffrey> If you have GNAT Pro, you should have a support agreement
Jeffrey> with AdaCore. Why not ask them?

GNAT Pro may have been obtained originally from AdaCore, but can be
redistributed to others (who may not have a support contract).
Or isn't GNAT Pro GPL anymore?
 
 Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-13 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-11 21:43 Linking Error when using Ada.Numerics.Generic_Real_Arrays package AAFellow
2008-11-11 22:27 ` Jeffrey R. Carter
2008-11-12  6:15   ` christoph.grein
2008-11-13 14:36   ` Samuel Tardieu

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