[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Compile Problems on solaris 5.8 with Sun-cc
From: |
Juergen Henge-Ernst |
Subject: |
[Help-gsl] Compile Problems on solaris 5.8 with Sun-cc |
Date: |
Thu, 17 Mar 2005 14:23:52 +0100 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.2-cvs) |
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:
[....]
Making all in cdf
Making all in wavelet
/bin/bash ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-g
-c -o dwt.lo `test -f 'dwt.c' || echo './'`dwt.c
rm -f .libs/dwt.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -c dwt.c -KPIC -DPIC -o dwt.o
*** Error code 1
*** Error code 1
*** Error code 1
"dwt.c", line 61: identifier redeclared: dwt_step
current : static function(pointer to const struct {pointer to cons
t
struct {..} type, pointer to const double h1, pointer to const double g1,
pointer to const double h2, pointer to const double g2, unsigned int nc,
unsigned int offset}, pointer to double, unsigned int, unsigned int, enum
{backward(-1), forward(1)}, pointer to struct {pointer to double scratch,
unsigned int n}) returning void
previous: function(pointer to const struct {pointer to const struc
t
{..} type, pointer to const double h1, pointer to const double g1, pointer
to
const double h2, pointer to const double g2, unsigned int nc, unsigned int
offset}, pointer to double, unsigned int, unsigned int, int, pointer to str
uct
{pointer to double scratch, unsigned int n}) returning void : "dwt.c", line
32
"dwt.c", line 123: warning: end-of-loop code not reached
"dwt.c", line 128: warning: end-of-loop code not reached
"dwt.c", line 191: warning: end-of-loop code not reached
"dwt.c", line 196: warning: end-of-loop code not reached
"dwt.c", line 201: warning: end-of-loop code not reached
"dwt.c", line 245: warning: end-of-loop code not reached
"dwt.c", line 250: warning: end-of-loop code not reached
"dwt.c", line 255: warning: end-of-loop code not reached
cc: acomp failed for dwt.c
make: Fatal error: Command failed for target `dwt.lo'
Current working directory /var/tmp/a101j34/gsl-1.6/wavelet
make: Fatal error: Command failed for target `all-recursive'
Current working directory /var/tmp/a101j34/gsl-1.6
make: Fatal error: Command failed for target `all'
Is this a bug in the Sun C-Compiler or a C-Code issue, because with a gcc i
t
compiles perfect?
Thx
Jürgen Henge-Ernst
--
interexa AG internet solutions
Jürgen Henge-Ernst
An der Fahrt 13
D-55124 Mainz
Tel +49-(0)-6131-14407 42
Fax +49-(0)-6131-14407 01
eMail address@hidden
Internet http://www.interexa.de
- [Help-gsl] Compile Problems on solaris 5.8 with Sun-cc,
Juergen Henge-Ernst <=