This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: another blas_cblas bug???


"Robert H. Miller" wrote:
> 
> Since I couldn't find the HAVE_CBLAS flag I just went ahead and
> includeed. it.  I had to comment out where cblas.h does the enum defines
> like in gsl_blas_types.h.  I have attached the cblas.h file I am using.
> I also get the following errors.

Hi. Where did you get your cblas implementation, and which version
of GSL are you using? Also, it looks like you left off the
attachment of "cblas.h"; at least it didn't make it here.
Please send it again, I will need to look at it.

The business with the enum declarations is something which changed
in the cblas draft standard over the last year, so I think that
incompatibility means that you either have an old cblas or an old GSL.

The HAVE_CBLAS thing doesn't work yet since we are still not sure about
the best way to do this. Sorry.

Thanks.

--
G. Jungman


> /*
>  * Author:  G. Jungman
>  * RCS:     $Id: gsl_blas_raw.h,v 1.8 1999/10/15 00:04:12 jungman Exp $
>  */
> /* Raw BLAS interface for row-major matrices.
>  * Based on draft BLAST C interface specification  [Jul 7 1998]
>  */
> #ifndef GSL_BLAS_RAW_H
> #define GSL_BLAS_RAW_H
> 
> #include <gsl_blas_raw_L1.h>
> #include <gsl_blas_raw_L2.h>
> #include <gsl_blas_raw_L3.h>
> 
> #include <cblas.h>
> #if defined(HAVE_INLINE) && defined(HAVE_CBLAS)
> #include <cblas.h>
> 
> /* insert inline cblas implementation of above here */
> 
> #endif /* defined(HAVE_INLINE) && defined(HAVE_CBLAS) */
> 
> #endif /* !GSL_BLAS_RAW_H */
> 
> blas_raw_cblas.c: In function `gsl_blas_raw_cher':
> blas_raw_cblas.c:1037: incompatible type for argument 4 of `cblas_cher'
> blas_raw_cblas.c:1037: warning: passing arg 5 of `cblas_cher' makes
> pointer from integer without a cast
> blas_raw_cblas.c:1037: warning: passing arg 6 of `cblas_cher' makes
> integer from pointer without a cast
> blas_raw_cblas.c:1037: warning: passing arg 7 of `cblas_cher' makes
> pointer from integer without a cast
> blas_raw_cblas.c:1037: too few arguments to function `cblas_cher'
> blas_raw_cblas.c: In function `gsl_blas_raw_zher':
> blas_raw_cblas.c:1047: incompatible type for argument 4 of `cblas_zher'
> blas_raw_cblas.c:1047: warning: passing arg 5 of `cblas_zher' makes
> pointer from integer without a cast
> blas_raw_cblas.c:1047: warning: passing arg 6 of `cblas_zher' makes
> integer from pointer without a cast
> blas_raw_cblas.c:1047: warning: passing arg 7 of `cblas_zher' makes
> pointer from integer without a cast
> blas_raw_cblas.c:1047: too few arguments to function `cblas_zher'
> make: *** [blas_raw_cblas.o] Error 1
> [root@alcatraz blas]#
> 
> 
> ---------------------------------------------------------------------
> Robert H. Miller                                Office: (734)764-6573
> University of Michigan  Aerospace Engineering   Lab:    (734)764-5740
> 1320 Beal FXB 2022      Ann Arbor, MI 48109     Fax:    (734)763-0578

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]