Linking Error when using Ada.Numerics.Generic_Real_Arrays package

This is a discussion on Linking Error when using Ada.Numerics.Generic_Real_Arrays package within the ADA forums in Programming Languages category; 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 ...

Go Back   Application Development Forum > Programming Languages > ADA

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-11-2008, 04:43 PM
AAFellow@hotmail.com
Guest
 
Default Linking Error when using Ada.Numerics.Generic_Real_Arrays package

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
Reply With Quote
  #2  
Old 11-11-2008, 05:27 PM
Jeffrey R. Carter
Guest
 
Default Re: Linking Error when using Ada.Numerics.Generic_Real_Arrays package

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
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 12:23 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.