Subject: Re: Spurious(?) SEGV compiler errors?
To: None <current-users@NetBSD.org>
From: Havard Eidnes <he@NetBSD.org>
List: current-users
Date: 12/13/2007 11:45:33
> Also see the thread in port-i386, "fftw_test failing on Core 2 Duo/GE=
NERIC.MP"
> which seems to be exhibiting the same symptoms.
OK. At least I'm able to fetch the distfile there.
However, I appear to be unable to build the package -- all I get
is
...
spspopcnt:
ffts.c:106: error: conflicting types for 'spscrform_'
ffts.c:19: error: previous declaration of 'spscrform_' was here
ffts.c:423: error: conflicting types for 'spscrble1_'
ffts.c:15: error: previous declaration of 'spscrble1_' was here
ffts.c:555: error: conflicting types for 'spsrtock2_'
ffts.c:465: error: previous declaration of 'spsrtock2_' was here
ffts.c:678: error: conflicting types for 'spsrtock3_'
ffts.c:467: error: previous declaration of 'spsrtock3_' was here
ffts.c:765: error: conflicting types for 'spsrable1_'
ffts.c:464: error: previous declaration of 'spsrable1_' was here
ffts.c:803: error: conflicting types for 'spsrconv1_'
ffts.c:467: error: previous declaration of 'spsrconv1_' was here
ffts.c:854: error: conflicting types for 'spsrconv2_'
ffts.c:468: error: previous declaration of 'spsrconv2_' was here
ffts.c:1231: error: conflicting types for 'spscable2_'
ffts.c:908: error: previous declaration of 'spscable2_' was here
gmake: *** [f_source/sciport/ffts.o] Error 1
*** Error code 2
It's slightly problematic to find which part of the fortran code
is responsible for these errors.
I see that pkgsrc appears to insist on using f2c as the fortran
compiler. Is there a way for it to be told to try to use
gcc3-f77 (which I've also installed), and would it have a better
chance at compiling this?
Regards,
- H=E5vard