[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Compile Problems on solaris 5.8 with Sun-cc
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] Compile Problems on solaris 5.8 with Sun-cc |
Date: |
Thu, 17 Mar 2005 18:28:14 +0000 |
Juergen Henge-Ernst writes:
> Hi, when I try to compile the gsl 1.6 on a Solaris 5.8 with
> Patchlevel 108528-23 with the cc: Sun WorkShop 6 update 1 C 5.2
> 2000/09/11 I get the folloing error:
> *** Error code 1 "dwt.c", line 61: identifier redeclared: dwt_step
Thanks for the email. There is a small bug there, which should be
fixed if you use the patch below.
--
Brian Gough
Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/
Index: dwt.c
===================================================================
RCS file: /home/gsl-cvs/gsl/wavelet/dwt.c,v
retrieving revision 1.2
diff -u -r1.2 dwt.c
--- dwt.c 24 Dec 2004 13:24:23 -0000 1.2
+++ dwt.c 17 Mar 2005 14:15:13 -0000
@@ -29,8 +29,7 @@
#define ELEMENT(a,stride,i) ((a)[(stride)*(i)])
static int binary_logn (const size_t n);
-static void dwt_step (const gsl_wavelet * w, double *a, size_t stride,
- size_t n, int isign, gsl_wavelet_workspace * work);
+static void dwt_step (const gsl_wavelet * w, double *a, size_t stride, size_t
n, gsl_wavelet_direction dir, gsl_wavelet_workspace * work);
static int
binary_logn (const size_t n)